From owner-freebsd-questions@freebsd.org Sat Sep 9 02:33:58 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A508EE1D6A2 for ; Sat, 9 Sep 2017 02:33:58 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by mx1.freebsd.org (Postfix) with ESMTP id 41B8575EA1 for ; Sat, 9 Sep 2017 02:33:57 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ppp121-45-115-1.bras2.adl6.internode.on.net (HELO leader.local) ([121.45.115.1]) by ipmail07.adl2.internode.on.net with ESMTP; 09 Sep 2017 11:58:48 +0930 Subject: Re: help with condensing bsd To: sorressean Cc: FreeBSD Questions References: From: Shane Ambler Message-ID: <807d043a-0947-0368-13ea-680194c1045e@ShaneWare.Biz> Date: Sat, 9 Sep 2017 11:58:45 +0930 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-AU Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2017 02:33:58 -0000 On 09/09/2017 01:58, Adam Vande More wrote: > On Fri, Sep 8, 2017 at 11:04 AM, Littlefield, Tyler > wrote: > >> All: >> >> I wish to create a smaller BSD as I have a vps with a minimal amount of >> space. I know that I can buildworld and cut a lot of things out (does >> anyone have a good example from where to start)? >> >> My question is this: Once I buildworld and buildkernel, how do I package >> these up? I have a few systems that need this new buildworld and >> buildkernel, and i also want to replace the base iocage jail. >> > > You may wish to investigate tools like picobsd or nanobsd. There are other > ways to accomplish this of course, but those tools worked at least at one > point. I haven't tried them recently. > Both nanobsd and picobsd are custom freebsd builds and are included with the freebsd src tree, each has a man page for more info. While nanobsd is aimed at small embedded systems, picobsd has a smaller target of a single floppy disk. NanoBSD also has an article with some more info - https://www.freebsd.org/doc/en/articles/nanobsd/index.html -- FreeBSD - the place to B...Software Developing Shane Ambler