Near the finish line.

I've added a 41_lfs file to /etc/grub.d on my host system
41_lfs contains:
#!/bin/sh
exec tail -n +3 $0
menuentry "lfs" {
set root=(hd1,4)        
linux /boot/vmlinux-2.6.35.4-lfs-6.7
}

$update-grub
        returns:
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-26-generic
Found initrd image: /boot/initrd.img-2.6.32-26-generic
Found memtest86+ image: /boot/memtest86+.bin
Found unknown Linux distribution on /dev/sdb4
/etc/grub.d/README: 2: All: not found
/etc/grub.d/README: 4: 00_*:: not found
/etc/grub.d/README: 5: 10_*:: not found
/etc/grub.d/README: 6: Syntax error: "(" unexpected

on reboot grub menu does not contain an entry for "unknown distribution"

any suggestions?
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to