Sun, 27 Sep 2020 21:54:42 +0200 (CEST) időpontban Carlos E. R. írta:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Sunday, 2020-09-27 at 15:40 -0400, Mark Hounschell wrote:
On 9/27/20 3:23 PM, Carlos E. R. wrote:
On 27/09/2020 21.11, Mark Hounschell wrote:
On 9/27/20 2:18 PM, Carlos E. R. wrote:
On 27/09/2020 19.51, Mark Hounschell wrote:
Well, just do not use hd0 / sda names. Use UUID or LABEL. Both Grub and fstab.
Well, the fstab is using LABELS already. I commented out this in the /etc/default/grub file and now it works.
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux GRUB_DISABLE_LINUX_UUID=true
Is there a way to make grub use LABELS instead of UUIDs? I hate UUIDs on such small systems.
Well, in one system I see this:
/other/auxiliary/boot/grub2/custom.cfg:
linuxefi /boot/vmlinuz root=UUID=ac173013-18ad-4c4e-921e-fd2ecfb56495 splash=verbose resume=/dev/disk/by-label/nvme-swap mitigations=auto
Maybe I was in error when reccomending Label, you have to use UUID with some possible exceptions.
You can use LABEL in grub.cfg, like: linux /boot/vmlinuz root=LABEL=leap151 resume=LABEL=swap The grub manual does not mention it but it works. You have to edit grub.cfg manually and replace UUID=... parts. Make sure to make a backup of your manually edited grub.cfg because next time you run grub2-mkconfig it will overwrite grub.cfg. Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org