From owner-freebsd-questions@FreeBSD.ORG Sat May 24 11:29:30 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 65F3237B401 for ; Sat, 24 May 2003 11:29:30 -0700 (PDT) Received: from mail102.csoft.net (lilly.csoft.net [63.111.22.101]) by mx1.FreeBSD.org (Postfix) with SMTP id 8438943F93 for ; Sat, 24 May 2003 11:29:29 -0700 (PDT) (envelope-from mcc@fid4.com) Received: (qmail 81860 invoked from network); 24 May 2003 19:32:30 -0000 Received: from unknown (HELO fid4.com) (66.30.202.75) by mail102.csoft.net with SMTP; 24 May 2003 19:32:30 -0000 Sender: mcc@FreeBSD.ORG Message-ID: <3ECFB886.5F5B760B@fid4.com> Date: Sat, 24 May 2003 14:23:02 -0400 From: "Michael C. Cambria" X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Booting a mfs image from disk 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: Sat, 24 May 2003 18:29:30 -0000 Hi, Is there a way to boot an image (e.g. one that loads and boots via PXE) from disk/flash? I've successfully used PXE to boot a 4.8-stable image I created, using the PXE articles found at http://www.freebsd.org/docs.html#articles I've also been able to create an image that I write to compact flash and boot from that for my net4521 (www.soekris.com) The CF is mounted read only. What I'd like to do now is boot the PXE image from the flash in lieu of the PXE server. I don't want the booted system to even know that there is a "disk". Can this be done? I looked at what boot.flp does. To accomplish this, is it as simple as putting the kernel, mfs image and a /boot directory (with the same loader.rc etc. used for pxe booting) on the flash? Rather than continue to "reverse engineer", I'd like to know if there is anything written already on how to do this? For example, my pxe loader.rc needs: "set vfs.root.mountfrom=ufs:/dev/md0c" while boot.flp doesn't. I can't find vfs.root.mountfrom in the man pages. Any pointers to more info would be helpfull. Thanks, MikeC