You are not logged in.
I have a spare Arch partition on /dev/nvme0n1p4 and I'd like to add an entry to boot it in grub.cfg but am unclear on how to define the 'set root=' for the device... for sata devices it's the standard (hdx,y) but what is it for nvme devices?
Example that works booting a spare sata partition on sda1
/etc/grub.d/40_custom
menuentry 'Mini - Arch Linux GNU/Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='(hd0,gpt1)'
linux /boot/vmlinuz-linux root=/dev/sda1 rw
initrd /boot/intel-ucode.img /boot/initramfs-linux.img
}
EDIT: I know I can get by with the `--set=root uuid` construct, but I would like to know what the non-uuid solution is to call out a non-sata drive. Thanks!
Last edited by graysky (2016-09-01 21:14:28)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline