Grappling with Grub
From: Tom F. (furtom2001_at_india.com)
Date: 01/27/05
- Next message: Tom F.: "Re: Big-disk woes"
- Previous message: Jules: "Re: Big-disk woes"
- Next in thread: Andreas Janssen: "Re: Grappling with Grub"
- Reply: Andreas Janssen: "Re: Grappling with Grub"
- Reply: jayachandran kamaraj: "Re: Grappling with Grub"
- Reply: Markku Kolkka: "Re: Grappling with Grub"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 27 Jan 2005 05:37:26 -0800
I've been following the other thread on installing grub. Now that I may
need it, I've broken out the info pages myself. I'm a little unclear on
a few points:
I have a separate /boot partition. So then I need to tell grub so like
this?
# grub-install --root-directory=/boot (hd2,0)
But of course I want to install onto the MBR on my first disk. If so
then I should use:
# grub-install (hd0,0)
But that can't be it, because how do I tell grub where the kernel is?
As I said, /boot is on hdc1.
Do I need to use both commands? That doesn't make sense at all.
Grub gets it's info from the grub.conf. So can I just install on the
MBR with
"# grub-install (hd0,0)" and let the config file handle the rest? If
so:
When the info page uses the term "root" is it referring to "/" or
"/boot"?
The info page configuration example has the line:
"kernel (hd1,0)/vmlinuz root=/dev/hdb1"
So in this case, it's looking for /vmlinuz in /dev/hdb1? Wouldn't that
mean "root" is the partition hdb1 mounted as /boot? Otherwise wouldn't
it be /boot/vmlinuz?
In my case, hdc1 is mounted as /boot and / is hdc3. So would my config
file look like this?
title Linux
kernel (hd2,0)/boot/vmlinuz root=/dev/hdb3
I know grub won't understand filesystems at this point, but the "root="
is throwing me.
I'd appreciate any help or explanation.
Thanks.
Tom F.
- Next message: Tom F.: "Re: Big-disk woes"
- Previous message: Jules: "Re: Big-disk woes"
- Next in thread: Andreas Janssen: "Re: Grappling with Grub"
- Reply: Andreas Janssen: "Re: Grappling with Grub"
- Reply: jayachandran kamaraj: "Re: Grappling with Grub"
- Reply: Markku Kolkka: "Re: Grappling with Grub"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|