Re: Problems reinstalling grub/lilo (they always hang at boot time ...)
- From: Olaf <nospam@xxxxxxxx>
- Date: Fri, 28 Apr 2006 00:10:55 +0200
Douglas Mayne wrote:
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).
Yes this is what I am referring to.
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 only compared the MBRs of the disks with the backups that I had.
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.
Yes the stage file exist in the /boot/grub (or /grub from /dev/hdb1 point of
view). Is there anyway I can verify that they are ok (e.g. calculating a
checksum or something similar).
I am using a live CD (SysRescCD) and I need to mount my partitions.
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?
Yes I get the choice menu and I can select either OS, but as soon as I press
enter the computer hangs ...
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.
Some readers don't support inlining :( e.g. google groups UI ...
.
- Follow-Ups:
- Re: Problems reinstalling grub/lilo (they always hang at boot time ...)
- From: CBFalconer
- Re: Problems reinstalling grub/lilo (they always hang at boot time ...)
- From: Douglas Mayne
- Re: Problems reinstalling grub/lilo (they always hang at boot time ...)
- References:
- Problems reinstalling grub/lilo (they always hang at boot time ...)
- From: Olaf
- Re: Problems reinstalling grub/lilo (they always hang at boot time ...)
- From: Douglas Mayne
- Re: Problems reinstalling grub/lilo (they always hang at boot time ...)
- From: Olaf
- Re: Problems reinstalling grub/lilo (they always hang at boot time ...)
- From: Douglas Mayne
- Problems reinstalling grub/lilo (they always hang at boot time ...)
- Prev by Date: Re: Which type of ISO download to get?
- Next by Date: Re: Fine control on FC5 install
- 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
|