From ae3fee2e37e30e2a3c31421dfbf64db2cd986f9f Mon Sep 17 00:00:00 2001 From: Malin Freeborn Date: Fri, 19 Jun 2020 15:19:53 +0200 Subject: [PATCH] add legacy vs uefi to arch install script --- distros/arch/basic-install.md | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/distros/arch/basic-install.md b/distros/arch/basic-install.md index 9b47ffc..de183a8 100644 --- a/distros/arch/basic-install.md +++ b/distros/arch/basic-install.md @@ -1,5 +1,3 @@ - - Keyboard layout changed. > ls /usr/share/kbd/keymaps/**/*.map.gz @@ -49,7 +47,6 @@ mkpart ESP fat32 1MiB 200MiB set 1 boot on name 1 efi - Use pacstrap to get the base install. > mount /dev/sda3 /mnt/ @@ -62,7 +59,7 @@ Use pacstrap to get the base install. > mount /dev/sda1 /mnt/boot -> pacstrap /mnt base base-devel vim +> pacstrap /mnt base base-devel vim linux linux-firmware Make fstab notes for new system. @@ -74,8 +71,18 @@ Make fstab notes for new system. > pacman -Sy networkmanager grub +For legacy: + > grub-install --target=i386-pc /dev/sda +For EFI: + +> sudo pacman -S efibootmgr + +> mkdir /boot/efi + +> grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB --remmovable + > grub-mkconfig -o /boot/grub/grub.cfg set local time @@ -92,12 +99,12 @@ Make your keyboard changes permenent with: > vi /etc/vconsole.conf -then set: `KEYMAP=uk.map.gz` +Then set: `KEYMAP=uk.map.gz` unsure about this bit - is this name just for the loadkeys function? -make a hostname +Make a hostname -echo pc > /etc/hostname +> echo pc > /etc/hostname Set hostnames for network, or at least your own.