ID= only works for the ESP

Here you can discuss every aspect of Debian. Note: not for support requests!
Post Reply
Message
Author
jebez
Posts: 127
Joined: 2024-07-01 15:21
Been thanked: 2 times

ID= only works for the ESP

#1 Post by jebez »

Only

Code: Select all

ukify build --linux=/vmlinuz --initrd=/initrd.img --cmdline='root=/dev/disk/by-id/nvme-WDS250G3X0C-00SJG0_185250422455-part1 resume=/dev/disk/by-id/nvme-WDS250G3X0C-00SJG0_185250422455-part2 rw nvidia-drm.modeset=1' -o /efi/efi/boot/bootx64.efi
& /etc/fstab

Code: Select all

ID=nvme-WDS250G3X0C-00SJG0_185250422455-part3 /efi
/dev/disk/by-id/nvme-WDS250G3X0C-00SJG0_185250422455-part2 none swap

(nvme-WDS250G3X0C-00SJG0_185250422455-part3 is the ESP) works, replace /dev/disk/by-id/ by ID= anywhere doesn't work.
Why?
Retired of Debian, I'm on Arch Linux btw

Post Reply