From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 11:34:31 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 020C016A41A for ; Tue, 4 Dec 2007 11:34:31 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from pizzabox.cyberleo.net (alpha.cyberleo.net [198.145.45.10]) by mx1.freebsd.org (Postfix) with ESMTP id C254513C442 for ; Tue, 4 Dec 2007 11:34:30 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: (qmail 84366 invoked from network); 4 Dec 2007 11:34:30 -0000 Received: from adsl-75-3-88-196.dsl.chcgil.sbcglobal.net (HELO ?172.16.44.14?) (cyberleo@cyberleo.net@75.3.88.196) by alpha.cyberleo.net with ESMTPA; 4 Dec 2007 11:34:30 -0000 Message-ID: <47553B3F.6050808@cyberleo.net> Date: Tue, 04 Dec 2007 05:34:23 -0600 From: CyberLeo Kitsana User-Agent: Thunderbird 2.0.0.9 (X11/20071122) MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: mfsroot issues 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: Tue, 04 Dec 2007 11:34:31 -0000 Hi! I'm trying to set up a TinyBSD mfsroot image with which to upgrade a machine remotely. I've run into a few problems along the way, though. First of all, I cannot seem to get the kernel to use the preloaded mfsroot as the root device as long as the boot disk's /etc/fstab has a root listed. It will always use what's listed in the boot disk's fstab, despite settings in loader.conf. Am I missing something? (rootdev="md0" or "/dev/md0" or "ufs:/dev/md0" or...) Second, gzipped mfsroots seem to be corrupt when loaded, but fine when used uncompressed. Does the loader need special compile or runtime options to properly understand and expand gzipped mfsroots? The mfsroot is a naked UFS filesystem image, without slice table or bsdlabel. FreeBSD 6.2-RELEASE-p7 (TISA) #0: Sun Sep 30 03:43:30 CDT 2007 Thanks! -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/