You are not logged in.
Hello,
After installing Arch and setting up GRUB, my system does not boot as expected. Instead, after rebooting, I am always taken back to the live environment.
Here are my details:
My EFI partition is located at /dev/nvme0n1p1.
I have two identical NVMe drives: /dev/nvme0n1 and /dev/nvme1n1. Sometimes, their names swap after reboot, so the EFI partition could also appear as nvme1n1p1 instead of nvme0n1p1, but I don't think this should matter.
My partition layout of nvme0n1:
nvme0n1p1 mounted at /mnt/boot
nvme0n1p2 is [SWAP]
nvme0n1p3 mounted at /mnt
I am using the linux-lts kernel.
Here is what I do in the chroot environment:
Install GRUB and related packages:
pacman -S grub efibootmgr os-prober
Install GRUB:
grub-install --target=x86_64-efi --efi-directory=/boot
Edit /etc/default/grub
loglevel=3 quiet splash resume=UUID=<my-swap-partition-uuid> nvidia-drm.modeset=1
Generate the GRUB config:
grub-mkconfig -o /boot/grub/grub.cfg
Unmount partitions and reboot.
umount -R /mnt
reboot
However, after rebooting, I always end up in the live environment again. Am I missing something?
Last edited by tetroi (Yesterday 16:07:36)
Offline
Did you remove the live usb from your pc?
Did you really add
resume=UUID=<swap-partition-uuid>
or you pasted your real swap's uuid?
Edit: please, use tags https://bbs.archlinux.org/help.php#url
Last edited by Sapiens Ranae (Yesterday 15:16:08)
Offline
Did you remove the live usb from your pc?
Did you really addresume=UUID=<swap-partition-uuid>
or you pasted your real swap's uuid?
Is it really necessary to remove the USB flash drive from the PC? Okay. Maybe it’s a bit silly that I haven’t done it yet, but okay. Everything I wrote is meant to mean that I actually recognized the UUID through blkid and inserted it in /etc/default/grub
Offline
Okay, I tried to remove the live usb from my PC, but it didn't work. BIOS comes up
Offline
Check efibootmgr -u, does the boot entry show up? If not, remount, arch-chroot, and reinstall grub. Make sure the entry is there. If it disappears when you reboot, https://wiki.archlinux.org/title/GRUB#D … _boot_path
Offline
Check efibootmgr -u, does the boot entry show up?
Well, it comes out like this
efibootmgr -u
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0000,0001
Boot0000* arch HD(1,GPT, f4935372-59b4-4aaa-bb7a-750877fb1cfa,0x800,0x200000)/\EFI\arch\grubx64.efi
Boot0001* UEFI: General UDisk 5.00, Partition 1 PciRoot(0x0)/Pci(0x14,0x0)/USB(5,0)/USB(1,0)/HD(1,GPT,88b9d1fc-7fea-46e0-b74b-e95fcbde0f9c,0x800,0xeff7a0)
Last edited by tetroi (Yesterday 18:56:08)
Offline