mkimage: create /boot partition at 4096 sectors.

This commit is contained in:
Juan RP 2014-01-21 23:27:52 +01:00
parent 0756604fb0
commit 1ee561f98d
1 changed files with 1 additions and 1 deletions

View File

@ -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)