Switch to GUID partitioning
This commit is contained in:
parent
334070c502
commit
86c20fb37a
4
Makefile
4
Makefile
|
@ -86,8 +86,8 @@ $(RAW_IMAGE):
|
||||||
qemu-img create -f raw $(RAW_IMAGE) $(DISK_SIZE)
|
qemu-img create -f raw $(RAW_IMAGE) $(DISK_SIZE)
|
||||||
|
|
||||||
partitions: $(RAW_IMAGE)
|
partitions: $(RAW_IMAGE)
|
||||||
parted -s $(RAW_IMAGE) mklabel msdos
|
parted -s $(RAW_IMAGE) mklabel gpt
|
||||||
parted -s $(RAW_IMAGE) mkpart primary ext2 0 $(DISK_SIZE)
|
parted -s $(RAW_IMAGE) mkpart primary 0 $(DISK_SIZE)
|
||||||
parted -s $(RAW_IMAGE) set 1 boot on
|
parted -s $(RAW_IMAGE) set 1 boot on
|
||||||
|
|
||||||
qemu-nbd -c $(NBD_DEV) $(RAW_IMAGE)
|
qemu-nbd -c $(NBD_DEV) $(RAW_IMAGE)
|
||||||
|
|
Loading…
Reference in New Issue