Linux GRUB Recovery


If you find GRUB screen when startup your machine like this,
Here the ways to solve that :
1. First step
GNU GRUB version 0.95 (640K lower / 3072K upper memory)

[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename.]

grub>find /boot/grub/stage1
(hd0,1)

it means linux at hda1, it probably give different result on your machine.
if it didn't show any result, go forward to step 2.

grub>root (hd0,1)

grub>setup (hd0)

grub>quit

Then reboot your machine ...
if you still find GRUB screen, go to step 2.

2. Second step
GNU GRUB version 0.95 (640K lower / 3072K upper memory)

[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename.]

grub> root (hd0,1)
grub> kernel /vmlinuz-2.x.xx-xx.EL ro root=/dev/hda1

if you don't remember what your kernel version, better go to step 3.

grub> boot

if you wanna to show GRUB booting selection menu as always, try this command than above command

grub> configfile (hd0,1)/boot/grub/menu.lst

If it still didn't give fine result, try step 3.

3. Third step
boot Linux Live CD and open the terminal.
example : linux at /dev/hda1

$ mount /dev/hda1 /mnt
$ chroot /mnt
# grub-install /dev/hda
# exit
$ reboot

Thanks for Mas Denny that gimme a clue about this issue.

Popular posts from this blog

Howto configure boot device order on ILOM

Installing Depot files on HP-UX 11.23 ia64

SAN Switch Config Command