[opensuse-support] Grub takes a long time to decrypt /
I have openSUSE Leap 15.0 installed on my laptop, with both / and /home (separate partitions, both on SSDs) encrypted. On booting, grub2 asks for the passphrase to decrypt /, then takes about 10 seconds to offer an OS to load (there's only one). When Leap gets the passphrase to decrypt /home, it immediately proceeds with loading the operating system. Why does grub take so long? It's definitely the rate-limiting step in the whole process. I have tried reducing GRUB_TIMEOUT to 1, and yes, I did run 'grub2-mkconfig -o /boot/grub2/grub.cfg' afterwards. GRUB_DISTRIBUTOR= GRUB_DEFAULT=saved GRUB_HIDDEN_TIMEOUT=0 GRUB_HIDDEN_TIMEOUT_QUIET=true GRUB_TIMEOUT=1 GRUB_CMDLINE_LINUX_DEFAULT="resume=/dev/mapper/cr_sdb3 splash=silent quiet showopts" GRUB_CMDLINE_LINUX="" Is there anything else I can tweak to reduce the boot time? -- Bob
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2/22/19 9:12 AM, Bob Williams wrote:
I have openSUSE Leap 15.0 installed on my laptop, with both / and /home (separate partitions, both on SSDs) encrypted. On booting, grub2 asks for the passphrase to decrypt /, then takes about 10 seconds to offer an OS to load (there's only one). When Leap gets the passphrase to decrypt /home, it immediately proceeds with loading the operating system.
Grub is using the services of your BIOS (or UEFI firmware) to read the disk and locate the menu. I suppose a faster BIOS might speed things up (if available). Once Leap has loaded the kernel, it uses the faster kernel drivers to access the disk. -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEv7/MJoKYXv2p0PaIZJcsjNEnCIUFAlxwm2gACgkQZJcsjNEn CIUqsgf/WMiZ91e2R1mZi5Fbr0zFMtIh2YsE/hV9SSeXo0JizeHMmspveSih2fIS KKKWJ25QNERiFdynhe46geaaTz/Hu1Tl3TBr+H0gEDxjvEmNtpJaCbJk/uPxlJwQ A/x3EbYyBgpvypE7LAiAYzyn2mRotCVeebEaY/bUCRBb3mZwQCeM7IHHFlRKqu2V +vukb38OV9G9CkluvNwdVBqb2PETtPCX92SlBU83hIId8puj4SX2ekXXUgFPxQNu jAFPFgI9dCeiQAlfv2hcniNY1VsxVlwuLvcQ/aSBgPKyqWvsyq/zhqdIPy4xfGYo 2srPsAJc+bRflR6j/AcOEfD//OSM6Q== =pJED -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
On Fri, 22 Feb 2019 19:01:47 -0600 Neil Rickert <nrickert@ameritech.net> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2/22/19 9:12 AM, Bob Williams wrote:
I have openSUSE Leap 15.0 installed on my laptop, with both / and /home (separate partitions, both on SSDs) encrypted. On booting, grub2 asks for the passphrase to decrypt /, then takes about 10 seconds to offer an OS to load (there's only one). When Leap gets the passphrase to decrypt /home, it immediately proceeds with loading the operating system.
Grub is using the services of your BIOS (or UEFI firmware) to read the disk and locate the menu.
I suppose a faster BIOS might speed things up (if available).
Once Leap has loaded the kernel, it uses the faster kernel drivers to access the disk.
Ah, thank you. I hadn't thought of that. Bob -- Bob Williams System: Linux 4.20.0-3.ga24f9ea-default Distro: Desktop: KDE Frameworks: 5.45.0, Qt: 5.9.4 and Plasma: 5.12.5
participants (2)
-
Bob Williams
-
Neil Rickert