bug-ddrescue
[Top][All Lists]
Advanced

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

Re: [Bug-ddrescue] ddrescue 2gb usb stick to reiserfs partition


From: andrew zajac
Subject: Re: [Bug-ddrescue] ddrescue 2gb usb stick to reiserfs partition
Date: Sat, 13 Nov 2010 09:43:23 -0800 (PST)

Hi Safak.

/dev/sda is the 2 gb drive?  And /dev/sdb8 is a 100 GB partition that you had formatted to Reiserfs?  Because that filesystem is not there anymore.  You wrote the entire 2GB (including the partition table) to the sdb8 partition.

Whatever.

I hope you didn't have anything there that you wanted to keep.  If you were expecting to write the image of the 2GB drive to a file, then you needed to mount sdb8 and image sda to a file there:

mkdir /home/sarak/sdb8
sudo mount /dev/sdb8 /home/sarak/sdb8
sudo ddrescue /dev/sda /home/sarak/sdb8/image /home/sarak/sdb8/logfile

Whatever.

So your entire 2GB drive is on sdb8.  No problem.  Look at the partition table on it.

sudo parted /dev/sdb8 unit B print

(example output)
Number  Start   End          Size         Type     File system  Flags
 1      32256B  7950303231B  7950270976B  primary  fat32        boot, lba

So the partition starts at 32256.  Mount it as a loop:

mkdir mnt

sudo mount -o loop,offset=32256 /dev/sdb8 mnt/

ls mnt

Good luck.

Andrew Zajac


--- On Sat, 11/13/10, Şafak Ökmen <address@hidden> wrote:

From: Şafak Ökmen <address@hidden>
Subject: [Bug-ddrescue] ddrescue 2gb usb stick to reiserfs partition
To: address@hidden
Received: Saturday, November 13, 2010, 8:31 AM

Hello list,

I have rescued my 2gb usb stick in nearly two days to a 100gb blank
reiserfs partition with these two commands:

ddrescue -f -n /dev/sda /dev/sdb8 logfile
ddrescue -d -f -r3 /dev/sda /dev/sdb8 logfile

since I did not know what to do next, I tried mounting /dev/sdb8 to
look what's inside. But mount: you must specify the filesystem type. I
was able to mount the blank reiserfs partition before ddrescue wrote
on it. Can you help me?

Thanks.

Safak

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


reply via email to

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