Change partition alignment to 4MB, type to c and set bootable flag

This commit is contained in:
Holger Pandel 2020-05-13 00:17:06 +02:00
parent 5e22be6440
commit 9242989469

View File

@ -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