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: Şafak Ökmen
Subject: Re: [Bug-ddrescue] ddrescue 2gb usb stick to reiserfs partition
Date: Sat, 13 Nov 2010 23:12:55 +0100

Hello Andrew,

thanks for your time and help.

/dev/sda is the 2gb drive indeed.
/dev/sdb8 is the 100gb partition formally formatted in reiserfs. As you said, probably it is not there anymore. never mind. it was empty anyways.

btw. is 'sarak' some directory on your pc? It sounds a lot like my name which is spelled 'safak' :)

I guess the entire 2gb (should be) on the /dev/sdb8 partition since the processes finished with no errors.

As you suggested I entered

sudo parted /dev/sdb8 unit B print
Warning: GNU Parted has detected libreiserfs interface version mismatch. Found 1-1, required 0. ReiserFS support will be deisabled.
Error: /dev/sdb8: unrecognised disk label

returned: 1

Any ideas why this is? What to do? I would probably ddrescue the usb disk again but it took a lot of time which I don't want to invest again. I don't know what took so long to rescue 2gb but it was nearly two days.

Greetigs from germany,

Safak

On Sat, Nov 13, 2010 at 6:43 PM, andrew zajac <address@hidden> wrote:
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]