Hacker News new | ask | show | jobs
by div72 463 days ago
What? Why is your NVIDIA modules even in the boot partition? My largest /boot is on Fedora and that's 454MiB, 87MiB on Arch and 30MiB on NixOS.

EDIT: "With grub, the situation varies; if the device has a graphics card, it usually means that driver modules need to be placed in the boot as well.", "usually" carries a lot of weight here, none of the systems I had had this kind of a requirement.

1 comments

> What? Why is your NVIDIA modules even in the boot partition?

Early kernel modesetting requires the drivers in the initramfs.

The kernel should be able to use the framebuffer from the UEFI, which the GPU would of already setup, then let the desktop modeset to the target resolution if needed (using the driver).

This is what Windows has been doing without issues for over 10 years. We don't need larger /boot partitions, we need a better boot process that doesn't need infinitely growing space.

There is no need for early kernel modesetting.

On the systems where I have seen this happening, it is normally extremely annoying, because it may select a minuscule bitmap font on a high-resolution display. The user may need to type almost blindly the terminal command for changing the font to the biggest bitmap font provided with the Linux kernel, which for a long time had been sun12x22, but nowadays there is also a more decent ter16x32.

It is better when the kernel stays in VGA mode until X is started.

Yeah, with a 500 MB partition I cannot have both the normal and LTS kernel thanks to that, and resizing it sound like a good way to break stuff, so I'll pass for now