Pierre Labastie wrote: > Le 14/03/2012 00:34, Bruce Dubbs a écrit : >> OK, try the updated scripts I just committed when you get a chance. >> >> -- Bruce > Sorry it took some time because I had a few errors in my kernel config > (like not enabling devtmpfs, shame on me, and a problem with the radeon > driver, which was giving a black screen, not easy to debug). > > The mkinitramfs script lacks the most important (for LVM) symlink : > > ln -s lvm $WDIR/sbin/vgchange
OK, that's easy enough to fix. > Also, it might be interesting/necessary to copy the content of /lib/firmware > to $WDIR. That directory has always been empty for me. What populates it? I've always thought of that directory to be for specialized video cards. That's not needed for BLFS to mount the root file system (the sole purpose of the initramfs). Is there another use? > In the init.in script: > Not needed (automatically created by devtmpfs): > mknod -m 640 /dev/console c 5 1 > mknod -m 664 /dev/null c 1 3 Do you have any idea where that's done? I looked in the source for the kernel and util-linux, but can't find it. > and udev seems to be not needed either (at least for LVM, > do not know for raid): vgchange -ay automatically > creates the special files and symlinks in /dev. If we were mounting a usb drive as the rootfs, I think it would be needed to populate /dev. I'm not sure though. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
