Skip to content

Commit

Permalink
s|/boot/EFI|/boot/efi|
Browse files Browse the repository at this point in the history
  • Loading branch information
Antiz96 committed Apr 20, 2024
1 parent 9ebf6a8 commit a780c99
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Arch-Linux/Base_installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ fdisk -l #Check the hard drives' name to select the one I want to install Arch L

### Partition scheme

> EFI partition mounted on /boot/EFI --> 1G - FAT32
> EFI partition mounted on /boot/efi --> 1G - FAT32
> Swap partition --> 8G - SWAP
> Root partition mounted on / --> Left free space - EXT4
Expand Down Expand Up @@ -56,8 +56,8 @@ mkfs.ext4 /dev/nvme0n1p3 #Create the filesystem for the Root partition

```bash
mount /dev/nvme0n1p3 /mnt #Mount the Root partition on /mnt to install the system's base on it
mkdir -p /mnt/boot/EFI #Create the /boot/EFI directories in /mnt
mount /dev/nvme0n1p1 /mnt/boot/EFI #Mount the EFI partition on /boot/EFI
mkdir -p /mnt/boot/efi #Create the /boot/efi directories in /mnt
mount /dev/nvme0n1p1 /mnt/boot/efi #Mount the EFI partition on /boot/efi
pacstrap /mnt base linux linux-firmware #Install the system's base on the Root partition
genfstab -U /mnt >> /mnt/etc/fstab #Generate the system's fstab
```
Expand Down
2 changes: 1 addition & 1 deletion Arch-Linux/Base_installation_with_disk_encryption.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ mkfs.ext4 /dev/mapper/root #Make the filesystem for the root partition

```bash
mount /dev/mapper/root /mnt #Mount the Root partition on /mnt to install the system's base on it
mkdir /mnt/boot #Create the /boot directory in /mnt (the EFI partition has to be mounted specifically in /boot when doing LUKS encryption and not /boot/EFI, otherwise it will also be encrypted and you'll need extra steps to make Grub being able to decrypt it. Furthermore, Grub only has a partial Luks2 support, so even tho it is possible I do not recommend it. If you want to do it anyway, check https://wiki.archlinux.org/title/GRUB#Encrypted_/boot)
mkdir /mnt/boot #Create the /boot directory in /mnt (the EFI partition has to be mounted specifically in /boot when doing LUKS encryption and not /boot/efi, otherwise it will also be encrypted and you'll need extra steps to make Grub being able to decrypt it. Furthermore, Grub only has a partial Luks2 support, so even tho it is possible I do not recommend it. If you want to do it anyway, check https://wiki.archlinux.org/title/GRUB#Encrypted_/boot)
mount /dev/nvme0n1p1 /mnt/boot #Mount my EFI partition on it
pacstrap /mnt base linux linux-firmware #Install the system's base on the Root partition
genfstab -U /mnt >> /mnt/etc/fstab #Generate the system's fstab
Expand Down
6 changes: 3 additions & 3 deletions Gentoo/Base_installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ mkswap /dev/sda2 && swapon /dev/sda2
mkfs.ext4 /dev/sda3
mkdir -p /mnt/gentoo
mount /dev/sda3 /mnt/gentoo
mkdir -p /mnt/gentoo/boot/EFI
mount /dev/sda1 /mnt/gentoo/boot/EFI
mkdir -p /mnt/gentoo/boot/efi
mount /dev/sda1 /mnt/gentoo/boot/efi
```

### Set the date and time
Expand Down Expand Up @@ -289,7 +289,7 @@ vim /etc/portage/make.conf
```bash
emerge --ask --verbose sys-boot/grub
grub-install --target=x86_64-efi --efi-directory=/boot/EFI
grub-install --target=x86_64-efi --efi-directory=/boot/efi
grub-mkconfig -o /boot/grub/grub.cfg
```

Expand Down

0 comments on commit a780c99

Please sign in to comment.