add legacy vs uefi to arch install script

This commit is contained in:
Malin Freeborn 2020-06-19 15:19:53 +02:00
parent ba9e68abc3
commit ae3fee2e37
1 changed files with 14 additions and 7 deletions

View File

@ -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.