Revise comments
This commit is contained in:
parent
48c3d3ff88
commit
43f41dc1d4
|
@ -1,14 +1,14 @@
|
||||||
### Partitioning: Stage Start.
|
### Partitioning: Stage Start.
|
||||||
|
|
||||||
## Creating a GPT partition table for our reproducible dev environment.
|
## Creates a GPT partition table for our reproducible dev environment.
|
||||||
sudo parted /dev/vda -- mklabel gpt
|
sudo parted /dev/vda -- mklabel gpt
|
||||||
## Configuring a boot partition of size 525 MiB with a 1MiB offset.
|
## Configures a boot partition of size 525 MiB with a 1MiB offset.
|
||||||
sudo parted /dev/vda -- mkpart ESP fat32 1MiB 526MiB
|
sudo parted /dev/vda -- mkpart ESP fat32 1MiB 526MiB
|
||||||
## Setting the first partition as our boot location.
|
## Sets the first partition as our boot location.
|
||||||
sudo parted /dev/vda -- set 1 esp on
|
sudo parted /dev/vda -- set 1 esp on
|
||||||
## Creating a primary partition that allocates/uses the remaining space (starting from our boot to leaving 16GiB for swap partition).
|
## Creates a primary partition that allocates/uses the remaining space (starting from our boot to leaving 16GiB for swap partition).
|
||||||
sudo parted /dev/vda -- mkpart primary 526MiB -16GiB
|
sudo parted /dev/vda -- mkpart primary 526MiB -16GiB
|
||||||
## Allocating the remaining 16GiB of disk space for a swap partition.
|
## Allocates the remaining 16GiB of disk space for a swap partition.
|
||||||
sudo parted /dev/vda -- mkpart linux-swap -16GiB 100%
|
sudo parted /dev/vda -- mkpart linux-swap -16GiB 100%
|
||||||
|
|
||||||
### Partitioning: Stage End.
|
### Partitioning: Stage End.
|
||||||
|
@ -16,13 +16,13 @@ sudo parted /dev/vda -- mkpart linux-swap -16GiB 100%
|
||||||
|
|
||||||
|
|
||||||
### Format Stage 1.
|
### Format Stage 1.
|
||||||
## Formatting the boot partition with the FAT32 file system.
|
## Formats the boot partition with the FAT32 file system.
|
||||||
sudo mkfs.fat -F 32 -n BOOT /dev/vda1
|
sudo mkfs.fat -F 32 -n BOOT /dev/vda1
|
||||||
|
|
||||||
|
|
||||||
## Initializing the swap partition.
|
## Initializes the swap partition.
|
||||||
sudo mkswap /dev/vda3
|
sudo mkswap /dev/vda3
|
||||||
## Activating swap.
|
## Activates swap.
|
||||||
sudo swapon /dev/vda3
|
sudo swapon /dev/vda3
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue