Results 1 to 5 of 5
Hi,
Last night i was installing Gentoo ,as i came to the kernel-part i turned the computer off.
Now that i'm trying to continue where i left off i'm having ...
- 04-01-2007 #1Just Joined!
- Join Date
- Apr 2007
- Posts
- 1
chroot into the system
Hi,
Last night i was installing Gentoo ,as i came to the kernel-part i turned the computer off.
Now that i'm trying to continue where i left off i'm having trouble chroot into my system from the minimum cd. When i enter the command...
...i get...Code:# chroot /mnt/gentoo /bin/bash
I have check /bin ,and 'bash' is there.Code:chroot: cannot run command '/bin/bash' : No such file or directory
Is there something i have to do before entering the chroot command ,am i doing something wrong or did i mess up bigtime and there is no way to return to the installation?
- 04-02-2007 #2Just Joined!
- Join Date
- Jan 2007
- Posts
- 2
Hi!
These things you have to do again:
mount your partition to /mnt/gentoo
swapon
mount the /proc and /dev
Then you can chroot
I'm just trying gentoo also but i'm having trouble compiling the kernel...
Let me know how you did...
- 04-02-2007 #3as ajje said, you need to mount the gentoo partitions first to /mnt/gentoo. Make sure u mount all partitions you may have created, so /, /boot, /home etc, also making sure any other partitions like /boot are mounted to /mnt/gentoo/boot as earlier in the manual.
Originally Posted by naturalselection
The reason for this is the /bin/bash in the chroot command here, refers to /bin/bash in the chroot environment. It is not the /bin/bash in the host system."I am not an alcoholic, alcoholics go to meetings"
Registered Linux user = #372327
- 04-09-2007 #4Just Joined!
- Join Date
- Jun 2006
- Posts
- 4
I'm having the same problem chroot. I'm trying to make me a sandbox/jail. all I have don't is installed the coreutils and bash, in to a folder called /sandbox, everything seems to be in the right location, but it gives me the same error.

this is how I have it
/sandbox/bin/bash
then i "chroot /sandbox"
I've have boot knoppix in the past and done it will my filesystem.
- 04-09-2007 #5Just Joined!
- Join Date
- Jun 2006
- Posts
- 4
never mind, it would help if I had the libs install too


Reply With Quote
