Le 08-01-2015 05:06, Pierre Labastie a écrit :
> Le 08/01/2015 03:44, [email protected] écrit : > >> Hi! when I boot, it fails with '.... unable to mount root fs on unknown >> block 0,0 [...] > >> ----------------------LFS------------------------------------------------------------------------------------------- >> /dev/sda8 9,9G 2,3G 7,1G 25% /mnt/lfs */dev/sda7 97M 9,6M 83M 11% >> /mnt/lfs/boot* /dev/sda9 3,0G 69M 2,8G 3% /mnt/lfs/var /dev/sda10 5,0G 840M >> 3,9G 18% /mnt/lfs/usr udev 10M 0 10M 0% /mnt/lfs/dev tmpfs 982M 0 982M 0% >> /mnt/lfs/run to boot the LFS, I add a new entry in /etc/grub.d/40_custom of >> the host, then ran update-grub menuentry "LFS 7.6 on sda7" { insmod ext2 set >> root='(hd0,7)' echo 'Chargement de Linux LFS...' linux >> /vmlinuz-3.16.2-lfs-7.6 root=/dev/sda7 ro echo 'Chargement de Linux LFS...' } > > As far as I understand your setup you should keep: > insmod part_gpt > > and the "linux" line should be: > linux /vmlinuz-3.16.2-lfs-7.6 root=/dev/sda8 ro > > But that does not explain the error you see. > You may be missing some switches in the kernel config, concerning either > your disk hardware (with standard ATA disks, you need to enable several > switches in "Serial ATA and Parallel ATA drivers"), or the GPT partition > scheme (you need "EFI GUID partition support", maybe the first thing to > check). > > Pierre The "linux" line should be: linux /vmlinuz-3.16.2-lfs-7.6 root=/dev/sda7 ro since it's the boot partition, sda8 is / .As you tell, I have to check the EFI GUID partition support. The motherboard is an old one with a VIA chipset, so I marked CONFIG_PATA_VIA and not CONFIG_SATA_VIA Thanks Pierre
-- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
