Re: Mounting a partition within a dd image of a windows drive

2012-01-17 Thread Bryn M. Reeves
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/17/2012 04:56 PM, JD wrote: > On Mon, Jan 16, 2012 at 4:01 PM, Gordon Messmer > wrote: >> On 01/16/2012 06:53 AM, Bryn M. Reeves wrote: >>> >>> Run "kpartx -a /dev/loop0". >> >> >> You can also run "kpartx -a" on the file itself, and skip >>

Re: Mounting a partition within a dd image of a windows drive

2012-01-17 Thread JD
On Mon, Jan 16, 2012 at 4:01 PM, Gordon Messmer wrote: > On 01/16/2012 06:53 AM, Bryn M. Reeves wrote: >> >> Run "kpartx -a /dev/loop0". > > > You can also run "kpartx -a" on the file itself, and skip manually setting > up the loop device. > > If you have a loop device set up already, "partprobe"

Re: Mounting a partition within a dd image of a windows drive

2012-01-16 Thread Gordon Messmer
On 01/16/2012 06:53 AM, Bryn M. Reeves wrote: Run "kpartx -a /dev/loop0". You can also run "kpartx -a" on the file itself, and skip manually setting up the loop device. If you have a loop device set up already, "partprobe" is the other tool that will reload the partition table. -- users ma

Re: Mounting a partition within a dd image of a windows drive

2012-01-16 Thread Bryn M. Reeves
On 01/14/2012 07:33 PM, JD wrote: > fdisk -l /dev/loop0 > > and it shows there is 1 partition: > > /dev/loop0p1 etc . etc. > Run "kpartx -a /dev/loop0". This will create device-mapper linear devices that map the partitions contained within the image. You will find them in /dev/mapper na

Re: Mounting a partition within a dd image of a windows drive

2012-01-15 Thread JD
On Sat, Jan 14, 2012 at 12:47 PM, Sam Varshavchik wrote: > JD writes: > > « HTML content follows » >> Dear all, >> I have a dd image of a windows disk. >> >> I run >> >> losetup /dev/loop0 winDrive.dd >> >> Then >> >> fdisk -l /dev/loop0 >> >> and it shows there is 1 partition: >> >> /dev/loop0p1

Re: Mounting a partition within a dd image of a windows drive

2012-01-15 Thread JD
On Sat, Jan 14, 2012 at 2:13 PM, Jon Ingason wrote: > 2012-01-14 20:33, JD skrev: > >> Dear all, >> I have a dd image of a windows disk. >> >> I run >> >> losetup /dev/loop0 winDrive.dd >> >> Then >> >> fdisk -l /dev/loop0 >> >> and it shows there is 1 partition: >> >> /dev/loop0p1 etc .

Re: Mounting a partition within a dd image of a windows drive

2012-01-14 Thread Jon Ingason
2012-01-14 20:33, JD skrev: Dear all, I have a dd image of a windows disk. I run losetup /dev/loop0 winDrive.dd Then fdisk -l /dev/loop0 and it shows there is 1 partition: /dev/loop0p1 etc . etc. However, I seem to have no way of mounting the partition, because device loop0p1 does

Re: Mounting a partition within a dd image of a windows drive

2012-01-14 Thread Sam Varshavchik
JD writes: « HTML content follows » Dear all, I have a dd image of a windows disk. I run losetup /dev/loop0 winDrive.dd Then fdisk -l /dev/loop0 and it shows there is 1 partition: /dev/loop0p1 etc . etc. However, I seem to have no way of mounting the partition, because device loop

Mounting a partition within a dd image of a windows drive

2012-01-14 Thread JD
Dear all, I have a dd image of a windows disk. I run losetup /dev/loop0 winDrive.dd Then fdisk -l /dev/loop0 and it shows there is 1 partition: /dev/loop0p1 etc . etc. However, I seem to have no way of mounting the partition, because device loop0p1 does not exist in /dev directory.