Disk partition wiped out

Klaus VE3KR ve3kr at yahoo.ca
Sun Mar 20 17:22:23 UTC 2011


Thanks very much for the timely answers. I will let you know how I make out with your instructions.

Regards

Klaus Rung  

ve3kr

--- On Sun, 3/20/11, Goh Lip <g.lip at gmx.com> wrote:

From: Goh Lip <g.lip at gmx.com>
Subject: Re: Disk partition wiped out
To: "Ubuntu user technical support, not for general discussions" <ubuntu-users at lists.ubuntu.com>
Date: Sunday, March 20, 2011, 11:11 AM

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


-- 
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20110320/0053a349/attachment.html>


More information about the ubuntu-users mailing list