Disk partition wiped out
Goh Lip
g.lip at gmx.com
Sun Mar 20 15:11:16 UTC 2011
On 03/20/2011 10:33 PM, Klaus VE3KR wrote:
> I installed alongside my windows7 the ubuntu 10.10 like the installation
> said it was going to do and now my windows7 laptop has lost both
> windows7 and ubuntu and cannot boot at all.
>
> I get grub rescue>
>
> This is really bad news.
>
> How do I get my windows 7 back at least?
>
>
> Regards
> Klaus Rung
> ve3kr
>
>
Klaus, at grub rescue type the following to get to normal grub>
grub rescue> set prefix=(hdX,Y)/boot/grub
grub rescue> insmod (hdX,Y)/boot/grub/normal.mod
rescue:grub> normal
note (hdX,Y) is where your ubuntu partition is, if you don't know, type
this first
grub rescue> ls /boot
and the output will give you an idea.
After you get the normal grub prompt ie., grub>
type
grub> set root=(hdX,Y)
grub> configfile /boot/grub/grub.cfg
You will then be presented with the grub menu of the ubuntu that you
installed. Boot into ubuntu and at terminal, type this...
sudo grub-install /dev/sda
You should be able to boot into windows and ubuntu then.
However.....if you cannot boot even to ubuntu by above method,.....
you may have a blotched ubuntu installation and you can still get back
your windows by the usual method of using the windows installation cd
the method of which I am not too clear, either fixmbr or fixboot
Regards - Goh Lip
More information about the ubuntu-users
mailing list