Sugar on a Stick/USB format

From Sugar Labs
< Sugar on a Stick
Revision as of 12:53, 13 May 2009 by LFaraone (talk | contribs) (spec rev 1)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Partitions should be set up as follows to maintain uniformity and compatability with all BIOSes, both those who support USB_HDD and USB_ZIP booting.

Partitions are to be aligned on 4MB blocks by using 32 sectors/track and 128 heads and using odd start numbers (counting from 1!) MBR: syslinux MBR bootloader

  • partition 1: FAT16 (0x06), 32MB, standard layout, syslinux setup + kernel, marked bootable
  • partition 4: copy of partition 1 (yes, in front of part2!)
  • partition 2: ext3 remaining part of disk

Using fdisk, the above can be expressed as a session of:

d *
n
p
1
a
1

+32M
n
p
4 

+32M
n
p
2

w

Followed by:

mkfs.vfat device1
mkfs.vfat device4
mkfs.ext3 device2