Change partition alignment to 4MB, type to c and set bootable flag
This commit is contained in:
parent
5e22be6440
commit
9242989469
|
@ -104,8 +104,8 @@ load_qimage() {
|
||||||
qemu-nbd --discard=unmap -c $NBD_DEV image-${STAGE}.qcow2
|
qemu-nbd --discard=unmap -c $NBD_DEV image-${STAGE}.qcow2
|
||||||
sync
|
sync
|
||||||
sfdisk $NBD_DEV << EOF
|
sfdisk $NBD_DEV << EOF
|
||||||
4,250MiB,b,*
|
4MiB,250MiB,c,*
|
||||||
,,83;
|
254MiB,,83;
|
||||||
EOF
|
EOF
|
||||||
sync
|
sync
|
||||||
kpartx -a $NBD_DEV
|
kpartx -a $NBD_DEV
|
||||||
|
|
Loading…
Reference in New Issue
Block a user