Bootable USB

How to create a bootable USB to install Dragora with.
  1. Partition your USB so you have one partition FAT16. Make sure it’s bootable.
  2. Issue: mkdosfs /dev/sdx1 or equivalent command.
  3. Run syslinux -i /dev/sdx1.
  4. Go into the syslinux directory and locate the mbr.bin file. For me it was /usr/lib/syslinux.
  5. Issue this: dd conv=notrunc bs=440 count=1 if=mbr.bin of=/dev/sdx.
  6. Now download the ISO you want to use. I used dragora-2.2-i486.iso.
  7. Mount the USB and copy all the files from the ISO to it.
  8. Go to the directory where you mounted the USB and create a file called syslinux.cfg.
  9. Fill the file with the following lines:
    DEFAULT dragora
    LABEL dragora
    SAY Now booting the kernel from SYSLINUX...
    KERNEL kernels/32b/gen/vmlinuz
    APPEND ro root=/dev/sda1 initrd=isolinux/initrd.img
  10. These lines might vary if you use another ISO. But just locate the vmlinuz and initrd.img and use those paths.
  11. Unmount the USB and boot with it!
  12. Remember to mount the USB somewhere during the install and enter the path to that directory in one of the steps. I used /var/mnt/hd.