commit 727e5c46bba2b249b8a397615a1a269f74455ecd
parent f1203123de54e59255485bf99d36366b3e786946
Author: sin <sin@2f30.org>
Date: Mon, 16 Sep 2013 13:53:55 +0100
Use a 128M partition and exit if extlinux fails
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/create-bootable b/create-bootable
@@ -2,7 +2,7 @@
#
# Ensure you've loaded the loop module with max_part=15
-dd if=/dev/zero of=morpheus-boot.img bs=256MB count=1
+dd if=/dev/zero of=morpheus-boot.img bs=128M count=1
fdisk morpheus-boot.img <<< '
o
n
@@ -19,7 +19,7 @@ mkfs.ext4 $partition || exit 1
mount $partition /mnt || exit 1
cp -dar root/* /mnt
-extlinux --install /mnt/boot
+extlinux --install /mnt/boot || exit 1
dd if=data/mbr.bin conv=notrunc bs=440 count=1 of=$lodev