LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-18-2016, 02:01 PM   #1
Rooksu
LQ Newbie
 
Registered: Mar 2015
Posts: 5

Rep: Reputation: Disabled
Debian Live USB Boot for PhotoRec File Recovery


Hi,

I am running PhotoRec on a Debian Live distribution booted via USB drive. The PC with the deleted files (encrypted then deleted via ransom-ware) has a 100GB hard drive. The USB drive I am booting from has 1TB of free space. I keep running into the error "Warning: not enough free space available" after recovering a few hundred files. Clearly this is not true, as there is enough free space to copy the entire hard drive ten times over.

Any idea what might be causing this? My only thought so far is that Debian Live might not be letting PhotoRec see the whole external drive. If that's the case, is there a way around this or a better way to boot?

Thanks in advance.
 
Old 02-18-2016, 03:11 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
If you are booting Debian Live that you put on a 1TB drive, the same drive you are trying to save files to, you need to first create a partition on that drive from Debian Live, then create a mount point for the partition, format the partition, mount it and then tell photorec to save/move the recovered files there. Have you done that? You will need to let photorec finish. If you reboot, you will need to go through the process again as Live systems don't save changes such as mount points.
 
Old 02-18-2016, 03:53 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Make an 8G usb flash drive and then attach the 1Tb drive and see if you can recover.
 
Old 02-19-2016, 07:12 AM   #4
Rooksu
LQ Newbie
 
Registered: Mar 2015
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
If you are booting Debian Live that you put on a 1TB drive, the same drive you are trying to save files to, you need to first create a partition on that drive from Debian Live, then create a mount point for the partition, format the partition, mount it and then tell photorec to save/move the recovered files there. Have you done that? You will need to let photorec finish. If you reboot, you will need to go through the process again as Live systems don't save changes such as mount points.
This worked for me. I didn't realize that almost all the space was unallocated. I GParted a 200GB partition and recovered the files to that.

Thanks!
 
  


Reply

Tags
file, liveusb, photorec, recovery



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian Squeeze live usb video crashes during boot EsLong1701 Linux - Newbie 4 09-05-2013 08:12 AM
Cannot boot debian live iso from usb using grub2 dezo Debian 32 02-29-2012 11:58 AM
Another Data Recovery thread (Photorec fails) derstephen Linux - Hardware 1 10-01-2011 12:47 AM
Photorec seg fault and other data recovery questions jarnos Linux - Software 17 10-22-2009 04:20 PM
Data recovery - photorec vs. testdisk vs. ddrescue? JStevenson Linux - Newbie 7 09-01-2009 03:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration