From owner-freebsd-questions@FreeBSD.ORG Thu Nov 2 09:16:00 2006 Return-Path: X-Original-To: questions@FreeBSD.org 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 78B9216A412 for ; Thu, 2 Nov 2006 09:16:00 +0000 (UTC) (envelope-from pprocacci@bellsouth.net) Received: from imf18aec.mail.bellsouth.net (imf18aec.mail.bellsouth.net [205.152.59.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69BB043D60 for ; Thu, 2 Nov 2006 09:15:59 +0000 (GMT) (envelope-from pprocacci@bellsouth.net) Received: from ibm61aec.bellsouth.net ([65.1.209.170]) by imf18aec.mail.bellsouth.net with ESMTP id <20061102091558.RPGP17833.imf18aec.mail.bellsouth.net@ibm61aec.bellsouth.net> for ; Thu, 2 Nov 2006 04:15:58 -0500 Received: from [10.5.21.2] (really [65.1.209.170]) by ibm61aec.bellsouth.net with ESMTP id <20061102091558.DFIZ23386.ibm61aec.bellsouth.net@[10.5.21.2]> for ; Thu, 2 Nov 2006 04:15:58 -0500 Message-ID: <4549B74E.8050808@bellsouth.net> Date: Thu, 02 Nov 2006 03:15:58 -0600 From: Paul Procacci User-Agent: Thunderbird 1.5.0.7 (X11/20061030) MIME-Version: 1.0 To: questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: mfs_root booting problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2006 09:16:00 -0000 Hey all, I've been having a problem that hopefully someone would be able to help me with. I've been trying to boot FreeBSD via PXE for at least a couple of days now with no luck. I've read several online guides none of which explain using a root mfs to accomplish this task. Most of the manuals I've read go over mounting / as NFS which isn't ideal for me. I've got mostly everything working *up to* the point where the system begins bootstrapping. It loads the kernel, loads the mfs root and then the machine immediately reboots. For the life of me, I can't figure out why. I was hoping that someone has a documented method for initializing a FreeBSD system via PXE and without the use of NFS for the root filesystem. For refernce my loader.rc: echo Loading Your Kernel Fool!!! set hint.acpi.0.disabled="1" ## have tried it without it being disabled. load /boot/kernel/kernel echo echo Loading mfs filesystem YoYo!! load -t mfs_root /mfsroot echo booting... echo \007\007 set vfs.root.mountfrom=ufs:/dev/md0" ## have tried /dev/md0c as well boot ------------------------------------------------------------------ wacko# ll /tftpboot/mfsroot -rw-r--r-- 1 root wheel 4423680 Nov 2 02:33 /tftpboot/mfsroot -------------------------------------------------------------------- Assuming the mfs file sysetm is being create without error (I assume it is due to a lack of error messages), then I assume loader reads init like usual. wacko# file /mnt/mfsroot/sbin/init /mnt/mfsroot/sbin/init: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped And then continues on with /etc/rc.... wacko# file /mnt/mfsroot/etc/rc /mnt/mfsroot/etc/rc: Bourne shell script text executable As for the rest of the files....they are certainly all there......... I believe it's also worth mentioning, that if I use the mfsroot that comes with the installer, it loads/run fine. Not sure if this helps any or not. What could I possibly be missing? Thanks for the time.