From 7103c116b377e8659b2f9851a163bec2c3b82c9e Mon Sep 17 00:00:00 2001 From: shubhamvis98 <4264954-Shubhamvis98@users.noreply.gitlab.com> Date: Sat, 21 Jan 2023 19:36:33 +0530 Subject: [PATCH] Fix partition type --- funcs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/funcs.sh b/funcs.sh index 60dfe89..58482f0 100644 --- a/funcs.sh +++ b/funcs.sh @@ -30,8 +30,8 @@ mkimg() { unit: sectors first-lba: 2048 sector-size: 512 - 1 : start=2048, size=524288 - 2 : start=526336 + 1 : start=2048, size=524288, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B + 2 : start=526336, type=B921B045-1DF0-41C3-AF44-4C6F280D3FAE EOF echo '[*]Formatting Partitions...' losetup $LOOP -P $IMG