> Date: Mon, 25 Jun 2012 23:57:45 -0600 > From: e_lio...@hotmail.com > To: lfs-support@linuxfromscratch.org > Subject: Re: [lfs-support] Cannot boot to LFS with seperate boot partition > > Hello, > > Errors like "error: no argument specified" usually point to something > missing. Try: > > search --no-floppy --fs-uuid --set=root 125c5cdd5c5cbd63 > Notice that '--set' needs the arguement '=root' in this case. > > If needed to 'trick' Windows into believing it is on the first > partition, add this line right above 'chainloader +1' : > > drivemap -s (hd0) ${root}
You're both genius, Ellies! As you recommended, following menuentry sorted the "no argument specified" out: menuentry "Windows 7 (loader) (on /dev/sda3)" { insmod part_msdos insmod ntfs set root='(hd0,msdos3)' search --no-floppy --fs-uuid --set=root 125c5cdd5c5cbd63 drivemap -s (hd0) ${root} chainloader +1 } Thank you very much, both Ellies specially Elly#2 ;) > Date: Tue, 26 Jun 2012 10:55:24 +0100 > From: a...@benton.eu.com > To: lfs-support@linuxfromscratch.org > Subject: Re: [lfs-support] Cannot boot to LFS with seperate boot partition > > Is there an ext3.mod? I only have ext2.mod but I find that I've never > needed to insmod anything, grub always does it automatically. Try > removing the insmod line. You have eagle eyes Andy! You're right. When I formatted the boot partition with ext3, I thought I should rewrite "insmod ext2" to "insmod ext3". But now, as you suggested, rolling back the mistake sorted "error: file not found" out as below: menuentry "GNU/Linux, Linux 3.4.1-lfs-SVN-20120617" { insmod ext2 set root=(hd0,7) linux /vmlinuz-3.4.1-lfs-SVN-20120617 root=/dev/sda6 ro } Thanks a lot Andy! > > Andy > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/lfs/faq.html > Unsubscribe: See the above information page
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page