http://www.gentoo.org/doc/en/gentoo-x86-install.xml Code listing 8.6: Prepping and entering the chroot environment # mount -t proc proc /mnt/gentoo/proc # cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf # chroot /mnt/gentoo /bin/bash # env-update Regenerating /etc/ld.so.cache... # source /etc/profile (The above points your shell to the new paths and updated binaries) --------------------------------------------------------------------- BUT, Ive seen in forums that the proper command is: mount -t bind proc proc /mnt/gentoo/proc --------------------------------------------------------------------- As a newbie, I'd really like to know which is correct Reproducible: Couldn't Reproduce Steps to Reproduce: # mount -t proc proc /mnt/gentoo/proc # cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf # chroot /mnt/gentoo /bin/bash # env-update Regenerating /etc/ld.so.cache... # source /etc/profile Actual Results: lots of "no - such file or directory" after proceeding through the install Expected Results: Remembered the new settings, ie- the mounting of files/directories shouldnt melt away I may be wrong about this one, maybe # mount -t proc proc /mnt/gentoo/proc # cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf # chroot /mnt/gentoo /bin/bash # env-update Regenerating /etc/ld.so.cache... # source /etc/profile is correct. and the reason I cant get installed is some other thing, like n00bieness please check it though Thanks
Bug 27585 claimed to be resolved- so why is it still in the x86 install.xml ? I've recently tried to install Gentoo 1.4 using Knoppix 3.2 and the Gentoo Alternative Installation Guide. When I only type: mount -t proc proc /mnt/gentoo/proc as suggested by the Installation Guide, I get errors of scripts unable to find /dev/null. And finally the bootstrap.sh will freeze. It can easily be fixed if the user runs mount -o bind /proc /mnt/gentoo/proc mount -o bind /dev /mnt/gentoo/dev
The x86 installation guide is written for people that use a LiveCD, not Knoppix. Knoppix is explained in the alternative installation guide (altinstall.xml) which has been indeed corrected with bug #27585. With the LiveCDs, you shouldn't use "mount -o bind"; with Knoppix, you should.
Marking this as invalid; x86-install isn't affected.