Re: Grub did not install on dual boot machine.
Date: 16 Jan 2004 20:27:06 -0800
> You proboably failed to install grub when you installed RH, or you
> installed grub to the boot sector of your /boot partition on hdb. You
> don't mention whether the XP loader is still installed and boots XP
> ok, but I'm assuming this is the case. Also assuming the boot disk
> you mention is a RH boot disk (not a grub boot disk).
I did exactly what I did the last time that I installed AS 2.1.
It worked on the other machine.
The directory /boot/grub has files: grub.conf, stage1, and stage2
> If you post your current grub.conf and fstab files and the output of
> the df command we could be sure (confident) what syntax to use to
> install grub.
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hdb6 5162796 211256 4689284 5% /
/dev/hdb5 101089 25432 70438 27% /boot
/dev/hdb8 5162796 32836 4867704 1% /home
/dev/hdb9 10325748 164200 9637028 2% /opt
/dev/hdb13 5162796 32828 4867712 1% /oracle
/dev/hdb14 10325748 32828 9768400 1% /oradata
none 385024 0 385024 0% /dev/shm
/dev/hdb12 5162796 35900 4864640 1% /tmp
/dev/hdb10 5162796 2624320 2276220 54% /usr
/dev/hdb11 5162796 117140 4783400 3% /var
> My standing hesitation about recommending grub in the MBR of a
> dual-boot with a Win OS is the fear that some dim witted Windows
> file/disk utility will scramble things. You have a boot disk, though,
> which you will need to keep current as you upgrade kernel images. I
> would also make a grub boot disk (see "info grub") as a way to
> With grub in the MBR you should end up with a grub.conf similar to
My grub.conf is in another post. It is very similar.
More strange info there too.
The problem seems to be more fundamental, that it can't
get to grub.conf. Not the grub.conf file itself. (Just like my
questions two weeks ago. It wasn't the hosts file, it was
that the ethernet drivers were not installed.)
> Also check it against your other box till you undersand grub's naming
> If your RH seems ok other than the grub issue, then this should work
> (_assuming_ I've guessed right about your RH partitions) when entered
> as root:
> [root]# # grub-install --root-directory=/boot /dev/hdb2(????)
> >>>don't try this at home,kids
> The problem is that Anaconda has a habit of installing partitions
> where it thinks they should go. Most people don't notice this in the
> flurry of installing RH. This is why we really need to see just where
> your /boot (partition or directory) is located. The output of df will
> give us this.
> Once we know where /boot is physically located on hdb, we should be
> able to send back the correct syntax. Till then be sure to check:
> $ info grub >>>from prompt
> and read up on grub in the RH Installation Guide and the Reference
> Guide available here:
> email above disabled