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? -- alexs -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 488 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20091207/004d4b92/attachment.pgp
On Mon, 7 Dec 2009 09:18:28 +0300 alexs@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?Use at /etc/{make,src}.conf and you won't have *.symbols at /boot/kernel[.old]: ----- INSTALL_NODEBUG= yes ----- I'm not sure where it is documented though. -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
alexs@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
2009/12/7 <alexs@ulgsm.ru>:> 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? > > -- > alexs >You may say "make reinstallkernel" instead of "make installkernel"
alexs@ulgsm.ru writes:> 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?Remove all the symbol files in /boot/kernel, I think. You don't need them. Actually 500 mb for the root partition is enough. -- tamgya |aT| GmAiL |DoT| cOm