Tom Eastman wrote:

> How can I take this image of ('hda') and mount the filesystem
> ('hda1') that's inside it?

I'm not sure, but mounting the whole hda as loopback could work (seem 
to remember a thread about this some time ago on the list, search the 
archives).
In case it does not, try this. Since the real partitions usually start 
at the second sector (the first being the MBR that holds the 
bootloader and the partition table), I guess (iff the hard disk had 
only one partition taking all the space) you can extract only the 
hda1 partition by dd'ing the file onto another one but this time 
skipping the first sector, ie something like

dd if=hda.img of=hda1.img bs=512 skip=1

or so.

Hope this works.
-- 
gentoo-user@gentoo.org mailing list

Reply via email to