Re: Grub boots from command line but not menu
- From: imotgm <imotgm_REM@xxxxxxxxxxxxxxxxx>
- Date: Fri, 24 Feb 2006 21:04:49 GMT
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
total 2752
-rw-r--r-- 1 root root 1404802 Jan 15 2004 vmlinuz
-rw-r--r-- 1 root root 1404802 Jan 15 2004 vmlinuz-adaptec.s-2.4.22
[root@fatman boot]#
You will note a complete lack of a grub directory, and, obviously, any
files therein. No initrd either, as that's the Slack way.
title PCLinuxOS
kernel (hd0,11)/boot/vmlinuz root=/dev/hda12 devfs=mount hdb=ide-scsi hdd=ide-scsi vga=788 splash=verbose show0pts
initrd (hd0,11)/boot/initrd.img
If the above had installed a boot loader, it would have been lilo, but
this grub stanza does the job instead. Contents of the /boot directory
below.
[root@fatman boot]# ls -l
total 2668
-rw-r--r-- 1 root root 512 Dec 9 2003 boot.0300
-rw-r--r-- 1 root root 512 Dec 13 2003 boot.0800
lrwxrwxrwx 1 root root 24 Dec 18 03:17 config -> config-2.4.23-2.tmb.2mdk
-rw-r--r-- 1 root root 53039 Dec 18 2003 config-2.4.23-2.tmb.2mdk
-rw-r--r-- 1 root root 5032 Jan 4 2004 diag1.img
-rw-r--r-- 1 root root 16796 Jan 4 2004 diag2.img
-rw-r--r-- 1 root root 180641 Dec 20 2003 initrd-2.4.23-2.tmb.2mdk.img
lrwxrwxrwx 1 root root 28 Apr 22 2004 initrd.img -> initrd-2.4.23-2.tmb.2mdk.img
lrwxrwxrwx 1 root root 32 Dec 18 03:17 kernel.h -> /boot/kernel.h-2.4.23-2.tmb.2mdk
-rw-r--r-- 1 root root 537 Dec 20 2003 kernel.h-2.4.23-2.tmb.2mdk
drwx------ 2 root root 4096 Dec 12 2003 lost+found/
-rw------- 1 root root 251904 Jan 15 2004 map
lrwxrwxrwx 1 root root 15 Apr 22 2004 message -> message-graphic
-rw-r--r-- 1 root root 183517 Jan 22 2004 message-graphic
-rw-r--r-- 1 root root 132 Dec 9 2003 message-text
lrwxrwxrwx 1 root root 28 Apr 22 2004 System.map -> System.map-2.4.23-2.tmb.2mdk
-rw-r--r-- 1 root root 617975 Dec 18 2003 System.map-2.4.23-2.tmb.2mdk
-rw-r--r-- 1 root root 256 Dec 9 2003 us.klt
lrwxrwxrwx 1 root root 25 Apr 22 2004 vmlinuz -> vmlinuz-2.4.23-2.tmb.2mdk
-rw-r--r-- 1 root root 1358399 Dec 18 2003 vmlinuz-2.4.23-2.tmb.2mdk
[root@fatman boot]#
Lots of extra junk it there, but again no grub directory.
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
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.
--
imotgm
"Lost? Lost? I've never been lost... Been a tad confused for a
month or two, but never lost."
.
- Follow-Ups:
- Re: Grub boots from command line but not menu
- From: Douglas Mayne
- Re: Grub boots from command line but not menu
- References:
- Grub boots from command line but not menu
- From: andrew . bell . ia
- Re: Grub boots from command line but not menu
- From: Douglas Mayne
- Re: Grub boots from command line but not menu
- From: andrew . bell . ia
- Re: Grub boots from command line but not menu
- From: Douglas Mayne
- Re: Grub boots from command line but not menu
- From: andrew . bell . ia
- Re: Grub boots from command line but not menu
- From: Douglas Mayne
- Grub boots from command line but not menu
- Prev by Date: Re: Yum package conflict: yum-2.4.1-1.fc4 and medley-package-config-102-1.rhfc4.at
- Next by Date: Re: 2.4.30 & 2.4.32 kernel comple error
- Previous by thread: Re: Grub boots from command line but not menu
- Next by thread: Re: Grub boots from command line but not menu
- Index(es):
Relevant Pages
|