From owner-freebsd-questions@FreeBSD.ORG Wed Dec 10 16:12:47 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8705C16A4CE for ; Wed, 10 Dec 2003 16:12:47 -0800 (PST) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2BBB43D1D for ; Wed, 10 Dec 2003 16:12:44 -0800 (PST) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (localhost [127.0.0.1]) by fw.farid-hajji.net (8.12.10/8.12.10) with ESMTP id hBB0Boo7070239; Thu, 11 Dec 2003 01:11:54 +0100 (CET) (envelope-from cpghost@cordula.ws) Date: Thu, 11 Dec 2003 01:11:50 +0100 (CET) Message-Id: <200312110011.hBB0Boo7070239@fw.farid-hajji.net> From: "Cordula's Web" To: vahric@doruk.net.tr In-reply-to: <02ab01c3bf77$f29859b0$019c9752@xp> (vahric@doruk.net.tr) X-Mailer: Emacs-21.3.1/FreeBSD-4.9-STABLE References: <02ab01c3bf77$f29859b0$019c9752@xp> cc: freebsd-questions@freebsd.org Subject: Re: Good understanding about kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: cpghost@cordula.ws List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Dec 2003 00:12:47 -0000 X-List-Received-Date: Thu, 11 Dec 2003 00:12:47 -0000 > I check the kernel file it's come to me too big . For example with > default installation My kernel size is 5,473,370 You will say because of > GENERIC kernel too many driver support for this reason it can be . My > question is here .... What's (statically) included in the GENERIC kernel, is listed in /usr/src/sys/i386/conf/GENERIC. You can compile your own custom kernel, as explained in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html Don't forget to statically include every module that is needed to locate and load the kernel though (e.g. ata drivers), because you won't be able to kldload the initial modules without booting first. > c) in Linux we can create a boot disk with this boot disk if any > problem occur on the boot we can up the system with this disket .. in > FreeBSD with this big kernel it's not poessible I think . I want to learn > What FreeBSD users do if FreeBSD dont open the system for any boot file > corrupt or something ... I use the LIVE filesystem on the FreeBSD ISOs. In combination with /stand/sysinstall (or /usr/sbin/sysinstall), option rescue, you can always repair a broken installation. Most of the time, the boot loader will allow you to boot an old kernel (say /kernel.old) if your new kernel is broken. FreeBSD's bootloader is much more stable/reliable than LILO ;) -- Cordula's Web. http://www.cordula.ws/