Le 08-01-2015 17:30, Bruce Dubbs a écrit :
> [email protected]: > Le 08-01-2015 16:29, Armin K. a écrit : On 01/08/2015 09:20 PM, > [email protected]: Ok, I got a configuration file with only entries > for LSF. Assuming that I don't install grub from root, should I paste one > from the menuentries in the /boot/grub.d/grub.cfg of the host? The first > message of this thread contained a, as you described, non-working menu entry > for GRUB (doesn't matter which GRUB installation in this case). 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...' } The command I told you should (hopefully) provide you with > the working and correct one. Paste it wherever the one above was added. Also, > fix your mailing system. Your replies are horrible to read, don't properly > mark the text you are responding to and screw up mail formatting in every > possible way. I pasted an 'df -h' output, so it messed up the mail. I added the generated menuentries. No way, it still failed. I go back to the tutorial step by step. I will install grub, then I will add an entry for the host system When I read your first post to this thread, your error message is unable to mount root fs on unknown block 0,0 That means that grub is finding the kernel (or at least a kernel) named vmlinuz-3.16.2-lfs-7.6. There are two reasons why you get the above error message: 1. The root=/dev/sda7 part of the linux line is wrong. From other messages in the thread, it appears that this should be root=/dev/sda8. 2. The kernel does not have the proper drivers built in. The most common way to get the correct drivers is to build the kernel with 'make defconfig && make' After you get a base install running, you can go back and customize the kernel according to your desires. -- Bruce let clarify some points /dev/sda7 is mounted on /boot /dev/sda8 is mounted on / /dev/sda9 /var /dev/sda10 /usr the previous sda[x] are my host system. The first time i wrote 'linux /vmninuz ..... root=/dev/sda7. P Labastie corrected my mistake I ran make defconfig. But before running make, I've enabled about 15/20 options referring to my via chipset, nfs.and my cpu (an athlon xp 2200). 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
