# 512 bytes: MBR, partition table, load GRUB 2
echo 4 63 | mksh /usr/share/grml-live/scripts/bootgrub.mksh -A -M 4:0x96 -g $cyls:16:32
# pad to a whole of 2048 bytes (one CD sector)
dd if=/dev/zero bs=512 count=3 2>/dev/null
# append GRUB 2 (must be <=30720 bytes)
cat boot/grub/core.img
# 512 bytes: MBR, partition table, load GRUB 2
echo 4 63 | mksh /usr/share/grml-live/scripts/bootgrub.mksh -A -M 4:0x96 -g $cyls:16:32
# pad to a whole of 2048 bytes (one CD sector)
dd if=/dev/zero bs=512 count=3 2>/dev/null
# append GRUB 2 (must be <=30720 bytes)
cat boot/grub/core.img