On 2011/08/31 16:18 (GMT+0100) Christopher Huang-Leaver composed:
I am trying to setup a Gentoo Linux USB key, I have mostly been following this guide;
http://en.gentoo-wiki.com/wiki/Build_Your_Own_LiveCD_or_LiveDVD
but I just can't get grub to read the menu.1st file. The weird thing is, when I get to the 'minimal console' I can type configfile /boot/grub/menu.1st
The menu screen loads up as you would expect, the MemTest86+ option works, the other two don't, but one problem at a time ;-)
This is the grub.conf / menu.1st file ...
Also could someone explain why we need both a menu.1st and grub.conf, which is the more 'correct' one to use?
AFAIK, the RedHat/Fedora variants of Legacy Grub use a symlink for the benefit of those RedHat/Fedora adopters who are used to the standard configfile name menu.lst. Grub has a version suitable for use on FAT filesystems that don't allow 4-digit filename extensions, so consequently menu.lst was defined as the default configfile name many moons ago.
The configfile command will read any file you feed it. During boot, only menu.lst (normal variants of Legacy Grub) or grub.conf (RedHat variants of Legacy Grub) will be used. I don't know for sure which variant Gentoo uses, but I think normal/non-RedHat. s/menu.1st/menu.lst/ as the filename and you'll be good to go.
-- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ _______________________________________________ Help-grub mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-grub
