From bce7d47e4ad39777716de39bb262a906caa12c4b Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Fri, 25 Oct 2024 20:20:11 +0200 Subject: [PATCH] grub: shrink partition 2 Signed-off-by: AuxXxilium --- scripts/grub.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/grub.sh b/scripts/grub.sh index 6ff7d98d..02702519 100755 --- a/scripts/grub.sh +++ b/scripts/grub.sh @@ -30,7 +30,7 @@ popd rm -f grub.img dd if=/dev/zero of=grub.img bs=1M seek=1024 count=0 -echo -e "n\np\n1\n\n+50M\nn\np\n2\n\n+100M\nn\np\n3\n\n\na\n1\nw\nq\n" | fdisk grub.img +echo -e "n\np\n1\n\n+50M\nn\np\n2\n\n+50M\nn\np\n3\n\n\na\n1\nw\nq\n" | fdisk grub.img fdisk -l grub.img LOOPX=$(sudo losetup -f)