Bootable Linux USB stick: Difference between revisions

Line 33: Line 33:
=== GPT partition the stick using gdisk ===
=== GPT partition the stick using gdisk ===
The example shows a 32 GB Sandisk Extreme:
The example shows a 32 GB Sandisk Extreme:
  Part 1: +1G VFAT       (0700) (Windows needs it to be the first partition)  
  Part 1: +1G VFAT           (0700) (Windows needs it to be the first partition)  
  Part 2: +1M Biosboot   (ef02)
  Part 2: +1M Biosboot       (ef02)
  Part 3: +250M EFI       (ef00)
  Part 3: +250M EFI           (ef00)
  Part 4: +13500M /       (0083)
  Part 4: +13500M /           (0083)
  Part 5: +15000M /mnt/data (0083)
  Part 5: +15000M /mnt/data   (0083)
For performance, make sure that the big partitions are aligned to 8192-sector boundaries; gdisk default is 2048-sector boundaries - the default can be adjusted. If you use the above sizes and the + sign for specifying them, this happens to work out automatically.
For performance, make sure that the big partitions are aligned to 8192-sector boundaries; gdisk default is 2048-sector boundaries - the default can be adjusted. If you use the above sizes and the + sign for specifying them, this happens to work out automatically.


1,330

edits