selecting * (=bootable) instead of D (=Deleted)

How to use TestDisk to recover lost partition
Message
Author
vedhas
Posts: 7
Joined: 24 May 2015, 10:53
Location: Passau, Germany

Re: selecting * (=bootable) instead of D (=Deleted)

#11 Post by vedhas » 29 May 2015, 00:44

* I managed to boot using newly prepared Ubuntu 12.04 live usb.
* installed testdisk under 'Try ubuntu' (*NOT* install ubuntu)
* If I set the settings as suggested in the previous post, I get "Structure:Bad" in red on the screen. Should I hit enter and continue? Also, kindly check if '*', 'P', 'L' are as per your comment earlier.
Would continuing create any probs?
rps20150529_012735.jpg
Structure bad warning/error
rps20150529_012735.jpg (97.56 KiB) Viewed 296 times
Here's Some related link I found upon googling, but I do not understand any of this much, so just putting it for your ready teference -since my context + question is exactly the same.
http://ubuntuforums.org/showthread.php?t=1683517

The guy posing that question says in the end that the reply telling him about http://www.rodsbooks.com/missing-parts/index.html was directly helpful. Kindly guide me on this, whats going on here, what I should do, is it a problem with testdisk as implied by 'FWIW, TestDisk itself can create this problem, so its complaining about it is a bit ironic.' ?? Thanks, let me know.

Sponsored links

User avatar
Fiona
Posts: 2836
Joined: 18 Feb 2012, 17:19
Location: Ludwigsburg/Stuttgart - Germany

Re: selecting * (=bootable) instead of D (=Deleted)

#12 Post by Fiona » 29 May 2015, 09:05

Your Linux swap starts with the next sector after your Linux partition.
A logical partition within an extended partition needs a little bit more space.
That's why you get the message structur bad.
Might be possible to leave your current swap partition on D for Deleted.
You can add a logical swap partition using testdisk add.
In case I'd write some information on how to add a proper swap partition using testdisk.
It'll only create an unformtatted logical swap partition.
But you have to format it using a procedure like this:
http://www.ehow.com/how_7251350_format- ... ition.html
Please watch the "Tips & Warnings" too!
Adding a logical swap partition on testdisk will automatically create an extended partition for both, your locical Linux partition and swap partition.
So there will be no need to use any utilities like gparted to increase the size of your extended partition to add your locical swap!

Fiona

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests