root partition too small
Rolf Nielsen
listreader at lazlarlyricon.com
Mon Dec 7 11:29:41 UTC 2009
alexs at ulgsm.ru wrote:
> Label from freebsd sysinstall in auto mode, make root partition 500mb
> For update OS (kernel + kernel.old) need about 700mb
>
> Howto rebild kernel with litsted in kldstat modules?
>
In your kernel config file, use
makeoptions MODULES_OVERRIDE="<the modules you need>"
E.g.
makeoptions MODULES_OVERRIDE="atapicam zfs geom_eli geom_journal"
will build only the atapicam, zfs, geom_eli and geom_journal modules.
To save even more space, you could remove the
makeoptions DEBUG=-g
This will prevent debug symbols for kernel and modules from being installed.
If that isn't enough, have a look at the src.conf(5) man page, for a
list of options that let you choose what parts of the userland to install.
Cheers,
Rolf Nielsen
More information about the freebsd-stable
mailing list