5-auto-regen-zbm #13

Merged
hygienic-books merged 15 commits from 5-auto-regen-zbm into main 2023-10-27 01:09:08 +00:00
Showing only changes of commit 9f0f19355e - Show all commits

View File

@ -60,12 +60,12 @@ NAME SIZE FSTYPE PARTTYPE PARTTYPENAME PTTYP
### Legacy BIOS ### Legacy BIOS
For a legacy BIOS machine you'll be using a master boot record (MBR) on your disk. For a legacy BIOS machine you'll be using a Master Boot Record (MBR) on your disk.
``` ```
printf -- '%s\n' 'label: dos' 'start=1MiB, size=512MiB, type=83, bootable' 'start=513MiB, size=+, type=bf' | sfdisk /dev/sda printf -- '%s\n' 'label: dos' 'start=1MiB, size=512MiB, type=83, bootable' 'start=513MiB, size=+, type=bf' | sfdisk /dev/sda
mkfs.vfat /dev/sda1 mkfs.vfat /dev/sda1
``` ```
> `label: dos`: Create the following partition layout in a master boot record. > `label: dos`: Create the following partition layout in a Master Boot Record.
> >
> `start=1MiB, size=512MiB, type=83, bootable`: Partition 1 begins 1 Mebibyte after disk start and is 512 Mebibyte in size. We're setting its bootable flag and setting partition type code `83` ("Linux"). > `start=1MiB, size=512MiB, type=83, bootable`: Partition 1 begins 1 Mebibyte after disk start and is 512 Mebibyte in size. We're setting its bootable flag and setting partition type code `83` ("Linux").
> >