|
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:
|
[Prev in Thread] | Current Thread | [Next in Thread] |