On 07/09/2017 06:11 PM, Istvan Gabor wrote:
Hello:
I would like to use disk names according to /dev/disk/by-id entries in my grub2 config and initrd image files instead of uuids in Leap 42.2 How to configure grub2 and mkinitrd/dracut to use those?
I have set GRUB_DISABLE_LINUX_UUID=true in /etc/default/grub file and run grub2-mkconfig -o /boot/grub2/grub.cfg, still there are several lines in boot/grub2/grub.cfg showing uuids of my disks.
I also looked at dracut manual but could not find anything regarding disk-id. I've run mkinitrd and it resulted
dracut: Stored kernel commandline: dracut: resume=UUID=ac583745-0aa6-4b59-98ab-96d7bd1d7664 dracut: root=UUID=88e3e501-edac-4b4c-bff8-bc52ba8952f2
I want root=/dev/disk/by-id/..... instead of these.
Thanks,
Istvan
Have you checked /etc/default/grub? e.g. GRUB_CMDLINE_LINUX_DEFAULT="resume=/dev/sda8 splash=silent quiet showopts" -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org