Skip to content

Commit

Permalink
grub: shrink partition 2
Browse files Browse the repository at this point in the history
Signed-off-by: AuxXxilium <[email protected]>
  • Loading branch information
AuxXxilium committed Oct 25, 2024
1 parent 1d13466 commit bce7d47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/grub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bce7d47

Please sign in to comment.