Chromium Code Reviews
DescriptionSwitch to GPT partition format.
This changes switches to using the GPT partition format.
The GPT format is more modern and flexible. It allows us
to create up to 128 partitions, has a crc on the partition
table data, and has a backup partition. It should also make
it easier for us to incorporate a boot loader directly in
firmware (if we use EFI) since GPT is the recommended format.
The image_to_usb and chromeos_install scripts have been
modified to use a common set of shell functions to create
a bootable image. The common functions can create a bootable
image given a rootfs or rootfs partition with output to a
file or device. This simplifies image_to_usb and the
installer while at the same time keeps the code to create
a bootable image from a rootfs in one place. We also allow
for setting the size of the stateful partition. The
default for a minimal partition setup allows us to use
smaller USB keyfobs as an output target if we want.
The work of partitioning is done by calling the bsd-ported
gpt partitioning utility, which works on a file or device.
In order to support legacy BIOS on x86, we use the
syslinux gpt "New protocol" with gptmbr.bin. See the
gpt.txt file in the syslinux doc directory.
Patch Set 1 #
Total comments: 3
Patch Set 2 : Output all dependencies needed to create a bootable image to the output directory. #Patch Set 3 : Address adlr comment #
Total comments: 1
Messages
Total messages: 3 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||