From 252097a81377ebc9b9a806b54504ba9228972dc5 Mon Sep 17 00:00:00 2001 From: sin Date: Mon, 16 Sep 2013 19:24:04 +0100 Subject: [PATCH] Set the volume label and make dd more idiomatic --- create-bootable | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/create-bootable b/create-bootable index 0f82a2d..384334e 100755 --- a/create-bootable +++ b/create-bootable @@ -16,13 +16,13 @@ w' lodev=$(losetup -f --show morpheus-boot.img) || exit 1 partition="$lodev"p1 -mkfs.ext2 $partition || exit 1 +mkfs.ext2 -L MORPHEUS $partition || exit 1 mount $partition /mnt || exit 1 fakeroot cp -dar root/* /mnt extlinux --install /mnt/boot || exit 1 -dd if=data/mbr.bin conv=notrunc bs=440 count=1 of=$lodev +dd if=data/mbr.bin of=$lodev conv=notrunc bs=440 count=1 sync umount /mnt