From 63c21306acac927fa904afb4d94c346637d91173 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Wed, 4 Nov 2020 20:42:40 +0100 Subject: [PATCH] Add instructions for grub2 --- .../Dokumente/other-linux/arch-install.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/arch-config/Dokumente/other-linux/arch-install.md b/arch-config/Dokumente/other-linux/arch-install.md index bdcb45d6..b63c251d 100644 --- a/arch-config/Dokumente/other-linux/arch-install.md +++ b/arch-config/Dokumente/other-linux/arch-install.md @@ -42,7 +42,7 @@ Generally partitions have to be mounted where you will later use them in your sy Root: /mnt EFI: /mnt/boot -Home: /mnt/home +~~Home: /mnt/home~~ ## Creating swapfile ```bash @@ -114,6 +114,7 @@ Edit `/etc/hosts` ## Bootloader installation ### rEFInd +*doesn't work atm* ```bash 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) 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 `systemctl enable NetworkManager`