[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to put another distro's stanza in menu.lst



On 10/13/2008 08:59 PM, H. S. wrote:
[...]
Now, if understand this right, with that rootnoverify stuff in Debian
grub, that entry will lead me to FC9's grub, correct? In that case, I
still don't have the grub.conf in FC9's grub. How do I go about getting
that? grub-install seemed not to work in that regard.

Thanks.




My Debian system doesn't have a grub.conf but a /boot/grub/menu.lst instead. I create boot stanzas by modifying menu.lst, but I've heard that FC users need to edit grub.conf. Perhaps FC has a special command for this.

Anyway, in your main grub.conf/menu.lst, if you want to use the chainloader, you could do this:

title        Chain-load of /dev/sda13
rootnoverify    (hd0,12)
chainloader    +1
boot

If you want to boot the kernel directly, you might have this put in there (watch out for typos and word-wrap):

title    Fedora Core 9 on /dev/sda13 (2.6.25)
root    (hd0,12)
kernel /boot/vmlinuz-2.6.26.5-45.fc9.i686 root=UUID=3cfc63bf-9e84-49a3-90ad-3fa623141200 rhgb quiet vga=792 selinux=0
initrd    /boot/vmlinuz-2.6.26.5-45.fc9.i686
boot

I have no idea what the rhgb and selinux=0 options do; I just copied them from your original command line.


Reply to: