Sponsored links


Go Back   Sat Industry Forums > Dreambox > Dreambox Development
Register FAQ Members List Calendar Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-07-2006
jenkki700's Avatar
Registered User
 
Join Date: Jan 2005
Posts: 78
Thanks: 1
Thanked 0 Times in 0 Posts
jenkki700 is on a distinguished road
Chroot, does it work on dreambox? [Solved]

I'm trying to do a chroot in a telnet session on the dreambox, like
chroot /mnt/hdd
only to get
chroot: /bin/sh: No such file or directory

chroot /mnt/hdd /bin/ash doesn't work either.
It seems that chroot, sh and ash are all symbolic links pointing to busybox.
If chroot cannot be used on a dreambox, what is the point of having it in the busybox anyway?
-j

Dm500s, gemini 2.90

Last edited by jenkki700 : 07-07-2006 at 03:40 PM.
Reply With Quote
Sponsored links
  #2 (permalink)  
Old 07-07-2006
Registered User
 
Join Date: Sep 2004
Posts: 339
Thanks: 0
Thanked 0 Times in 0 Posts
noggie is on a distinguished road
Re: Chroot, does it work on dreambox?

chroot works perfectly on a dreambox...

The error message you get, I would guess, is probably caused by not having a /bin/sh (or supporting shared libraries) installed in your new root (/mnt/hdd/bin/sh and/or /mnt/hdd/lib)
Reply With Quote
  #3 (permalink)  
Old 07-07-2006
Registered User
 
Join Date: Feb 2005
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
CamouflageJJ is on a distinguished road
Re: Chroot, does it work on dreambox?

Quote:
Originally Posted by jenkki700
It seems that chroot, sh and ash are all symbolic links pointing to busybox
Choice when busybox compiled what linux cmds it can do, and those given a link to it instead of a binary. So some builds support some cmds, some not - choice of builder.

If bb binary was copied in from another build, then may be you have mismatch bb binary and links.

Quote:
busybox --help
... shows what binary was actually compiled to do.

If you the builder, see line in script which adds chroot to bb config for a build I was testing ...... and ...
Reply With Quote
  #4 (permalink)  
Old 07-07-2006
jenkki700's Avatar
Registered User
 
Join Date: Jan 2005
Posts: 78
Thanks: 1
Thanked 0 Times in 0 Posts
jenkki700 is on a distinguished road
Re: Chroot, does it work on dreambox?

Quote:
chroot works perfectly on a dreambox...

The error message you get, I would guess, is probably caused by not having a /bin/sh (or supporting shared libraries) installed in your new root (/mnt/hdd/bin/sh and/or /mnt/hdd/lib)
Ok, this explains it. I was stuck thinking that chroot tried to load shell from old enviroment while it was in fact missing a library in the new enviroment.
Tnx m8s for your replies.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Does anyone know how to get viaccess keys to work on a dreambox? i77 New Dreamers 0 03-01-2006 03:41 PM
Ti*an*um card don't work into dreambox with sf 3.2 runfo DB Images 7 06-01-2004 07:04 AM
File chroot not linked stefstef Plugins 32 03-23-2004 06:20 PM
Getting New Dreambox to work! apooch Tips, Tricks & Hints 19 09-01-2003 07:15 PM


All times are GMT +10. The time now is 08:00 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Page generated in 0.18843 seconds with 10 queries