Attention is currently required from: Felix Singer. Michael Niewöhner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/56983 )
Change subject: [WIP] util/liveiso: Add documentation about persistent storage ......................................................................
Patch Set 2:
(1 comment)
File util/liveiso/description.md:
https://review.coreboot.org/c/coreboot/+/56983/comment/839c4fe0_2e44c569 PS2, Line 15: * Build one of the configurations using `build-console.sh` or `build-graphical.sh`. You can find the resulting ISO image in `result/iso/`. : * Partition your USB drive. : * Using MS-DOS partition table : ``` : parted -s /dev/sdx mklabel msdos : parted -s /dev/sdx mkpart primary 1MB 100MB # EFI boot partition + bootloader configs + kernel/initrd : parted -s /dev/sdx mkpart logical 100MB 1.1GB # Partition for storing squashfs container : parted -s /dev/sdx mkpart logical 1.1GB 4GB # Partition for persistent storage : parted -s /dev/sdx set 1 boot on # Make legacy bootloader able to recognize this partition : parted -s /dev/sdx name 1 cbboot : parted -s /dev/sdx name 2 cbrootfs : parted -s /dev/sdx name 3 cbpersistent : ``` : : * Using GPT partition table : ``` : parted -s /dev/sdx mklabel gpt : parted -s /dev/sdx mkpart primary 1MB 2MB # Boot partition for legacy boot loaders : parted -s /dev/sdx mkpart primary 2MB 100MB # EFI boot partition + bootloader configs + kernel/initrd : parted -s /dev/sdx mkpart logical 100MB 1.1GB # Partition for storing squashfs container : parted -s /dev/sdx mkpart logical 1.1GB 4GB # Partition for persistent storage : parted -s /dev/sdx set 1 bios_grub on # Make legacy bootloader able to recognize this partition : parted -s /dev/sdx set 2 boot on # Make EFI bootloader able to recognize this partition : parted -s /dev/sdx name 2 cbboot : parted -s /dev/sdx name 3 cbrootfs : parted -s /dev/sdx name 4 cbpersistent : ``` : just an idea: you could add a sfdisk script instead