Re: Grub boots from command line but not menu
- From: Douglas Mayne <doug@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 24 Feb 2006 08:01:16 -0700
On Fri, 24 Feb 2006 06:30:25 -0800, andrew.bell.ia wrote:
Douglas Mayne wrote:<snip>
On Thu, 23 Feb 2006 14:20:54 -0800, andrew.bell.ia wrote:
Thanks for your reply.Yes, once grub shows its menu it has enough info to load any file on _its_
I don't have grub installed on the slackware distro. Does grub need to
be installed on each OS that it boots? I *thought* that it went to one
location to get its config file and the stage<n> stuff that was needed
to boot. I guess that I assumed once the kernel started loading, grub
was out of the picture. No?
Cheers,
root partition. There will be no problems if all of the files necessary
for booting every linux distribution on your machine are also located on
that partition. But, assuming your slackware kernel is on another
partition (with the slackware distro), then grub might not be able to
load it. This is because grub has the ability to read filesystems, but
only as setup. For example, if one distro is using ext2 and another is
using reiserFS, then they need separate grub stage2 files.
In this case, they are using different filesystems, so this could be
the culprit, but I still don't understand why the IDENTICAL commands
typed from the command line would work and the commands coming from the
menu on the puppy filesystem wouldn't work.
Here's why I think it could work from the command line, and not the
menu. Note: entering WAG mode.
Assume your Puppy linux has one boot/root partition formatted ext2. The
grub loader is setup properly on that partition. When you boot it
proceeds as it should to display the grub menu. As part of the boot to
the menu, grub obtains the ability to read ext2 filesystems. It can boot
straight away into Puppy, because it's setup properly.
Assume your Slackware linux has one boot/root partition formatted ext2.
The grub loader has never been setup on the partition, partly because lilo
is the default loader for Slackware. When you try to select it from
grub's menu, grub assumes it will need to reload the stage2 file
necessary to read the type of filesystem on the partition. It
fails with the error you are seeing because that partition's BPB has never
been initialized with grub's loader (stage2). As soon as you install grub
properly on the target partition, the problem disappears.
But grub's command line works...
When you drop to grub's command line, it doesn't "forget" how to access
ext2. It tries to read the disc using whatever tools it has at that
moment
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.
--
Douglas Mayne
.
- Follow-Ups:
- Re: Grub boots from command line but not menu
- From: imotgm
- 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
- Grub boots from command line but not menu
- Prev by Date: Re: Grub boots from command line but not menu
- Next by Date: Re: Yum package conflict: yum-2.4.1-1.fc4 and medley-package-config-102-1.rhfc4.at
- 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
|