Re: Problems reinstalling grub/lilo (they always hang at boot time ...)
- From: Douglas Mayne <doug@xxxxxxxxxxxxxxxxxx>
- Date: Tue, 25 Apr 2006 07:21:13 -0600
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<snip>
grub boot loader is located (/dev/hdb).
Note: comments inline.
Also, please don't top post replies.
--
Ripley: And you let him in.
http://us.imdb.com/title/tt0078748/quotes
.
- Follow-Ups:
- References:
- Prev by Date: Re: RedHat Linux 7.3 Question
- Next by Date: Re: networking problem
- Previous by thread: Re: Problems reinstalling grub/lilo (they always hang at boot time ...)
- Next by thread: Re: Problems reinstalling grub/lilo (they always hang at boot time ...)
- Index(es):
Relevant Pages
|