Re: [gentoo-user] loopback mount hard-drive image created with dd?

2008-01-18 Thread आशीष शुक्ल Ashish Shukla
,--[ On Fri, Jan 18, 2008 at 03:19:49AM +, 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

Re: [gentoo-user] loopback mount hard-drive image created with dd?

2008-01-18 Thread Ashish Shukla आशीष शुक्ल
Stroller == Stroller [EMAIL PROTECTED] writes: Stroller Would that work? I've never used VMs - are their drive images exactly Stroller blocky as my `dd` command would produce? Stroller (`dd if=/dev/sda of=/mnt/sdb1/disk.img`, where /mnt/sdb1 was a Stroller portable USB

Re: [gentoo-user] loopback mount hard-drive image created with dd?

2008-01-18 Thread Alan McKinnon
On Friday 18 January 2008, Jerry McBride wrote: Stroller wrote: Hi there, Before installing on a new laptop which came with Vista pre-installed I took an image of the hard-drive using dd. (ie: `dd if=/dev/sda of=/ mnt/sdb1/disk.img`, where /mnt/sdb1 was a portable USB hard-drive).

Re: [gentoo-user] loopback mount hard-drive image created with dd?

2008-01-18 Thread Stroller
On 18 Jan 2008, at 09:04, आशीष शुक्ल Ashish Shukla wrote: ,--[ On Fri, Jan 18, 2008 at 03:19:49AM +, 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

Re: [gentoo-user] loopback mount hard-drive image created with dd?

2008-01-18 Thread Mick
On Friday 18 January 2008, Jerry McBride wrote: On Friday 18 January 2008 02:19:21 pm Jerry McBride wrote: On Friday 18 January 2008 01:54:58 pm Alan McKinnon wrote: On Friday 18 January 2008, Jerry McBride wrote: On Friday 18 January 2008 01:01:18 pm Alan McKinnon wrote: Won't

Re: [gentoo-user] loopback mount hard-drive image created with dd?

2008-01-18 Thread Jerry McBride
On Friday 18 January 2008 01:54:58 pm Alan McKinnon wrote: On Friday 18 January 2008, Jerry McBride wrote: On Friday 18 January 2008 01:01:18 pm Alan McKinnon wrote: Won't work. He already said the .iso is a *disk* image, not a *file system* image. The ntfs driver (or any sane file

Re: [gentoo-user] loopback mount hard-drive image created with dd?

2008-01-18 Thread Jerry McBride
On Friday 18 January 2008 01:01:18 pm Alan McKinnon wrote: On Friday 18 January 2008, Jerry McBride wrote: Stroller wrote: Hi there, Before installing on a new laptop which came with Vista pre-installed I took an image of the hard-drive using dd. (ie: `dd if=/dev/sda of=/

Re: [gentoo-user] loopback mount hard-drive image created with dd?

2008-01-18 Thread Yahya Mohammad
Another hack you can try is use to use '--offset' option of 'losetup'. First figure out from which byte, NTFS partition starts in disk image, and then you create a loopback back device for that image and the starting offset using 'losetup' and finally 'mount' the loopback as NTFS partition :)

Re: [gentoo-user] loopback mount hard-drive image created with dd?

2008-01-18 Thread Alan McKinnon
On Friday 18 January 2008, Jerry McBride wrote: On Friday 18 January 2008 01:01:18 pm Alan McKinnon wrote: Won't work. He already said the .iso is a *disk* image, not a *file system* image. The ntfs driver (or any sane file system driver) will not know what to do with a block image

Re: [gentoo-user] loopback mount hard-drive image created with dd?

2008-01-18 Thread Jerry McBride
On Friday 18 January 2008 02:19:21 pm Jerry McBride wrote: On Friday 18 January 2008 01:54:58 pm Alan McKinnon wrote: On Friday 18 January 2008, Jerry McBride wrote: On Friday 18 January 2008 01:01:18 pm Alan McKinnon wrote: Won't work. He already said the .iso is a *disk* image, not a