Disk Images: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
→‎Handling of Partition Tables in images.: Plan 9 can also mount partitions in images cleanly
Line 178: Line 178:
== Handling of Partition Tables in images. ==
== Handling of Partition Tables in images. ==


At the time of writing, only Apple's [[hdiutil]] can handle the mounting of partitions inside of an image cleanly. Linux users can use [[Loopback Device|a hack]] to skip over the MBR sector. In general, you can solve the partitioning information problem by using a separate image for one partition, then insert it into a larger image with partitioning data at the right place. This works because offsets are generally relative to the start of the partition.
At the time of writing, only Apple's [[hdiutil]] and Plan 9's [http://9p.io/magic/man2html/8/partfs partfs] can handle the mounting of partitions inside of an image cleanly. Linux users can use [[Loopback Device|a hack]] to skip over the MBR sector. In general, you can solve the partitioning information problem by using a separate image for one partition, then insert it into a larger image with partitioning data at the right place. This works because offsets are generally relative to the start of the partition.


There's a tutorial on [[Bootable Disk]]s.
There's a tutorial on [[Bootable Disk]]s.