alex lupu wrote:
> Hi Bruce:
>
> Alex:
> I'm wondering if the above grub-1.99 is of the "Grub-1" variety
>
> Bruce:
> No.  That was grub-0.97 (grub-legacy).  I don't think that ever advanced.
>
> Alex:
> I don't feel up to GRUB 2 yet.
>
> Bruce:
> I recommend using the version/procedures in LFS-7.3.
> The only issue on intel architecture would be /boot/grub/grub.cfg.
> If you want, we can discuss that.
>
> Alex:
> I think LFS-7.3 covers GRUB 2, which as I said I'm not interested (yet)
> for a few reasons:
>
> 1.  My 'menu.lst' (i.e., the "grub.cfg" of grub-0.97) is shamefully simple
> ( ...
>    root (hd0,2)
>    kernel /boot/LFSkernel root=/dev/sda3).

The only thing you need for grub.cfg then is:

### grub.cfg
set default=0
set timeout=5

insmod ext2
set root=(hd0,3)

menuentry "mylinux" {
    linux /boot/LFSkernel root=/dev/sda3 ro
}

You could probably get by with:

insmod ext2
menuentry "mylinux" {linux (hd0,3)/boot/LFSkernel root=/dev/sda3 ro}

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to