paperlined.org
sysadmin > boot > usb-resident > many_partitions
document updated 13 years ago, on Apr 16, 2011
Here's how I setup my flash drive:
  1. run GParted
    1. delete all partitions
    2. Device > Create Partition Table > Advanced > GPT
    3. create two partitions for GRUB2:
      1. Create a ~20mb ext2 partition, to hold the GRUB2 setup files
      2. create a TINY partition after that, apply, and enable the "bios_grub" flag on it
  2. install GRUB2
    1. grub-install --root-directory=/media/sdb1/ /dev/sdb
    2. edit /boot/grub/grub.cfg, and add entries for each boot-program there