Skip to content

Instantly share code, notes, and snippets.

@mailinglists35
Created May 27, 2023 22:17
Show Gist options
  • Save mailinglists35/5b076289777ac21e5c16a30e77073c45 to your computer and use it in GitHub Desktop.
Save mailinglists35/5b076289777ac21e5c16a30e77073c45 to your computer and use it in GitHub Desktop.
create parted gpt partitions on bios disk including microsoft reserved
mktable gpt
mkpart ESP fat32 1MiB 513MiB
set 1 boot on
mkpart biosboot 513MiB 514MiB
set 2 bios_grub on
mkpart msftres 514MiB 530MiB
unit MiB
(parted) p
Model: ATA Samsung SSD 860 (scsi)
Disk /dev/sdc: 238475MiB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1.00MiB 513MiB 512MiB fat32 ESP boot, esp
2 513MiB 514MiB 1.00MiB biosboot bios_grub
3 514MiB 530MiB 16.0MiB msftres
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment