You are not logged in.
TLDR: go to point 21
I'm trying to get pure Arch linux installed on my laptop (switching from ubuntu) and thus my first ever attempt...
So here is what I did so far (In my attempt at following the wiki as much as possible)
1.
ls /sys/firmware/efi/efivars returned a bunch of stuff, so thought that should be good
2.
wifi-menu to setup wifi, then
ping -c 3 archlinux/org with 0% packet loss
3.
timedatectl set-ntp true 4.
fdisk -l showing both my /dev/nvme0n1 of 256G and my installation medium /dev/sda of 16G
5.
gdisk /dev/nvme0n1
x
zand confirm to wipe.
6.
cgdisk /dev/nvme0n1 then make 2 partitions, one with type EF00 (EFI system) of size 512MiB called boot and another with type 8300 (Linux Filesystem) called root with the remaining size.
7.
mkfs.fat -F32 /dev/nvme0n1p1
mkfs.ext4 /dev/nvme0n1p2 8.
mount /dev/nvme0n1p2 /mnt
mkdir /mnt/boot
mount /dev/nvme0n1p1 /mnt/boot 9.
pacstrap /mnt base base-devel 10.
genfstab -U /mnt >> /mnt/etc/fstab 11.
arch-chroot /mnt 12.
ln -sf /usr/share/zoneinfo/Region/City /etc/localtime 13.
hwclock --systohc 14. uncomment en_US.UTF-8 UTF-8 in /etc/locale.gen then
locale-gen 15.
nano /etc/locale.conf and add LANG=en_US.UTF-8 and save+exit
16.
nano /etc/hostname and add Arch-PC and save+exit
17. add line to file /etc/hosts with 127.0.1.1 localhost.localdomain Arch-PC
18.
pacman -S iw wpa_supplicant netctl 19.
passwd and type password
20.
pacman -S grub 21.
grub-install /dev/nvme0n1 failed with "cannot find EFI directory" and
grub-install /dev/nvme0n1p1 also fails with the same message
Last edited by LinG (2017-07-24 15:23:35)
Offline
Where did you get that grub-install command from?
It's nothing like the one used in the wiki...
https://wiki.archlinux.org/index.php/GR … allation_2
Offline
Good question... I sometimes surprise myself...
Anyways, using
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=grub worked without errors, thx for the hint
Offline
Glad I could help ![]()
Don't forget to mark this thread solved...
https://bbs.archlinux.org/viewtopic.php?id=50161
Offline