0

I use Ubuntu and Debian Linux.

I have an image of a (mac) disk that uses GPT.

How do I mount one of the partions on this? I have installed gdisk and can list the partitions on the image.

I would actually like to extract an image of each of the partitions so I end up with an image for each partition.

How to do that?

Thomas
  • 175
  • 3
  • 9
  • It's easy to confuse "Mac" disks with [APM](http://en.wikipedia.org/wiki/Apple_Partition_Map), so avoid using that term inappropriately. GPT is GPT, on any machine. – Ignacio Vazquez-Abrams Jun 08 '11 at 11:47

2 Answers2

1

This should get you started.

songei2f
  • 1,924
  • 1
  • 20
  • 30
1

While @alharaka's suggestion will work, you might find it easier to use kpartx, as described in this blog post:

After attaching your disk image to a loop device, kpartx will create device nodes for each of the partitions. I believe kpartx supports GPT.

larsks
  • 41,276
  • 13
  • 117
  • 170