Re: Grub did not install on dual boot machine.

linuxquestion_at_yahoo.com
Date: 01/17/04


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
> recover.
>
> With grub in the MBR you should end up with a grub.conf similar to
> mine:

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
> syntax.
>
> 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:
> https://www.redhat.com/docs/manuals/
>
> hth,
> prg
> email above disabled



Relevant Pages

  • Re: [opensuse] Harddrive order - physical vs how openSUSE sees them
    ... I have central grub boot partition and every installed OS a secondary grub in ... After a new install the mbr points always to the last installed secondary grub. ... The only way out was restoring the primary boot partition from backup and then ... how or why openSUSE is seeing my hard drives in a different order ...
    (SuSE)
  • Karmic (Beta) Test Installs
    ... As mentioned in the "Grub 2 in Jaunty/Karmic can break double boot ... First test involved _upgrading_ the jaunty drive to karmic beta ... instead install over sda using the entire drive. ...
    (Ubuntu)
  • Re: [opensuse] Yast & Grub bootloader different.
    ... My Grub bootup menu is different than the bootloader ... that shows up on the logon screen aat boot time. ... any boot loader for that matter, can only operate on one /boot partition at ... Grub doesn't scour the all hard drives on each install ...
    (SuSE)
  • Re: [SLE] Booting problem
    ... grub will not completly load, It shows Grub on the screen and then Grub ... install dvd,click install,click other,click boot to installed system. ... Loader and make sure you install the boot loader in the Master Boot Record. ...
    (SuSE)
  • Re: Adding FC5 to an XP computer -
    ... Ordinarily, I'd use GRUB to handle booting, too. ... to avoid altering the Windows installation in that situation. ... the installation is now running with Grub and boot on the mbr. ... The fc5 install is on the second drive, ...
    (Fedora)