[opensuse] Leap 42.2 - Why NO Persistent Block Device Naming for 'resume' in /etc/default/grub??
Leap Devs, Why is Persistent Block Device Naming not used for 'resume' in /etc/default/grub? Specifically, I ran into an issue when moving my leap42 drive to sdb in my laptop. On boot, there was a 'root switch', but then there was a 90 sec timeout looking for the 'resume' device (previously sda8, now sdb8). Checking, I find: GRUB_CMDLINE_LINUX_DEFAULT="resume=/dev/sda8 splash=silent quiet showopts" in /etc/default/grub. Why on earth are we not using UUIDs there (which is the grub2 default)? Had this been, GRUB_CMDLINE_LINUX_DEFAULT="resume=3cadab5b-13b4-4dce-84d3-05e2070f741c ... (which it is now), there would have been no problem. Using the default persistent block device naming also eliminates the need for the antiquated 'device.map' file in /boot/grub2. Is there some specific reason the old naming convention is being used instead of UUIDs here? Grub2 will use UUIDs unless you explicitly tell it not to with 'GRUB_DISABLE_LINUX_UUID=true' in /etc/default/grub. -- 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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2016-12-29 01:09, David C. Rankin wrote:
Leap Devs,
Why is Persistent Block Device Naming not used for 'resume' in /etc/default/grub? Specifically, I ran into an issue when moving my leap42 drive to sdb in my laptop. On boot, there was a 'root switch', but then there was a 90 sec timeout looking for the 'resume' device (previously sda8, now sdb8). Checking, I find:
GRUB_CMDLINE_LINUX_DEFAULT="resume=/dev/sda8 splash=silent quiet showopts"
in /etc/default/grub.
Why on earth are we not using UUIDs there (which is the grub2 default)? Had this been,
That line is read by the kernel, so you can use anything. I use labels. I see a recent Leap install and it is using uuid: linux /boot/vmlinuz-4.4.36-8-default root=UUID=768baa80-5273-4588-8084-13fae6e4dc56 resume=/dev/disk/by-uuid/675034b5-72ee-4db7-b8a4-d3cb197f9aad splash=verbose showopts It is a bit disconcerting seen that root and resume use different syntax, though. - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlhkY0wACgkQja8UbcUWM1wBmgD5AQ4T85lp/xxryUo1r9TIUW5p mrHwOOWkJHGjjUekrYYA/jamVVSF+iFnoWRvuKnzRgA/NvSFIlVgO7IfJGO1WpmI =/hkO -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/28/2016 07:13 PM, Carlos E. R. wrote:
It is a bit disconcerting seen that root and resume use different syntax, though.
That was my primary point of concern, why use UUID for root and /dev/foo for resume. I suspect this part of the config is just in a 1/2 way updated state and could use more attention to tidy up. -- 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
participants (2)
-
Carlos E. R.
-
David C. Rankin