Re: Grub boots from command line but not menu



On Fri, 24 Feb 2006 21:04:49 +0000, imotgm wrote:

On Fri, 24 Feb 2006 08:01:16 -0700, Douglas Mayne wrote:


I wrote about grub and an idea for the layout of multibooting with more
than one Linux distribution here:
http://groups.google.com/group/comp.os.linux.setup/msg/17d3cfcff0cf2d0f

Notice: That link is the start of the thread.


I guess that this will have to stop working then, because there is no
grub, or lilo installed in the Slackware partition. It's really a shame,
as it's worked so well up until now.

title Slackware 9.1 - slack partition
kernel (hd0,8)/boot/vmlinuz root=/dev/hda9 vga=788 hdb=ide-scsi hdd=ide-scsi

title Slackware 9.1 - slack partition 2.4.22
kernel (hd0,8)/boot/vmlinuz-adaptec.s-2.4.22 root=/dev/hda9 vga=788 hdb=ide-scsi hdd=ide-scsi

[root@fatman boot]# ls -l

<snip>

Grub needs to be installed exactly once, by one OS. All other additional
OS need only have a stanza added to the single menu.lst used by that

Yes. That's one way to do it!

single installation of grub. If there is a separate boot partition, it
will be found in /grub/menu.lst. If there is no boot partition, it will be
found in /boot/grub/menu.lst on the partition of the OS from which grub
was installed.

For Red Hat/Fedora menu.lst will be renamed grub.conf.

As you choose to chainload multiple grub installations, I can see why
you'd be confused about how grub actually works. I have one grub, on a
boot partition, with multiple stanzas for the various OSs, seven at
present, and all boot just fine. If OP has the problem that he states,
there is most probably a syntax error in the Slackware stanza in his
menu.lst.

Note: comment inline.
Here we go again. _You_ still want me to diagnose why _your_ system
is not broken:
http://groups.google.com/group/comp.os.linux.misc/browse_frm/thread/a9862aca6be39f5c/27dbc9715f086943?lnk=st&q=%22douglas+mayne%22+diagnose&rnum=5&hl=en#27dbc9715f086943

Your system boots because your kernels are being read from the same boot
partition where grub is installed. Re-read this thread and tell me that
your system would boot if one kernel was on (hd0,6) formatted XFS and
another kernel was to be read from (hd0,7) formatted ext2.

Note: I did telegraph that I was entering WAG to the OP due to lack of
specific information from him. You have provided more than him, hence,
I believe your system is not broken ;-) and should boot.

--
Douglas Mayne
.



Relevant Pages

  • fixing grub : mbr fix when windows install after linux
    ... "There is not a boot manager screen at all, ... windows but GRUB boot window does not appear. ... "I forgot to install GRUB, I didn't install GRUB in the MBR, I chose ... Fedora but that was not an active primary partition". ...
    (comp.os.linux.misc)
  • Re: Fedora Core 2/Windows XP dual boot: selecting Linux doesnt work
    ... grub is installed on the /root partition, which is the first partition on hdc: hdc1, or in grub notation. ... Stage1 is the unpatched 512-byte file, that is patched and copied to the boot record during setup. ... This byte is initialized to 0xff in the stage1 file, but patched to 0x81 in your setup, to say "we are booting from disk." ...
    (comp.os.linux.setup)
  • Re: [opensuse] Yast & Grub bootloader different.
    ... My Grub bootup menu is different than the bootloader ... that shows up on the logon screen aat boot time. ... any boot loader for that matter, can only operate on one /boot partition at ... Grub doesn't scour the all hard drives on each install ...
    (SuSE)
  • Re: [Fwd: Re: [opensuse] Boot magic]
    ... Since I installed some milestones I can no longer boot the partition I want. ... I installed on part3 milestone 6 with its own boot directory in the rootdir. ... I only use the milestone 6 grub environment against my will. ...
    (SuSE)
  • Re: Boot manager for Windows only
    ... And also is GRUB capable of booting any ... > Windows partition or will it always hand over to the XP boot loader? ...
    (comp.os.linux.setup)