From owner-freebsd-questions@FreeBSD.ORG Tue Mar 30 07:45:56 2004 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 227FD16A4CE for ; Tue, 30 Mar 2004 07:45:56 -0800 (PST) Received: from calis.blacksun.org (calis.blacksun.org [216.254.108.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id F13D143D41 for ; Tue, 30 Mar 2004 07:45:55 -0800 (PST) (envelope-from don@calis.blacksun.org) Received: by calis.blacksun.org (Postfix, from userid 1001) id A5AF21707A; Tue, 30 Mar 2004 10:49:19 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by calis.blacksun.org (Postfix) with ESMTP id 7F81217079 for ; Tue, 30 Mar 2004 10:49:19 -0500 (EST) Date: Tue, 30 Mar 2004 10:49:19 -0500 (EST) From: Don To: questions@freebsd.org Message-ID: <20040330103946.O19186@calis.blacksun.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Custom kernel for PXE / cdrom installation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2004 15:45:56 -0000 Related to a problem I had earlier: I am trying to set up a network installation of FreeBSD. I have a couple of other problems with this process but one of the most stubborn is getting a custom kernel to boot. If I take kernel.gz and mfsroot.gz from the boot floppies and put those in the NFS share for the PXE boot then the isntallation proceeds correctly through the normal boot floppy sequence. I want to avoid being prompted for a driver disk and things like that so I want to be able to boot my own kernel. I have taken a kernel from an identical system, copied it to the NFS share, and then copied my modules to the mfsroot image. Even though I do not use the modules I figured I would stick them in the mfsroot just to be sure. When I attempt to boot the new kernel I get errors about being unable to load each module, and the kernel ends up hanging. I have tried using my own kernel with the stock modules directory and I have made sure to compile in everything I can think of in the kernel. Can anyone shed some light on the kernel options required for a PXE boot image or why I am getting module loading errors? Thanks in advance, -Don