Install Grub/Lilo in /dev/i2o/hda1 failed with Debian

OS

Debian GNU/Linux 5

RAID Card

Adaptec ASR2100S with Raid 5

Problem

Installation failed message will show while installing Grub as boot loader.

Solution

Do not stop your installation!! And try following steps to install boot loader during installation:
  1. Enter another console with short cut: alt + Fn
  2. Press enter to enable console
  3. > chroot /target
  4. > aptitude
  5. update packages db
  6. install grub
  7. exit aptitude
  8. > /usr/sbin/grub-install /dev/i2o/hda
  9. > update-grub
  10. > exit
  11. continue to finish others steps with "continue without boot loader" option
If its failed after above steps, that might be some steps wrong while you processing it. Don't worry! You will see Grub prompt after reboot, and try following steps:

grub> root (hd0,0)
grub> setup (hd0) <-- If you did not install grub correctly at last time, you have to do it
grub> kernel /vmlinuz root=/dev/i2o/hda1 ro
grub> initrd /initrd.img
grub> boot


Then, you will boot into your system now.

Caution!! It's not the end! You have to do following steps again to fix your problem exactly.

> grub-install /dev/i2o/hda
> update-grub <--- VERY IMPORTANT! Don't forget to do it! Or you will have to repeat all steps again!

After that your system can boot next time correctly. Congratulations!

Comments

Popular posts from this blog

How to construct a B+ tree with example

How to show only month and year fields in android Date-picker?

Visitor Counter Script Using PHP