Saturday, December 19, 2009

grub

Fix grub issues

Boot from linux DVD or CD into rescue mode
boot: linux rescue

Linux installation will be available at special directory called /mnt/sysimage

Prepare system for grub installation, chroot command allows to run rest of all *COMMAND* with root directory set to NEWROOT called /mnt/sysimage
# chroot /mnt/sysimage
# cd /boot/grub

Check bootloader installation location
# grep '#boot' grub.conf
boot=/dev/sda

Reinstall Grub into sda
# grub-install /dev/sda

Reboot
# reboot

No comments:

Post a Comment