From 924298946953b2a9261b898bf9ecdf2a9c20c47e Mon Sep 17 00:00:00 2001 From: Holger Pandel Date: Wed, 13 May 2020 00:17:06 +0200 Subject: [PATCH] Change partition alignment to 4MB, type to c and set bootable flag --- scripts/qcow2_handling | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/qcow2_handling b/scripts/qcow2_handling index f5528f2..f722937 100644 --- a/scripts/qcow2_handling +++ b/scripts/qcow2_handling @@ -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