Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update partitioning
  • Loading branch information
pmenzel committed Mar 31, 2023
1 parent 00dbc62 commit f1b419e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions notes.md
Expand Up @@ -4,9 +4,10 @@ Boot into a live system, and make sure grml-debootstrap is installed. For exampl

Create three partitions with `gdisk`:

1. 512 MB EFI System Partition (ESP) of type EF00
2. 512 MB partition 8300 (Linux filesystem) for `/boot`
1. 1 GB EFI System Partition (ESP) of type EF00
2. 1 GB partition 8300 (Linux filesystem) for `/boot`
3. rest for partition 8304 Linux x86-64 root (/) (https://systemd.io/DISCOVERABLE_PARTITIONS/)
4. 8 GB swap partition

Maybe use [boot loader partition](https://systemd.io/BOOT_LOADER_SPECIFICATION/):

Expand All @@ -20,7 +21,7 @@ Do not forget to run `partprobe` to notify the Linux kernel about the partition

Or, with sgdisk:

sudo sgdisk --zap --new=1:0:+512M /dev/nvme0n1 -t 0:ef00 --new=2:0:+1G -t 0:8300 --new=3:0:0 -t 0:8304 -p
sudo sgdisk --zap --new=1:0:+1G /dev/nvme0n1 -t 0:ef00 --new=2:0:+1G -t 0:8300 --new=3:0:-8G -t 0:8304 --new=4:0:0 -t 0:8200 -p

Format partitions:

Expand Down

0 comments on commit f1b419e

Please sign in to comment.