Author: Didier Kryn Date: To: dng Subject: Re: [DNG] usr-merge
Le 19/11/2025 à 23:06, karl@??? a écrit : > I have always thought it was strange to have the kernel in /boot and
> its modules in /lib/modules, apart from space issues, wouldn't it be
> more straigthforward to place the kernel and its modules in /boot.
> Then you could use the same kernel(+modules) for multiple root fs.
>
> First a remark about how practicall it would be: vmlinuz (gzipped
or bzipped kernel) is around 8MB,and initrd is around 30MB, while
/lib/modules contains around 800MB (on my amd-64 laptop). Therefore,
moving the modules into /boot would mean that the size of /boot, when it
is a mountpoint, should be largely increased and its occupancy rate
carefully monitored. I don't recomend making /boot a mountpoint though.
Second, kernel ≠ boot; the kernel lives until power-off and does
many other things than loading modules. And modules can be loaded and
removed anytime /after/ the kernel has mounted some rootfs.