Double checking grub-install -- revisited ??
William Case
billlinux at rogers.com
Wed Jul 2 18:23:25 UTC 2008
Hi Michael;
On Wed, 2008-07-02 at 20:10 +0200, Michael Schwendt wrote:
> On Wed, 02 Jul 2008 13:56:20 -0400, William Case wrote:
>
> > On Wed, 2008-07-02 at 19:35 +0200, Michael Schwendt wrote:
> > > On Wed, 02 Jul 2008 12:50:31 -0400, William Case wrote:
> > >
> > > > I checked and low and behold I found GRUB listed in the first block
> > > > (mbr ??) of both disks. So I thought I should chase that down before I
> > > > filed an inappropriate bug report.
> > >
> > > Then what happens if you overwrite sda's mbr with NTLDR?
> > >
> > > To me it is still not clear what your boot sequence looks like.
> > >
> > > You say this is a dual-boot machine. Unless you prefer ntldr, you
> > > would store grub in sda. However, you say you store it in sdb.
> > > So, how exactly do you boot? Do you really chainload sdb from sda?
> > >
> > Sorry Michael, I was trying to avoid re-telling a long tale of woe.
> >
> > Here it is;
>
> A long tale, but the details are missing.
>
> To reinstall grub, you run "grub-install /dev/sda", right?
Yes that was the intent and that was what I used on the second attempt.
I might have mis-typed "grub-install /dev/sdb" the first time by
mistake.
> And what do /boot/grub/grub.conf and /boot/grub/device.map contain?
/boot/grub/grub.conf is as it should be:
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd1,4)/grub/splash.xpm.gz
## hiddenmenu
title Fedora (2.6.25.6-55.fc9.x86_64)
root (hd1,4)
kernel /vmlinuz-2.6.25.6-55.fc9.x86_64 ro
root=UUID=884ffe2a-42ff-4835-bf57-b80bc45c3baa rhgb quiet
initrd /initrd-2.6.25.6-55.fc9.x86_64.img
title Fedora (2.6.25-14.fc9.x86_64)
root (hd1,4)
kernel /vmlinuz-2.6.25-14.fc9.x86_64 ro
root=UUID=884ffe2a-42ff-4835-bf57-b80bc45c3baa rhgb quiet
initrd /initrd-2.6.25-14.fc9.x86_64.img
title WindowsXP sp3
rootnoverify (hd0,0)
chainloader +1
and /boot/grub/device.map is:
# this device map was generated by anaconda
(hd0) /dev/sda
(hd1) /dev/sdb
>
> > and everything seemed fine. The intent was to install grub on /dev/sda
> > dual booting to sdb /boot. (BIOS loads in the natural hd0, hd1 order.)
>
> Still, one question remains. With grub in the mbr of sda, how do
> you boot from sdb? Do you point grub.conf to your /boot partition?
Yes.
> Or perhaps you do some unusual chain-loading to the mbr of sdb?
Perhaps -- inadvertently. That is what I am trying to ascertain and solve.
--
Regards Bill;
Fedora 9, Gnome 2.22.2
Evo.2.22.2, Emacs 22.2.1
More information about the fedora-list
mailing list