Filesystem instructions for CLI

This commit is contained in:
Out Of Ideas 2024-01-27 13:19:02 -06:00
parent 0a10a76f31
commit bdad9a4427

View file

@ -61,11 +61,7 @@ To switch to Dvorak, run:
``` ```
loadkeys dvorak loadkeys dvorak
``` ```
After chroot, run this. If you are using a different keymap, then replace `dvorak` with that keymap.
```
sed -i 's/us/dvorak/g' /etc/rc.conf
```
The keymaps are listed in `/usr/share/kbd/keymaps`. If you are using a different keymap, then replace `dvorak` with tat keymap. The keymap will be changed back to Gradma's keymap later.
## SSH ## SSH
If you would like install over SSH, do the following: If you would like install over SSH, do the following:
@ -337,6 +333,46 @@ When you are ready, write the changes, and you will be regreeted with the `# `.
Command (m for help): w Command (m for help): w
``` ```
Once again, I recommend refering to the linked Gentoo Wiki page, if you want to well understand the partitioning process. If you followed this section, skip the Legacy BIOS section. Once again, I recommend refering to the linked Gentoo Wiki page, if you want to well understand the partitioning process. If you followed this section, skip the Legacy BIOS section.
### Creating the filesystems
#### UEFI
The boot partition should be vfat, the swap partition should be swap, and the root partition should be a linux filesystem.
Set the filesystem to vfat on the boot partition.
```sh
mkfs.vfat <boot partition>
```
Replace **\<boot partition\>** with the name of the boot partition (ie. `/dev/sda1`).
Set the filesystem to xfs on the root partition.
```sh
mkfs.xfs <root partition>
```
Replace **\<root partition\>** with the name of the root partition (ie. `/dev/sda3`).
Now initialize the swap parititon.
```sh
mkswap <swap partition>
```
Replace **\<swap partition\>** with the name of the root partition (ie. `/dev/sda2`).
#### Legacy BIOS
Set the filesystem to xfs on the root partition.
```sh
mkfs.xfs <root partition>
```
Replace **\<root partition\>** with the name of the root partition (ie. `/dev/sda2`).
Now initialize the swap parititon.
```sh
mkswap <swap partition>
```
Replace **\<swap partition\>** with the name of the root partition (ie. `/dev/sda1`).
### Setting the keybord layout
```sh
sed -i 's/us/dvorak/g' /etc/rc.conf
```
The keymaps are listed in `/usr/share/kbd/keymaps`. If you are using a different keymap, then replace `dvorak` with that keymap. The keymap will be changed back to Gradma's keymap later.
## GUI ## GUI
### Running the installer ### Running the installer
Running the installer is simple. Running the installer is simple.