Add instructions for grub2

This commit is contained in:
RealStickman 2020-11-04 20:42:40 +01:00
parent 7be1942d90
commit 63c21306ac

View File

@ -42,7 +42,7 @@ Generally partitions have to be mounted where you will later use them in your sy
Root: /mnt Root: /mnt
EFI: /mnt/boot EFI: /mnt/boot
Home: /mnt/home ~~Home: /mnt/home~~
## Creating swapfile ## Creating swapfile
```bash ```bash
@ -114,6 +114,7 @@ Edit `/etc/hosts`
## Bootloader installation ## Bootloader installation
### rEFInd ### rEFInd
*doesn't work atm*
```bash ```bash
pacman -S refind-efi efibootmgr networkmanager network-manager-applet dialog mtools base-devel linux-headers openssh pacman -S refind-efi efibootmgr networkmanager network-manager-applet dialog mtools base-devel linux-headers openssh
``` ```
@ -131,6 +132,21 @@ Edit `/boot/EFI/BOOT/refind.conf`
Search for `Arch Linux` (vim, press "/". Attention: case sensitive) Search for `Arch Linux` (vim, press "/". Attention: case sensitive)
Under `options` replace the UUID after `root=` with the configured EFI partition. Under `options` replace the UUID after `root=` with the configured EFI partition.
### GRUB
```bash
pacman -S grub efibootmgr networkmanager network-manager-applet dialog mtools base-devel linux-headers openssh
```
```bash
grub-install --target=x86_64-efi --efi-directory=(efi partition mountpoint) --bootloader-id=GRUB
```
```bash
grub-mkconfig -o /boot/grub/grub.cfg
```
### systemd-boot
## Networking ## Networking
`systemctl enable NetworkManager` `systemctl enable NetworkManager`