You are not logged in.
Pages: 1
Hi All,
First time installing Arch, this I've been trying to follow the installation guide and this is my third or fourth attempt:
When I reboot after installing it takes me to the grub> prompt. If I try "boot" It tells me I need to load the kernel.
I did generate the grub config file, which after some research seems to be a regular culprit for this problem.
Here's what I did to get to this point, after booting to a usb drive:
#iwctl
connect to wifi
#cfdisk /dev/nvme0n1
- create three partitions:
/dev/nvme0n1p1 - type EFI, 512M
/dev/nvme0n1p2 - type Linux, 114GB
/dev/nvme0n1p3 - type Linux Swap, ~4GB
- write
# mkfs.ext4 /dev/nvme0n1p2
# mkswap /dev/nvme0n1p3
# mount /dev/nvme0n1p2 /mnt
# swapon /dev/nvmae0np3
# pacstrap /mnt base linux linux-firmware
# genfstab -U /mnt >> /mnt/etc/fstab
# nano /mnt/etc/fstab
(shows nvme0n1p2(linux) and nvme0n1p3(swap))
# arch-chroot /mnt
# ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime
# hwclock --systohc
# pacman -S nano
edited the locale.gen file
# locale-gen
# nano /etc/hostname
added hostname
# nano /etc/hosts
added entries
# passwd
created password
# pacman -S grub efibootmgr
installed
# mount /dev/nvme0n1p1 /boot
# grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
No error reported
# grub-mkconfig -o /boot/grub/grub.cfg
done (no errors)
# exit
# reboot
When I got stuck at grub, I tried reinstalling the kernel after remounting everything:
# pacman -Syu linux
...and also regenerated my fstab after seeing that the EFI partition wasn't showing up...not sure if that would affect this.
# genfstab -U /mnt >> /mnt/etc/fstab
This is on an MSI laptop which originally had windows on a fakeRAID which I turned off, and I plan to use the two nvme drives separately. Ideally I would like to install windows an the second drive to have a dual boot setup.
My next step is to read the GRUB and EFI docs again, I don't have my head wrapped around how they actually work and I feel pretty lost.
Thanks in advance!
Last edited by markersniffen (2021-05-01 19:24:55)
Offline
Offline
Ah, seems obvious now...thanks for the quick reply!
Offline
Pages: 1