[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: grub -18 *may* break your system



On 01/09/13 18:04, Robert Millan wrote:
> [...] maybe we should move the modules to /boot like
> upstream does? And make /lib/modules a symlink or something.

Yes I think so.  It already works with grub2 (it resolves the symlink
for paths used in grub.cfg), and it seems justified by the FHS too:

http://www.debian.org/doc/packaging-manuals/fhs/fhs-2.3.html#BOOTSTATICFILESOFTHEBOOTLOADER
> /boot : Static files of the boot loader
> Purpose:
> This directory contains everything required for the boot process
> [...] before the kernel begins executing user-mode programs.

whereas on Linux the required kernel modules would be already copied to
/boot/initrd.img

The FHS docs also imply that /lib/modules may be a symlink:

> The following directories, or symbolic links to directories, must be in /lib, if the corresponding subsystem is installed:
> 
> Directory	Description
> modules	Loadable kernel modules (optional)

Regards,
-- 
Steven Chamberlain
steven@pyro.eu.org


Reply to: