Difference between revisions of "Sugar on a Stick/USB format"

From Sugar Labs
Jump to navigation Jump to search
(spec rev 1)
 
(fix track number)
Line 1: Line 1:
 
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 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!)
+
Partitions are to be aligned on 4MB blocks by using 32 sectors/track and 64 heads and using odd start numbers (counting from 1!)
 
MBR: syslinux MBR bootloader
 
MBR: syslinux MBR bootloader
  

Revision as of 13:08, 1 June 2009

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 64 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