Layout of a USB Stick Created by mk-boot-usb

Note: This page applies to version 08h or later. For older versions, see this page.

layout example Suppose that mk-boot-usb reports your usb stick to be 1976MB in size. Then you give the command mk-boot-usb -d /dev/sdx -z '476 300 400 700' -4 100. Note that the numbers, including the one after the -4 option, add up to 1976. This will create a disk layout like the one in the picture:

  1. (primary) partition 1 is formatted as a 476MB (roughly) vfat that MS Windows can see;
  2. (extended) partition 2 contains three ext2 partitions each of size 300MB, 400MB, and 700MB (roughly) for you to copy 3 live cd contents into;
  3. (primary) partition 4 is formatted as a 100MB (roughly) ext2 that holds the boot files, namely grub and ttylinux.

Version 08g and earlier used a simpler layout (without partition 4) and stored boot files in the vfat partition. Naive MS Windows users sometimes accidentally mess up with the most important boot files and make the stick non-bootable. This new layout is used in version 08h and later to prevent that.

When you don't specify the -4 option, the default is -4 16, meaning only 16MB is used for grub and ttylinux.


mk-boot-usb

  1. intro
  2. use
  3. slax
  4. clone
  5. discuss
  6. advocacy

appendix

other lang