Operating System - Linux
1754167 Members
3437 Online
108811 Solutions
New Discussion юеВ

GRUB loading stage2...Read Error

 
Tonatiuh
Super Advisor

GRUB loading stage2...Read Error

Red Hat Enterprise Linux 4.8 on X86.

I installed succesfully and the reboot after the installation gave this error, but I rebooted the server and it booted well.

I rebooted again (1 week later) and now the error is permanently

I have compared my /etc/grub.conf and my /etc/fstab files with another healty server and everything seems to be right.

Any idea?
11 REPLIES 11
Ivan Ferreira
Honored Contributor

Re: GRUB loading stage2...Read Error

What kind of disk are you using? Maybe you have some badblocks in the /boot disk sectors.

Depending of your disk, you can run the fsck with the -c option to check for badblocks.

You could use the grub-install command after that to re-install the images.

Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Tonatiuh
Super Advisor

Re: GRUB loading stage2...Read Error

Disk IDE ATA.

I did the fsck -c but I do not know the syntax for the grub-install command.
Ivan Ferreira
Honored Contributor

Re: GRUB loading stage2...Read Error

The command should be something like:

grub-install /dev/hda
grub-install /dev/sda

Depending of what do you see in fdisk -l and your boot disk.

If you started with the install cd in rescue mode, ensure to do:

chroot /mnt/sysimage

Before running grub-install.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Goran┬аKoruga
Honored Contributor

Re: GRUB loading stage2...Read Error

Hi.

This error occurs while trying to read stage1.5 or stage2 file - you should try reinstalling, but first verify health status at the start of the disk:

badblocks /dev/hda

Also use smartmontools and check what it says.

Goran
Ivan Ferreira
Honored Contributor

Re: GRUB loading stage2...Read Error

Careful, badblocks was designed to be used with fsck.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Alan_152
Honored Contributor

Re: GRUB loading stage2...Read Error

It may be too late by now, but take a backup image of the disk before messing around with badblocks or fsck.
Tonatiuh
Super Advisor

Re: GRUB loading stage2...Read Error

After the grub-install /dev/hda I got a different message (when reboot).

GRUB Loading stage1.5

GRUB loading, please wait
Error 16
Tonatiuh
Super Advisor

Re: GRUB loading stage2...Read Error

I have changed the hard disk, and after installe the OS, I got again the same original Error Message.

Any idea?
Ivan Ferreira
Honored Contributor

Re: GRUB loading stage2...Read Error

Check your BIOS settings for the disk. Ensure that matches the size/cyls/tracks. Verify the LBA/CHS settings. Maybe a problem with the flat (cable)?
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?