Arch Linux install on NVMe suggestions...having problems

Ok So I just wanted to Let Wendel and the gang know that Y’all rock and I love your YT channel and Udemy course!! I have watched almost all of both. i built my own pfSense box and started on a path of becoming a Network Engineer from your suggestions and inspiring videos.

With that out of way… I am having a hell of a time getting plain old Arch installed on my Linux computer and on a NVMe drive. I have installed ArcoLinux and Arch Labs’ distros on this NVMe drive no problem but when I have to manually configure the bootloader in vanilla Arch it will not find my /dev/nvme0np1 partition that I made specifically for the root FS and booting on this drive. The tutorial I was using said not to type the last number when assigning the bootloader partition (i.e. /dev/sda instead of /dev/sda1). I have tried every combo of drive names and it always errors out and tells me to consult the drive.map. I hope this question is not to vague for someone to be able to help.

Would installing Arch on EFI help? Thanks!

p.s. I am learning by doing so if it doesn’t sound like I know what I am talking about with something it is probably because I don’t.

1 Like

If your system supports it, I would recommend using efi over bios. I don’t have any nvme hardware at my disposal, so I can’t help you much on that front, but uefi would be my recommendation

1 Like

what is the output of lsblk? could just be that your NVME drive is under a different name

your device must be loaded under UEFI… /dev/nvme01[p0] should show, might have to download a package if you are using an our of older kernel

This seems weird. You need to specify the partition of the root FS, not the device it is on. (The number is the partition, while the name itself is a device)


What bootloader are you using? I am using systemd-boot, and I prefer to use PARTUUIDs in the loader entry config.

EDIT: systemd-boot is EFI only bootloader.

You can find that id with blkid.

Here’s my /boot/loader/entries/arch.conf

title   Arch Linux
linux   /vmlinuz-linux
initrd  /intel-ucode.img
initrd  /initramfs-linux.img
options root=PARTUUID=b9e9da85-b231-49e7-abee-a39d767b6dcd amdgpu.si_support=1 radeon.si_support=0

And example of blkid:

$ blkid
...
/dev/sda2: LABEL="rootfs" UUID="b0678333-b0f3-4033-9396-3ea63f143558" TYPE="ext4" PARTLABEL="rootfs" PARTUUID="b9e9da85-b231-49e7-abee-a39d767b6dcd"
...

You might want to look at these install instructions for Arch Linx on a Yoga 920 with NVMe. The instructions are for btrfs and LUKS but alo cover setting up grub and EFI.

Fully Encrypted ArchLinux with Secure Boot on Yoga 920

Unfortunately, the original page is gone but you can see it in the web archive.

JJ