On Feb 11, 2014, at 6:07 PM, Pedro Francisco <pedrogfrancisco.public@gmail.com> wrote:

Hello!
I'm considering the hypothesis of booting a raw GPT partition on QEMU.

I was pondering basing my attempt on: https://wiki.archlinux.org/index.php/QEMU#Simulate_virtual_disk_with_MBR_using_linear_RAID .

Basically, I would create a fake GPT partition table (actually, two, since they are mirrored at the end of the disk), manually calculating the start point of the partition I want to start.

I would like to avoid including on this disk the Linux partitions, hence the need for such calculations.

Anyone here ever tried anything similar?


I don't really understand the use case for this, other than doing it because it can be done. Seems fragile. These days I'm only using qcow2 files as backing for VMs instead of using any of raw partitions, raw files, or LVs.


Chris Murphy