Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Terminal Help Needed

Terminal Help Needed

Terminal Help Needed

I have a powerbook hard drive with hardware issues. The drive mounts with no problem via an external usb connection to my MacBook Pro. I want to use ddrescue (not dd_rescue) to copy the drive contents to a drive image. My unix commands are basically non existent and I need help figuring out how to put the correct commands into the Terminal App.

Here are the locations of each piece of the puzzle.
ddrescue is located at the root of my MacBook Pro drive named ddrescue and the drive name is Macintosh HD
the bad drive is Disk1s9
The drive I am copying to is called Rescue

The directions...best I could find were:
Example 1: Rescue an ext2 partition in /dev/hda2 to /dev/hdb2
ddrescue -r3 /dev/hda2 /dev/hdb2 logfile (running ddrescue)
e2fsck -v -f /dev/hdb2 (checking resulting dmg.
mount -t ext2 -o ro /dev/hdb2 /mnt (mounting resulting dmg.)

Is this the correct info?

sudo ddrescue -v /dev/disk1s9 /Volumes/Rescue//SaveKeith.dmg savekeith.log

This all makes me nervous since I get the warning when I use sudo.

If anyone has experience compiling and using dd_rescue I will take that info as well. I did download dd_rescue but have not compiled it. I was able to get ddrescue already compiled.


RE: Terminal Help Needed

Have you tried using Disk Warrior to fix the disk issues your having?

the systax should be

su - root
cd /
./ddrescue -v /dev/disk1s9 VolImage.dmg VolRescue.log


"Whenever I dwell for any length of time on my own shortcomings, they gradually begin to seem mild, harmless, rather engaging little things, not at all like the staring defects in other people's characters."

RE: Terminal Help Needed

thanks....yes...it can't even make it through the program.
Data Rescue II manages only slightly better.
Thanks for the syntax. I am going to try in just a few minutes.

RE: Terminal Help Needed

./ddrescue -v /dev/disk1s9 VolImage.dmg VolRescue.log

the second part doesn't give the Recue drive path. Should it be /Rescue/VolImage.dmg VolRescue.log  

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close