bug-ddrescue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-ddrescue] Telling me my drive is a directory and won't copy?


From: andrew zajac
Subject: Re: [Bug-ddrescue] Telling me my drive is a directory and won't copy?
Date: Fri, 10 Oct 2008 03:15:12 -0700 (PDT)

That's because "/media/diskname" is a mountpoint, not a device.

If sdb is the device that is mounted there, you would want to first unmount it and then run ddrescue like this:

sudo ddrescue /dev/sdb1 /dev/sda1 log

Where sda1 is the target hard disk partition that you want to *overwrite*.

If you only want to create an image as a file on sda1, then mount it, change directory to it and run

sudo ddrescue /dev/sdb1 image log

Where "image" is the file and log is another file which is the recovery log.  You need to recovery log to be able to resume the process, if you interrupt it.

Good Luck!

Andrew Zajac


--- On Thu, 10/9/08, psychosocial <address@hidden> wrote:
From: psychosocial <address@hidden>
Subject: [Bug-ddrescue] Telling me my drive is a directory and won't copy?
To: address@hidden
Received: Thursday, October 9, 2008, 9:03 PM

Hey all, after searching around on various search engines and looking on here
I thought I'd ask if you could help me.

I am currently trying to recover data from a USB HDD hooked up to Hardy
Heron (Ubuntu) using ddrescue. My problem is that when I type the command
(sudo ddrescue /media/diskname /dev/sda1), ddrescue starts but everything it
tries to copy shows at the bottom "/media/diskname is a directory!"

I read the man page but nothing jumped out to me at what I was wrong! If
someone could give me pointers on the weird message it would be a great
help.

Thanks

Psychosocial
--
View this message in context:
http://www.nabble.com/Telling-me-my-drive-is-a-directory-and-won%27t-copy--tp19910201p19910201.html
Sent from the Gnu - ddrescue mailing list archive at Nabble.com.



_______________________________________________
Bug-ddrescue mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-ddrescue


Yahoo! Canada Toolbar : Search from anywhere on the web and bookmark your favourite sites. Download it now!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]