[SOLVED] DDRescue/Parted Magic Help

Reading some of your other posts, you were asking about when to use ddresuce and when to use rstudio. They are used in conjunction with each other. That loop command you are referring to would hardly be used in data recovery(but it is good to understand it). You really only need to use ddresuce to make an image of the failing hard drive, then complete the data recovery using a program like rstudio to retrieve the data from the image.

Just to repeat the basics of proper data recovery:

First make an image of the failing drive to either an image file or to another hard drive. ddresuce is probably the best way to do it with software.

Second you run recovery software on the newly made image to extract the data. Rstudio is one of the more popular programs, but there are many others to choose from.
 
Reading some of your other posts, you were asking about when to use ddresuce and when to use rstudio. They are used in conjunction with each other. That loop command you are referring to would hardly be used in data recovery(but it is good to understand it). You really only need to use ddresuce to make an image of the failing hard drive, then complete the data recovery using a program like rstudio to retrieve the data from the image.

Just to repeat the basics of proper data recovery:

First make an image of the failing drive to either an image file or to another hard drive. ddresuce is probably the best way to do it with software.

Second you run recovery software on the newly made image to extract the data. Rstudio is one of the more popular programs, but there are many others to choose from.

Well I learned earlier this evening that the tech license for R-Studio is $900. That's why I'm on to recovering files within Parted Magic for now. R-Studio will probably be one of my first licenses to purchase but not now. That command is straight from the guide. Thanks for your input though.
 
Last edited:
Mountpoint is the actual location. In the following command I make a directory (location) or a mount point called /mnt/drive. The directory drive in in the directory /mnt

mkdir /mnt/drive
mount -o ro,loop myimage.img /mnt/drive

Also myimage.img needs to be referring to the exact location of your image file.
 
Mountpoint is the actual location. In the following command I make a directory (location) or a mount point called /mnt/drive. The directory drive in in the directory /mnt

mkdir /mnt/drive
mount -o ro,loop myimage.img /mnt/drive

Also myimage.img needs to be referring to the exact location of your image file.

So I've created the folder "mountpoint" and am attempting to mount the image "partition.img" within that folder. Based on the guide, once I've completed this step I can simply navigate within the File Manager in Parted Magic to this "mountpoint" folder and copy files from the image. But the command I posted above, being exactly what it says in the guide to type is not working for some reason. Perhaps you're trying to show me what I need to do here, but I don't follow?

Edit: Okay the directory/folder was already created named "mountpoint." Is there some significance to the "/drive" part? Did the guide miss that part?
 
Last edited:
Mountpoint is just part of the location. For example in window you have a folder called "dog" but its actual Location is
C:\users\pete\desktop\dog

Or in Linux

/home/pete/desktop/dog
 
Mountpoint is just part of the location. For example in window you have a folder called "dog" but its actual Location is
C:\users\pete\desktop\dog

Or in Linux

/home/pete/desktop/dog

So does this look more like the command I need?

mount -o ro,loop /media/sdb1/partition.img /media/sdb1/mountpoint

Edit: Nevermind, I ran the command and it worked. Thanks for your help pcpete! The guide didn't point to entering the full file path and it didn't occur to me to do so, but that totally makes sense.
 
Last edited:
You could have used your original command and it would have worked using relative paths. You just would have needed to be in the correct directory before running the command

cd /media/sdb1
 
If you imaged just the partition you need, then a simple mount command will work, otherwise you need to give it an offset to find the first bit of the partition you're trying to mount.
 
Back
Top