Skip to Content
MvpDots

Boot

Two kernels, Windows in the menu, a lean initramfs and a silent boot.

Two kernels

  • linux-zen (default): tuned for desktop responsiveness.
  • linux-lts (fallback): if an update breaks zen, choose LTS in "Advanced options".

Install both with their -headers packages, so DKMS drivers (NVIDIA) build for each. Make zen the default entry with GRUB_TOP_LEVEL="/boot/vmlinuz-linux-zen".

Dual boot with Windows

  • GRUB_DISABLE_OS_PROBER=false and os-prober installed → Windows appears in the menu.
  • In Windows, turn Fast Startup off (it leaves the shared drive half-mounted), and BitLocker off on drives Linux needs.
  • The EFI partition is shared: never format it.

A quiet, fast initramfs (dracut)

The installer may put the NVIDIA driver into the boot image (over 100 MB). The screen is driven by the Intel GPU, so NVIDIA can load a moment later from the disk instead. files/dracut-lean.conf in the playbook → /etc/dracut.conf.d/zz-lean.conf:

hostonly="yes"                       # only the drivers this machine needs
add_dracutmodules+=" plymouth "      # boot splash
omit_drivers+=" nvidia nvidia_modeset nvidia_uvm nvidia_drm "

Check what is inside before and after: lsinitrd | grep -i nvidia.

Silent boot

quiet loglevel=3 rd.udev.log_level=3 udev.log_level=3 rd.systemd.show_status=auto splash vt.global_cursor_default=0 nowatchdog

Boot menu theme and no flash

  • The Liquid Glass GRUB theme ships with MvpDots (./install.sh --grub).
  • GRUB_GFXPAYLOAD_LINUX=keep hands the boot menu's resolution to Linux, so the screen doesn't flicker between them.

Measure with systemd-analyze and systemd-analyze blame.

Before and after

/etc/default/grub
-GRUB_TIMEOUT='3'
+GRUB_TIMEOUT='10'
-#GRUB_DISABLE_OS_PROBER=false
+GRUB_DISABLE_OS_PROBER=false
+GRUB_TOP_LEVEL="/boot/vmlinuz-linux-zen"
+GRUB_GFXMODE=1920x1080,auto
+GRUB_GFXPAYLOAD_LINUX=keep
+GRUB_THEME="/boot/grub/themes/liquid-glass/theme.txt"
/etc/dracut.conf.d/zz-lean.conf (new file)
+hostonly="yes"
+add_dracutmodules+=" plymouth "
+omit_drivers+=" nvidia nvidia_modeset nvidia_uvm nvidia_drm "

Apply both: sudo dracut-rebuild (EndeavourOS) or sudo dracut --regenerate-all --force, then sudo grub-mkconfig -o /boot/grub/grub.cfg.

Check it

Terminal
systemd-analyze                 # firmware, loader, kernel, initrd, userspace
lsinitrd | grep -ci nvidia      # 0 = NVIDIA no longer in the boot image

On this page