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.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: GRUB Question
    ... rootnoverify ... I am going to re-read the info grub again and see if I can make heads ... it suit my needs and did this from the grub line editor at boot time. ... title Mandriva GRUB ...
    (Fedora)
  • Re: GRUB failure
    ... me to the GRUB prompt, ... I cannot boot the computer into any operating system. ... subject of "unsubscribe". ... Trouble? ...
    (Debian-User)
  • Re: Error rebooting after upgrade from 2.6.12-i36 to 2.6.15-i686
    ... and a busybox shell appears. ... Have the latest grub in unstable. ... Boot into 2.6.12 kernel and then do this: ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: How to Boot a Dell Optiplex 320?
    ... No, there's not so much as a grub menu; it's like the grub menu has been pre-told which option to boot from, so there's no option for the user to over-ride the installer's choices. ... I was hoping someone knew a "hot-key" in LILO when it's been instructed not to wait for user interaction) to bring the menu up. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: Cant boot Windows XP after installing FC6
    ... In the orginal send file was the grub file ok ... I think there was something wrong with copying the master boot record. ... Or how can i fix the masterboot record for Windows XP (I can than ... rootnoverify ...
    (Fedora)