Archive

Posts Tagged ‘boot’

Linux: Fixing a broken grub

May 3rd, 2009 bayu No comments

The grub corrupted or replaced by another boot loader? follow this steps to fix it.

  1. Boot the system using any linux live having grub installed in it.
  2. Under the root user, execute “grub” to access the grub prompt.
  3. Use “find /boot/grub/stage1″ command in the grub prompt to find where the file is. The result should be like (hd0,2), (hd0,0), etc
  4. Use “root (hd0,2)” command, the (h0,2) taken according to the result in 3rd step.
  5. Use “setup (hd0,2)” command to install grub in the partition, or just (hd0) to install it on the Master Boot Record (MBR) of the disk 0.

good luck!

Categories: linux Tags: , , , , ,

Switch to our mobile site