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

pull/349/head
Holger Pandel 2020-05-13 00:17:06 +02:00
parent 5e22be6440
commit 9242989469
1 changed files with 2 additions and 2 deletions

View File

@ -104,8 +104,8 @@ load_qimage() {
qemu-nbd --discard=unmap -c $NBD_DEV image-${STAGE}.qcow2
sync
sfdisk $NBD_DEV << EOF
4,250MiB,b,*
,,83;
4MiB,250MiB,c,*
254MiB,,83;
EOF
sync
kpartx -a $NBD_DEV