From owner-freebsd-small@FreeBSD.ORG Thu Apr 24 10:19:26 2003 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA07437B401 for ; Thu, 24 Apr 2003 10:19:26 -0700 (PDT) Received: from mailgate5.cinetic.de (mailgate5.cinetic.de [217.72.192.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id B5A3343FB1 for ; Thu, 24 Apr 2003 10:19:25 -0700 (PDT) (envelope-from scire@web.de) Received: from web.de (fmomail01.dlan.cinetic.de [172.20.1.45]) SMTP id h3OHJOq24455 for freebsd-small@freebsd.org; Thu, 24 Apr 2003 19:19:24 +0200 Date: Thu, 24 Apr 2003 19:19:24 +0200 Message-Id: <200304241719.h3OHJOq24455@mailgate5.cinetic.de> MIME-Version: 1.0 Organization: http://freemail.web.de/ From: "Rodrigo Readi" To: freebsd-small@freebsd.org Precedence: fm-user Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Subject: How to make the kernel small, smaller, smallest? X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.1 List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Apr 2003 17:19:27 -0000 Thanks for your answers to my previous posting. Manuels's Article about minibsd contains indeed a lot of interesting matters, but it is unfortunately not for my purpose: I want a minimal FreeBSD in one, at most two, floppies that allows me to start an Xserver over a NFS. PicoBSD is more for my purposes, thanks Bruce for your notes. Now I have a new question: how to build a very small kernel? Today I threw a lot away from the GENERIG config file, but inspite of it, it compiled a lot of functions (modules?) that dont seem usefull to me. At the end I had a little more than 2MB, gzipped a half of it. I put it in my bootfloppy with the loader, and booted from it, the machine asked for a device with the root directory, and I put a floppy with sh, init and getty, but it hang (perhaps I forgot login). Then I tried with oinit of picobsd, but the process died (error "signal 6"). Am I doing something wrong? Thanks, Rodrigo. ______________________________________________________________________________ UNICEF bittet um Spenden fur die Kinder im Irak! Hier online an UNICEF spenden: https://spenden.web.de/unicef/special/?mc=021101