clean & update
This commit is contained in:
+3
-3
@@ -9,12 +9,12 @@ if [ -e $out ]; then
|
||||
fi
|
||||
|
||||
# create the file
|
||||
truncate -s144M $out
|
||||
truncate -s 192M $out
|
||||
|
||||
# partition it
|
||||
sgdisk \
|
||||
--new=0:4096:+128M --typecode=0:EF00 -c 0:boot \
|
||||
--new=0:0:+2M --typecode=0:EF02 -c 0:BIOS-BOOT \
|
||||
--new=1:2048: --typecode=1:EF00 -c 1:boot \
|
||||
--new=2:34:2047 --typecode=2:EF02 -c 2:BIOS-BOOT \
|
||||
--hybrid=1:2 --print $out
|
||||
|
||||
dev=$(losetup --find --show --partscan $out)
|
||||
|
||||
Reference in New Issue
Block a user