error in grub2 after delete partition
Goh Lip
g.lip at gmx.com
Mon May 31 02:57:52 UTC 2010
On 05/31/2010 10:27 AM, Goh Lip wrote:
> On 05/31/2010 05:41 AM, mierdatutis mi wrote:
>> I had in one disk:
>>
>> Primary partition: xp
>> Extended partition: ubuntu and windows 7.
>>
>> Now, I've changed the partitions. I delete the primary of xp and the
>> extended of windows 7. I've created a primary partition to install
>> windows 7.
>>
>> After I've installed windows 7, I boot with my ubuntu Live and I did an
>> update-grub.
>>
>> Now I have grub2 installed and I can boot with my ubuntu but when I
>> select windows 7 it says me:
>> no such device: ec3883435345390
>> no such partition.
> After deleting XP in the primary partition, you can still boot to
> Ubuntu? That's surprising, but good.
>
> When booted to Ubuntu, try this in the terminal...
>
> sudo grub-install /dev/sda
>
>
After doing the above, I suggest you make a grub rescue cd
because I suspect your other disk is the master and you might clear the
first primary partition of that disk, also the mbr, making all your OS
unbootable. Then this rescue cd will be very useful. This only works for
grub2, not grub-legacy.
To make this rescue cd, at terminal...
grub-mkrescue --output=anyname.iso
for karmic and earlier..
grub-mkrescue anyname.iso
Regards - Goh Lip
More information about the ubuntu-users
mailing list