restore grub
Linda Vest Castanos
dcastanos at snowcrest.net
Fri Aug 15 00:09:58 UTC 2008
https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows
the link above shows how to restore grub after an XP install. Will the
following commands work for error 17? If not, can I restore XP MBR
(which I have done many times) and will it work then?
I'm not a Ubuntu-Linux guru and the commands below would work for ME,
which is from the link above. I seem to lose my MBR approx twice a
year. (big hassle)
thanks, Dennis
1. Boot the Desktop/Live CD.
2. Open a terminal (Applications -> Accessories -> Terminal)
3. Start grub as root with the following command :
sudo grub
4. You will get a grub prompt (see below) which we will use to find the
root partition and install grub to the MBR (hd0,0)
[ Minimal BASH-like line editing is supported. For
the first word, TAB lists possible command
completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub>
Type the following and press enter:
find /boot/grub/stage1
Using this information, set the root device:
grub> root (hd0,1)
Install Grub:
grub> setup (hd0)
Exit Grub:
grub> quit
More information about the ubuntu-users
mailing list