Mounting raw disk backup file.

2012-08-06 Thread Matthew Navarre
HI, I had a drive fail recently, it was working fine until I rebooted. After that the partition map was corrupt and I can't mount either partition on the disk. So I made a copy of the whole disk using dd to an old USB drive. There were several IO errors while dd was copying the disk, so I think

Re: Mounting raw disk backup file.

2012-08-06 Thread Michael Sierchio
On Sun, Aug 5, 2012 at 11:12 PM, Matthew Navarre navarre.matt...@gmail.comwrote: I had a drive fail recently, it was working fine until I rebooted. After that the partition map was corrupt and I can't mount either partition on the disk. So I made a copy of the whole disk using dd to an old

Re: Mounting raw disk backup file.

2012-08-06 Thread Polytropon
On Sun, 5 Aug 2012 23:12:48 -0700, Matthew Navarre wrote: I can probably fix the partition table using testdisk, but now that I've got this image file I'd rather work with that instead of the physical disk. I've read the Handbook section on using mdconfig, but that assumes the image file is of

Re: Mounting raw disk backup file.

2012-08-06 Thread Matthew Navarre
On Sun, Aug 5, 2012 at 11:28 PM, Michael Sierchio ku...@tenebras.comwrote: On Sun, Aug 5, 2012 at 11:12 PM, Matthew Navarre navarre.matt...@gmail.com wrote: Here's what file says about the file: mnavarre@pcbsd-1810] /# file /mnt/ada1_backup /mnt/ada1_backup: x86 boot sector; partition

Re: Mounting raw disk backup file.

2012-08-06 Thread Matthew Navarre
On Mon, Aug 6, 2012 at 12:08 AM, Polytropon free...@edvax.de wrote: On Sun, 5 Aug 2012 23:12:48 -0700, Matthew Navarre wrote: I can probably fix the partition table using testdisk, but now that I've got this image file I'd rather work with that instead of the physical disk. I've read the

Re: Mounting raw disk backup file.

2012-08-06 Thread Wojciech Puchar
I had a drive fail recently, it was working fine until I rebooted. After that the partition map was corrupt and I can't mount either partition on the disk. So I made a copy of the whole disk using dd to an old USB drive. There were several IO errors while dd was copying the disk, so I think the

Re: Mounting raw disk backup file.

2012-08-06 Thread Matthew Navarre
On Mon, Aug 6, 2012 at 2:55 AM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: I had a drive fail recently, it was working fine until I rebooted. After that the partition map was corrupt and I can't mount either partition on the disk. So I made a copy of the whole disk using dd to an