Date: Fri, 10 Sep 2010 22:01:56 -0500 From: CyberLeo Kitsana <cyberleo@cyberleo.net> To: =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= <faust64@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: kernel replacement in installation media Message-ID: <4C8AF124.5050808@cyberleo.net> In-Reply-To: <AANLkTimDzLQiQGCaageRbFbGnL9fi=PPx1i3d8dFiQHy@mail.gmail.com> References: <AANLkTimDzLQiQGCaageRbFbGnL9fi=PPx1i3d8dFiQHy@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 09/10/2010 07:57 PM, Samuel Martín Moro wrote: > Hi, > ... > The thing is, it only have a 128M flash disk (seen as /dev/da0) > GENERIC needs almost 250M. I have run into something similar, while building a ZFS install to run on an Intel SS4200EHW NAS device. Utilizing a series of scripts I have developed[1], I was able to compact an entire functional FreeBSD system into 4.6MB /boot and 84MB root with mkisofs and mkuzip, without permanently tying up a bunch of the machine's limited RAM with an MFS, and with acceptable performance despite the IDE channel's speed limit of 1.6MB/sec. Plus, boot and root are read-only, so the CompactFlash card won't wear out prematurely. You can make use of src.conf(5) while building world and kernel to eliminate a lot of unnecessary userland components, and MODULES_OVERRIDE and WITHOUT_MODULES to control what modules get built, as the kernel build process will build all modules regardless of what might be in your kernel config. Be prepared to perform lots of testing, though, as a missed critical dependency can appear to succeed, but leave something else broken. [1] http://git.cyberleo.net/Mosi.git -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <CyberLeo@CyberLeo.Net> Furry Peace! - http://wwww.fur.com/peace/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C8AF124.5050808>