In order for RAID / LVM / etc devices to work correctly when performing Gentoo install, for example installing grub, the devfs file system needs to be mounted in /mnt/gentoo/dev before chroot'ing into it. Reproducible: Always Steps to Reproduce: 1. Boot from livecd on machine with RAID controller 2. Peform install steps from handbook to Chapter 6 and chrooting 3. Try to install grub into a partition in /dev/ida/ Actual Results: device not found. Expected Results: before chroot: # mount -t devfs devfs /mnt/gentoo/dev
[PROBLEM] appears also WITHOUT Raid Systems e.g. lilo won't work properly (yes I'm oldfashioned ...) message : "/dev/ide/ ... /disc not found" so the device file for the alternative will not be found. [CURE] Alternative Solution to Original Post: > mount --bind /dev /mnt/gentoo/dev [WORKARROUND] you can manually cure it by making a few dir's and symlinks to all your hdd / sdd 's and their partitions ... [HINT] in the installation manual Section 10.d. the given umount commands when shutting down can be shortened to: > umount /mnt/gentoo /mnt/gentoo/* ... making the user not becoming confused ...
moving over to docs team
bah
Mounting devfs isn't needed for regular installations. RAID installations sometimes do (I didn't have any issues with my HP Array 5i controller though, using grub), but the bind-mounting isn't always valid. We provide device files by default during the installation.