Mon Apr 14 16:27:07 EDT 2008

mounting a partition in a raw harddisk image

can get the offset from "fdisk -ul -C 1"

the '-C 1' is there to make fdisk shut up about total number of
cylinders. offset can be found multiplying the sector count by 512.

then "mount <file> <mountpoint> -o loop,offset=<offset>"

something else: apparently when you DD a small image onto a larger
harddrive, the remaining space shows up as unpartitioned.

apparently, loopback devices can have partitions: