Repairing GRUB after imaging Ubuntu with Symantec Ghost
Posted by The Technocrat | Filed under Operating Systems
The GRUB bootloader sometimes doesn’t survive imaging with Symantec Ghost.
After applying an image of Ubuntu Linux to a target machine, GRUB may need to be repaired before the machine will boot properly. To repair GRUB, do the following:
- Load the Live CD, boot from it until you reach the desktop.
- Open a terminal window.
- Type “sudo grub”
- Type “root (hd0,0)”, or whatever your harddisk + boot partition numbers are.
- You can easily look up the boot partition for the version of Ubuntu on the hard drive by browsing to the hard disk from the LiveCD desktop.
- Open /boot/grub/menu.lst in a text editor.Scroll to the bottom and look up which partition the menu choice for Ubuntu points to. (hd0,0 by default)
- Type “setup (hd0)”, or whatever your harddisk number is.
- Quit grub by typing “quit”.
- Reboot the machine.
(tested with 64-bit Ubuntu Linux 8.04)
May 23, 2009 at 12:46 pm
Данный пост реально помог мне принять очень важное для себя решение. За что автору отдельное спасибо. Жду от Вас новых постов!
August 21, 2009 at 6:35 pm
Good walk through It help. Thanks for the info.