format
This commit is contained in:
parent
169edc5c49
commit
a2fe5d5c82
@ -13,9 +13,9 @@ truncate -s2100M $out
|
|||||||
|
|
||||||
# partition it
|
# partition it
|
||||||
sgdisk \
|
sgdisk \
|
||||||
--new=0:4096:+2G --typecode=0:EF00 -c 0:boot \
|
--new=0:4096:+2G --typecode=0:EF00 -c 0:boot \
|
||||||
--new=0:0:+2M --typecode=0:EF02 -c 0:BIOS-BOOT \
|
--new=0:0:+2M --typecode=0:EF02 -c 0:BIOS-BOOT \
|
||||||
--hybrid=1:2 --print $out
|
--hybrid=1:2 --print $out
|
||||||
|
|
||||||
dev=$(losetup --find --show --partscan $out)
|
dev=$(losetup --find --show --partscan $out)
|
||||||
trap "losetup -d $dev" EXIT
|
trap "losetup -d $dev" EXIT
|
||||||
|
Loading…
Reference in New Issue
Block a user