Error: no such partition grub rescue in Ubuntu Linux

minion

Well-Known Member
Joined
May 31, 2011
Messages
218
Reaction score
0
Ok so I guess everyone who have used Linux came across this message..

"error: no such partition
grub rescue >"

I was running PhotoRec, photo recovery tool and after restarting I got this message. Obviously I was doing something wrong when trying to be all clever and recover my photos I deleted from my device.

Did some research and found few solutions.

http://opensource-sidh.blogspot.in/2011/06/recover-grub-live-ubuntu-cd-pendrive.html
http://askubuntu.com/questions/30048/how-can-i-create-a-bootable-usb-disk-from-a-cd-image

Just trying to get this straight, the cd I used to install Ubuntu 12.04.2 Desktop can be used to fix this correct?
 
Last edited:
Ok update on this, been trying to fix this since yesterday, no luck so far! When booting with cd, click on "Try Ubuntu", once in the GUI go to terminal and type 'sudo fdisk -l' it shows the following. But not showing the Linux partition? Any idea how I can get this back?

/dev/sda1 1 638 5124703 b W95 FAT32
/dev/sda3 4526 4635 497980 82 Linux swap
 
You deleted your Linux partition by accident it seems. Looks like it a reinstall for you.
 
Ok update on this, been trying to fix this since yesterday, no luck so far! When booting with cd, click on "Try Ubuntu", once in the GUI go to terminal and type 'sudo fdisk -l' it shows the following. But not showing the Linux partition? Any idea how I can get this back?

/dev/sda1 1 638 5124703 b W95 FAT32
/dev/sda3 4526 4635 497980 82 Linux swap
I agree with this:
You deleted your Linux partition by accident it seems.
But not with this:
Looks like it a reinstall for you.

Boot up with GParted -Live CD and run the TestDisk utility (written by the same guy as PhotoRec) and it should be able to detect your deleted Linux partition and create a new entry for it in your partition table.
 
ginggs you make me happy! going to try it tonight and get back to you. thank you!!
 
I agree with this:

But not with this:


Boot up with GParted -Live CD and run the TestDisk utility (written by the same guy as PhotoRec) and it should be able to detect your deleted Linux partition and create a new entry for it in your partition table.

Does that work like other undelete applications or does it do something different?
 
:(

no luck, looks like i did really mess it up! ''The disk scan by gpart did not find any recognizable file systems on this disk''
 
WOOOOOOOOOOOHOOOOOOOOOOOOO!! just got it working! TestDisk did the trick, thanks Ginggs!! :)
 
Does that work like other undelete applications or does it do something different?
I think TestDisk's specialities are repairing partition tables, master boot records, boot sectors inside partitions and recovering lost partitions.
The file undelete features were added more recently (a spin-off from PhotoRec, I think).
 
Last edited:
I think TestDisk's specialities are repairing partition tables, master boot records, boot sectors inside partitions and recovering lost partitions.
The file undelete features were added more recently (a spin-off from PhotoRec, I think).

The file recovery methods between TD & PR differs. TD recovers based on MFT/FAT tables whereas PR recovers based on file signature types.
 
Top
Sign up to the MyBroadband newsletter
X