For those of us that read the Windows Recovery post and thought to ourselves, “Well, Paul, Windows is a no brainer, you can use this program, this program, plus the ones you named and then some”, you’d be right. Windows is an easier operating system, not because it’s been around longer but because it was designed from the ground up to appeal to the common consumer. If you chose Linux, then you’re a minority when it comes to the world of computers.
This isn’t to say this is a bad thing. If we all used Windows 7, we’d all be infected with all the same loophole being unpatched, the same goes for any system really. However, with Linux, to recover important data, we must cross a bridge that many newbies fear: the use of your terminal emulator. So let’s start with the very basics that you’ll need before you can undertake file recovery in Linux. Keep in mind that my recommendation here will work with every operating system out there, not just Linux.
I’m going to make this process as simple as possible, as it can be a very complex operation, however, it doesn’t mean it’s impossible. It means it’s harder then it’s Windows’ counterpart. Rather the install the programs on our official operating system, I’m going to provide a lesser known liveCD that I keep a copy in my CD toolkit that I take everywhere I can. The name of the CD is RIP Linux which is short for Recovery Is Possible, and it’s name covers exactly what we need it for: recovery of lost data and partitions. I have used it a grand total of three times, and while I’ve not used it very often, I can assure you, once your data is recovered, you won’t want to pay for a recovery system again.
Once you download and burn RIP to a disk, you’ll reach the boot menu. If you’re using a 32 bit operating system or a 64 bit system, it is supported, and it has the option to start the graphical shell directly by selecting the “Boot Linux System to X!” option.

Once there, RIP uses a OpenBox shell, which means you need to right click to open the menus. Once at the desktop, right click and open up XTerm. This will drop you into a terminal prompt. Once there, type in ‘photorec’ if you’re trying to recover file types, or ‘testdisk’ if you’re trying to recover a whole partition. Once into the program itself, it is insanely easy to understand. Select the disk you’re trying to recover data from (if you’re not sure, right click off of the XTerm, open PCManFM which is under Applications, then File Manager, then under the mnt folder, you can explore both of them).

If you’re using a standard computer, Intel is what you should select, otherwise, it’s darned easy to select the right one.

Once we’re past that, and it asks the partition that we are trying to recover data from, we can select the certain partition, or we can hit the “No Partition” selection. Once at this stage, we have to select where to recover to. Remember that MNT is the folder which houses the rest of our mounted drives and we can not recover data to a hard drive we are recovering from. Once you select a different spot to recover it to, hit Y, then let it recover all the data it can. As it recovers data, it will output it onto the screen for you to see, but whatever you do, do not attempt to do anything else, or you risk killing the data recovery.
Overall, it seems to be a lot of work when compared to Windows based recovery programs, such as Recuva, but as powerful as Windows tools are, I’ve recovered more data that I had lost forever with RIP then any other tool ever, including Hiren’s Boot CD (which uses often times an older version of PhotoRec). If you’ve lost data, and you’ve tried Recuva and Roadkil’s RawCopy to no prevail, RIP might just be that one last tool to try before you give up.
-RIP Linux (93mb)-
Related posts:
hii paul
this article is confusing
pls add some more pic or vid.
@vinod, chances are good it’s already gone. Check and see if you can do this, if not, try putting it in the freezer for a little bit, then plugging it in and trying this. If it doesn’t work.. you’re kinda out of luck.
i have a bad external hard disk.
my laptop doesn’t recognise nor can any computer do.
how to recover the data. please tell me.
i am zero in computers knowledge. i am a simple computer user.
thanks for this tip
Thanx alot raymond… u r doing a great job…
@oderschvank, RIP has a lot more tools, like LILO/GRUB/GRUB2 recovery, Gparted, a basic version of Clonezilla… it’s an all-in-wonder type deal.
allright aside from being a live cd is there any other difference between testdisk and this one>???
@Merlin_Magii… I’ll be honest, I don’t know. I wish I did, I’ll ask Raymond when I speak to him next.
Silly question perhaps – if I want to see any follow-ups on an article – so the site emails me when there is a new posting – rather than bookmarking every blessed one in favourites – how do I do that please ?
Thank you Paul – I will try this next time someone loses their data.
Thanks Paul\HellNoire
@soon, Balaji J H, Rui Paz, it is a worthy program completely, but I chose to suggest the LiveCD because it’s a lot easier then having to compile it from source (under Linux) and under Windows, I’ve never had to use it like that, so I can’t comment.
@Stax, I’ll stick to the LiveCD… it’s at least free of charge.
@Raj, 500 mb to Swap, 0 for Boot, 25.5 gigs for / and the remaining 120 gigs for /home
@oderschvank, it IS testdisk, just in LiveCD format. You could try burning it to USB by using one of those USB ISO burnable tools that Raymond wrote about.
Hi,
For those that don’t know linux TestDisk and PhotoRec can be download where cgsecurity.org/wiki/TestDisk
Those programs can also run from a Windows Live CD or from a working windows installation with the disk you need to recover data mounted as slave.
I am using linux now in of my notebook and this will be a worthy software to recover data on my hard drive hope so!! :)
Thanks
i wonder if there i s an easy way to install it in the usb???great post..it’s like test disk.
Thanks for your enthousiastic and easy-to-understand sharing of knowledge Paul. I tested 6 recovery programs for Windows by real-life necessity, and some are a real shame.
I tested Ontrack Easy Recovery Pro, Getdata Recover My Files, Active Undelete and two more of which I’ve forgotten the names.
The winner by far is Runtime. Fast, professional and recovered the most. Reminds me of the good old Norton Utilities :)
Very well worth every penny!
Hiiiii paul
recently i am downloaded ubuntu 10.04.
while installing it says to partitioning disks.
recently my friend said about
/
/boot
swap memory
/home.
so how much memory should i allocate for these.
pls. say which partition scheme will be best for me
I have 160GB HDD
1GB ram
core 2 duo processor
no graphics card
I have to admit, using this method is forever better than any windows-based data recovery software.but this method looks easier than the live-cd way.great sharing!thanks.
@longfeng, I had pictures, looks like they didn’t go in. I’ll re-add them now.
EDIT: At 2:29 AM they are added in now. I’m very sorry they weren’t up before.
If you have some pictures, it will be nice for us to appreciate and understand the software better. thanks.