afzal

Sunday, January 23, 2011

Reinstall Grub in Linux

Boot the server using the Linux CD and Type "linux rescue" on the boot prompt.

Once you get the Shell Prompt, Now follow the steps:

# chroot /mnt/sysimage

Now issue the command "grub-install "

For Example:

# grub-install /dev/sda

Now the grub will be reinstalled in the primary hard disk.
Posted by Afzal at 11:30 PM
Newer Post Older Post Home

Blog Archive

  • ▼  2011 (28)
    • ►  September (5)
    • ►  August (1)
    • ►  May (1)
    • ►  February (1)
    • ▼  January (20)
      • Recreate the OraInventory
      • SQL*Plus command line history completion
      • Redhat Package Management (RPM)
      • IPTables in Linux
      • Server Status & Health Check in Linux
      • Linux Booting Process Sequence
      • Disable SSH root login
      • Delete old log files in Linux
      • Reinstall Grub in Linux
      • Changing hostname without rebooting Linux server
      • Backup and Recovery in Linux using dd command
      • Enable cron for a locked account in Linux
      • Finding BIOS version in Linux Servers
      • NOHUP : Run command continiously even if session c...
      • Moving volume group to another Server in Linux
      • CLEANING UP THE LINUX BUFFER CACHE
      • Clear Swap Space in Linux
      • Find RPM packages installed on particular date
      • Configuring Network Bonding in Linux
      • Yahooooooo! in Outlook
  • ►  2010 (7)
    • ►  September (1)
    • ►  July (4)
    • ►  June (2)
  • ►  2009 (1)
    • ►  October (1)

About Me

My photo
Afzal
View my complete profile
Watermark theme. Powered by Blogger.