Pre's flash disk

From WebOS Internals
Revision as of 12:13, 19 May 2010 by IDG (talk | contribs)
Jump to navigation Jump to search

The Pre's flash disk appears to the device as a MMC and uses the standard fdisk partition scheme, with a MBR-like structure in the first block. There are three partitions:

  1. type 0xf0 start 0x00000400 size 0x00002000 NVRAM and Tokens
  2. type 0x83 start 0x00002400 size 0x00010000 /boot (ext3)
  3. type 0x8e start 0x00012400 size 0x00f3dc00 Logical Volumes

The space between the MBR and the first partition are used to store the bootloader (Bootie). The /boot partition contains the linux kernel (in uImage format), a copy of the bootloader and the minimal userland required to start the LVM and to pivot the root to /dev/mapper/store-root and perform the "real" boot from there.