fixed boot partition
This commit is contained in:
parent
e3a37949d0
commit
01a2d88865
1 changed files with 2 additions and 2 deletions
|
@ -65,8 +65,8 @@ loopdev=$(losetup --find --show "${image}")
|
|||
|
||||
echo "==> Partitioning image..."
|
||||
parted --script "${loopdev}" mklabel msdos
|
||||
parted --script "${loopdev}" mkpart primary fat32 0% 200M
|
||||
parted --script "${loopdev}" mkpart primary ext4 200M 100%
|
||||
parted --script "${loopdev}" mkpart primary fat32 0% 1024M
|
||||
parted --script "${loopdev}" mkpart primary ext4 1024M 100%
|
||||
|
||||
echo "==> Formatting image..."
|
||||
bootdev=$(ls "${loopdev}"*1)
|
||||
|
|
Loading…
Add table
Reference in a new issue