View Single Post
  #1 (permalink)  
Old 02-08-2007, 05:38
AndyD's Avatar
AndyD AndyD is offline
Member
 
Join Date: Apr 2007
Posts: 53
Lightbulb Reinstalling the GRUB Boot Loader on [url=http://www.eukhost.com/dedicated-server-hosting.php]Dedicated Server[/url]

Hello All,
Below mentioned are the steps to reinstall a corrupted or mistakenly deleted grub (for RedHat and CentOS systems only) using the rescue mode ::

1> Boot the system from any boot installation medium like a RedHad #1 CD-ROM or a Flash Drive, etc.

2> Use the linux rescue command as shown below at the installation prompt to enter the rescue environment:
Quote:
linux rescue

3> Type the command below to mount the root partition:
Quote:
chroot /mnt/sysimage

4> Type the command below to reinstall the GRUB boot loader, where /dev/hda is the boot partition.
Quote:
/sbin/grub-install /dev/hda
*where /dev/hda is the boot partition

5> Go through the /boot/grub/grub.conf file once again, as additional entries may be needed for GRUB so as to make any custom changes there (like controlling another installed operating system)

Step 6> Finally, reboot the system

NOTE :: Use the above mentioned steps at your own risk
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
||
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
||
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


"The secret of greatness is simple: do better work than any other man in your field - and keep on doing it"
Reply With Quote