Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1227 - /dev nodes not copied from boot environment to chrooted install environment
Summary: /dev nodes not copied from boot environment to chrooted install environment
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-18 17:28 UTC by Matt Beland
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Beland 2002-03-18 17:28:37 UTC
This is the specific example I have found:

Installation of Gentoo on Compaq DL-580 server requires usage of cciss.o kernel 
module to permit access to ServerRaid 53xx-controlled logical drives. When 
modprobing this module at the initial boot environment prompt, new device nodes 
are created:

/dev/cciss/disc0/disc
/dev/cciss/disc0/part1
etc.

Continuing with setup, everything proceeds normally, until it's time to install 
the bootloader. From within the chroot environment, /dev/cciss/* are not 
accessable because they've not been copied from the boot environment to the 
chrooted environment. 

I am not sure of a reliable method of resolving this issue. Installing the 
bootloader from the initial boot environment (ie, outside the chroot 
environment) does not appear to work properly, either because of the grub 
version provided or the file paths to the system (/mnt/gentoo/boot/grub/stage2 
instead of /boot/...) Will continue to search for a reliable workaround.
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-03-18 21:25:42 UTC
do this before you chroot:

mount --bind /dev /mnt/gentoo/dev

That will fix it.

Remember to "umount /mnt/gentoo/dev" before trying to umount /mnt/gentoo.