mkimage: create /boot partition at 4096 sectors.
This commit is contained in:
parent
0756604fb0
commit
1ee561f98d
|
@ -116,7 +116,7 @@ parted $FILENAME mktable msdos
|
||||||
if [ "$BOOT_FSTYPE" = "vfat" ]; then
|
if [ "$BOOT_FSTYPE" = "vfat" ]; then
|
||||||
_btype="fat32"
|
_btype="fat32"
|
||||||
fi
|
fi
|
||||||
parted $FILENAME mkpart primary ${_btype} 2048s 256M
|
parted $FILENAME mkpart primary ${_btype} 4096s 256M
|
||||||
parted $FILENAME mkpart primary ext2 256M 100%
|
parted $FILENAME mkpart primary ext2 256M 100%
|
||||||
parted $FILENAME toggle 1 boot
|
parted $FILENAME toggle 1 boot
|
||||||
LOOPDEV=$(losetup --show --find -P $FILENAME)
|
LOOPDEV=$(losetup --show --find -P $FILENAME)
|
||||||
|
|
Loading…
Reference in New Issue