|
|
Reinstalling The Boot Loader - Linux
|
Views : 487
|
|
Tagged in : Linux
|
|
|
Report This Scrap as Inappropriate We request you to choose the appropriate categroy and subcategory that suits your
objectionable concern about the scrap, So that our team can review and find out whether it violates our Guidelines or the
scrap is not suitable for all viewers.
|
Some times the linux system may not boot,it is because the grub file may be corrupted.The grub file is corrupted because of worng partitioning after the installation using fdisk command (which will delete or corrupt the grub.conf file).
Once the grub.conf file is corrupted then system will not boot.Here is the way to reinstall the grub--boot loader and make your system to work properly.
1)Boot the system from an installation CD.
2)Type linux rescue at the installation boot prompt to enter the rescue environment.
3)Type chroot /mnt/sysimage to mount the root partition.(/mnt/sysimage is the root file sytem in resuce environment and all your files in hard drive is mounted on /mnt/sysimage )
4)Type /sbin/grub-install /dev/hda to reinstall the GRUB boot loader, where /dev/hda is the boot partition.
5)view the /boot/grub/grub.conf file
6)Reboot the system.
|
|
By - Selva, On - 2008-04-08 |
|
|
|