« Return to Thread: "loopback mount" hard-drive image created with dd?

Re: "loopback mount" hard-drive image created with dd?

by Stroller :: Rate this Message:

Reply to Author | View in Thread


On 18 Jan 2008, at 09:04, आशीष शुक्ल Ashish Shukla  
wrote:

> ,--[ On Fri, Jan 18, 2008 at 03:19:49AM +0000, Stroller wrote:
> [...]
>
>> I'm fairly confident that there were originally a couple of  
>> partitions on
>> the drive, and the one I want to look at will be NTFS, of course.  
>> I know
>> that a CD iso I can mount using `mount file.iso /mnt/cdrom -t  
>> iso9660 -o
>> loop`, but is there an equivalent for whole partition tables?
>
> How about using your disk image as HD in a VM, and then inspect it  
> from
> VM, hmm...

Would that work? I've never used VMs - are their drive images exactly  
"blocky" as my `dd` command would produce?
(`dd if=/dev/sda of=/mnt/sdb1/disk.img`, where /mnt/sdb1 was a  
portable USB hard-drive).

> Or look out for some tools which allow you to play with hard
> disk images, e.g. mtools .

It looks like mtools is geared towards floppies but will handle a  
hard-drive fine. However the manual <http://mtools.linux.lu/ 
mtools.html> suggests no support for NTFS. (??)

Stroller.--
gentoo-user@... mailing list

 « Return to Thread: "loopback mount" hard-drive image created with dd?