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 <[email protected]> wrote:

From: Şafak Ökmen <[email protected]>
Subject: [Bug-ddrescue] ddrescue 2gb usb stick to reiserfs partition
To: [email protected]
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
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-ddrescue


_______________________________________________
Bug-ddrescue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-ddrescue

Reply via email to