sfdisk -l -uS disk_image.raw
# look for the start sector of the partition, e.g. 2
mount -o loop,offset=$((2 * 512)) disk_image.raw /mnt
#mount the partition to /mnt (replace 2 with the output from sfdisk)
You could of course also use kpartx to create special device files for the partitions.
0 comments:
Post a Comment