[lfs-support] Cannot boot to LFS with seperate boot partition

Yasser Zamani yasser.zamani at live.com
Mon Jun 25 10:01:41 PDT 2012

On 6/25/2012 11:24 AM, Yasser Zamani


              root at slax:~# cat /mnt/sda7/grub/grub.cfg

              # Begin /boot/grub/grub.cfg

                set default=0

                set timeout=5

                # WHEN I SELECT THIS ENTRY
                      IT TELLS "error: no argument specified" BUT AFTER

                menuentry "Windows 7 (loader) (on /dev/sda3)" {

                    insmod part_msdos

                    insmod ntfs

                    set root='(hd0,msdos3)'

                    search --no-floppy --fs-uuid --set

                    chainloader +1




    I see at least one problem: Windows has a problem being on anything
    other than the first partition. I remember seeing somewhere that
    Grub has a way to trick bootmgr to think it's on the first
    partition, but I can't remember the method. Also, I didn't think
    that "msdos#" was used to define a partition that's FAT32 or NTFS.

    Thanks a lot Elly; Before LFS I had Debian in this system and I copied the Windows menuentry from that Debian installation where had not any "not argument..." message. Then I replaced the Debian installation with LFS however with completely different hard partitions structure and sizes (i.e. /etc/fstab). Do you know "search" and "chinloader" commands there? what will happen if I remove them? why this menuentry has two "insmod"s?!



FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20120625/b0dabf42/attachment.html>

More information about the lfs-support mailing list