How to recover lost mp3's for free.
Posted 05-11-2010 at 11:09 PM by GlennsPref
Tags recovery data
Glenn Waller May 2010
How to recover lost mp3's for free.
suitable for one user system users, administrators and technicians
time to do? 45Min approx.
programs used,
GNU/Linux (Mandriva 2010.1) Kernel 2.6.32.3-2mnb_x86_64
Photorec partition data recovery tool
find to list and sort files
EasyTag to recover file names from tags
You'll need root access to use Photorec, su or sudo to root in your shell, type in the root password if required. I think it's because of access to raw (unmounted) file system data. The files will be written as (user and group) root, so we fix the permission changes during this tutorial (you need root access to do this too) back to user-name group and user before doing too much more. This way we can use user-land instead of having to stay as root for long periods of time.
Scenario
Msec was deleting unowned files in the /home partition
moved mp3's off etx3 partition to fat32 partition to share whilst working within windows xp land and out of Msec's long hands. Eventually I had no access to the files permissions from GNU/Linux. During previous attempts to fix the permission problem, I had copied the data off the disk, changed the attributes under ext4 (this time), formatted the disk and copied the...data.....ack. anyway, it didn't work.
The task begins.
Being a long time advocate for Photorec in the past, (recovering music from old damaged cdroms) I knew I could (probably) almost certainly recover the music files from the ext4 formatted partition. There were also a lot of other files on there too, like a backup of HalfLife2 CC:S downloads and games, maps, etc, about 8.5 to 12 gig, and much more.
First things first, you need a partition equal to or greater than in size of the partition you wish to recover. Next you need to run Photorec from the directory from where you wish to store the files Photorec finds. So, make a directory on the partition you are using for the recovered files and cd to the recovery directory, like this (you'll need to change the absolute address to match your folder names)
Unmount the drive the data is being recovered from, (/home/glenn/stuff in my case)
check /etc/fstab in a text file reader, like cat. # Entry for /dev/sdb9 :
How to recover lost mp3's for free.
suitable for one user system users, administrators and technicians
time to do? 45Min approx.
programs used,
GNU/Linux (Mandriva 2010.1) Kernel 2.6.32.3-2mnb_x86_64
Photorec partition data recovery tool
find to list and sort files
EasyTag to recover file names from tags
You'll need root access to use Photorec, su or sudo to root in your shell, type in the root password if required. I think it's because of access to raw (unmounted) file system data. The files will be written as (user and group) root, so we fix the permission changes during this tutorial (you need root access to do this too) back to user-name group and user before doing too much more. This way we can use user-land instead of having to stay as root for long periods of time.
Scenario
Msec was deleting unowned files in the /home partition
moved mp3's off etx3 partition to fat32 partition to share whilst working within windows xp land and out of Msec's long hands. Eventually I had no access to the files permissions from GNU/Linux. During previous attempts to fix the permission problem, I had copied the data off the disk, changed the attributes under ext4 (this time), formatted the disk and copied the...data.....ack. anyway, it didn't work.
The task begins.
Being a long time advocate for Photorec in the past, (recovering music from old damaged cdroms) I knew I could (probably) almost certainly recover the music files from the ext4 formatted partition. There were also a lot of other files on there too, like a backup of HalfLife2 CC:S downloads and games, maps, etc, about 8.5 to 12 gig, and much more.
First things first, you need a partition equal to or greater than in size of the partition you wish to recover. Next you need to run Photorec from the directory from where you wish to store the files Photorec finds. So, make a directory on the partition you are using for the recovered files and cd to the recovery directory, like this (you'll need to change the absolute address to match your folder names)
Code:
mkdir /home/glenn/storage/recovery cd /home/glenn/storage/recovery
Code:
# Entry for /dev/sdb9 : UUID=ef444615-fcc7-438d-8711-57fc1571b4c1 /home/glenn/stuff ext4 relatime 1 2
Code:
sudo umount /dev/sdb9
Total Comments 0