Restore Ubuntu MBR
Derek Broughton
news at pointerstop.ca
Fri Aug 15 01:00:03 UTC 2008
Linda Vest Castanos wrote:
> I found the following below on a Ubuntu site. Will this work for error
> 17? If not, can I restored Window XP MBR (done this many times), and
> will it work then? I seem to lose my MBR approx. twice a year. There
> is lots of info on this matter on the Internet, but this seems to be the
> most simple method for ME. I am not a Ubuntu-Linux guru
> thanks Dennis
People like to complicate things :-)
>
> 1. Boot the Desktop/Live CD.
> 2. Open a terminal (Applications -> Accessories -> Terminal)
Good so far.
> 3. Start grub as root with the following command :
???
I just do:
# sudo mount /dev/sda /mnt
(that might actually already be mounted somewhere)
# sudo grub-install --root-directory=/mnt /dev/sda
Now, I'm not absolutely certain that fixes an error 17 - it's what I use
when I've b0rked grub, but it _is_ what the more complicate how-to you
posted does.
--
derek
More information about the ubuntu-users
mailing list