mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-23 22:19:52 +07:00
grub: shrink partition 2
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
1d13466f83
commit
bce7d47e4a
@ -30,7 +30,7 @@ popd
|
|||||||
|
|
||||||
rm -f grub.img
|
rm -f grub.img
|
||||||
dd if=/dev/zero of=grub.img bs=1M seek=1024 count=0
|
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
|
fdisk -l grub.img
|
||||||
|
|
||||||
LOOPX=$(sudo losetup -f)
|
LOOPX=$(sudo losetup -f)
|
||||||
|
Loading…
Reference in New Issue
Block a user