Re: Problems reinstalling grub/lilo (they always hang at boot time ...)



On Tue, 25 Apr 2006 08:55:41 +0200, Olaf wrote:

Douglas,

I'm pretty sure I did not change anything in the /boot/grub directory. I
actually had backups of the bootsectors (first 512 byte of the harddisks)

Do you mean the bootsector of a partition or the MBR of the disc? The
first 512 bytes of the entire disk is the MBR (master boot record).

and they were unaltered (or do these only contain the partition table?).

The _MBR_ of a disk contains id signatures, boot code, and space to define
four primary partitions.

The _bootsector of a partition_ contains id signatures, boot code, and
filesystem parameters.

Which of these did you compare and verify they had been unaltered?


I did reinstall the files in the /boot/grub directory via grub-install
but the loader still hangs.

Do the "stage" files exist at the /boot/grub directory? Does grub-install
report any errors? I looked closer at your first post, and you say that
/dev/hdb1 is a boot partition; therefore, look for the grub directory
relative to /dev/hdb1 (/grub, not /boot/grub). BTW, what environment is
available when you boot with the rescue CD? Are you working directly with
your setup, or is it using a "live CD" where you have to manually mount
your partitions, etc.


I used to load grub from the XP bootloader (and not the other way around
as you suggested),

OK, the fact you can't boot XP any more is a good clue to what is broken
on your system. Because XP's loader is set to control the bootup, is the
Windows menu displayed which offers choices to start XP or Ubuntu?

but for now I'm happy if I can directly boot from the disk where the
grub boot loader is located (/dev/hdb).

<snip>

Note: comments inline.

Also, please don't top post replies.

--
Ripley: And you let him in.
http://us.imdb.com/title/tt0078748/quotes
.



Relevant Pages

  • fixing grub : mbr fix when windows install after linux
    ... "There is not a boot manager screen at all, ... windows but GRUB boot window does not appear. ... "I forgot to install GRUB, I didn't install GRUB in the MBR, I chose ... Fedora but that was not an active primary partition". ...
    (comp.os.linux.misc)
  • Re: Fedora Core 2/Windows XP dual boot: selecting Linux doesnt work
    ... grub is installed on the /root partition, which is the first partition on hdc: hdc1, or in grub notation. ... Stage1 is the unpatched 512-byte file, that is patched and copied to the boot record during setup. ... This byte is initialized to 0xff in the stage1 file, but patched to 0x81 in your setup, to say "we are booting from disk." ...
    (comp.os.linux.setup)
  • 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: [Fwd: Re: [opensuse] Boot magic]
    ... Since I installed some milestones I can no longer boot the partition I want. ... I installed on part3 milestone 6 with its own boot directory in the rootdir. ... I only use the milestone 6 grub environment against my will. ...
    (SuSE)
  • Re: Boot manager for Windows only
    ... And also is GRUB capable of booting any ... > Windows partition or will it always hand over to the XP boot loader? ...
    (comp.os.linux.setup)