From owner-freebsd-questions@FreeBSD.ORG Mon Mar 29 22:56:59 2010 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 4A556106566B for ; Mon, 29 Mar 2010 22:56:59 +0000 (UTC) (envelope-from jhall@socket.net) Received: from mf1.socket.net (mf1f.socket.net [216.106.88.70]) by mx1.freebsd.org (Postfix) with ESMTP id 249B28FC13 for ; Mon, 29 Mar 2010 22:56:58 +0000 (UTC) Received: from [10.129.40.203] (216.106.19.47.reverse.socket.net [216.106.19.47]) by mf1.socket.net (Postfix) with ESMTP id 89C4263660; Mon, 29 Mar 2010 17:56:57 -0500 (CDT) Message-Id: From: Jay Hall To: Jay Hall In-Reply-To: <595AE04E-B7B3-4F79-8618-DE1F633F6697@socket.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Mon, 29 Mar 2010 17:56:56 -0500 References: <03658C6E-697A-43C5-9E6D-8B261D18F9A4@socket.net> <595AE04E-B7B3-4F79-8618-DE1F633F6697@socket.net> X-Mailer: Apple Mail (2.936) Cc: freebsd-questions@freebsd.org Subject: Re: Custom Kernel to Memory Stick 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: Mon, 29 Mar 2010 22:56:59 -0000 > > On Mar 29, 2010, at 10:49 AM, Jay Hall wrote: >> >> What would be the best way to get our custom configuration onto the >> memory stick? > OK, I managed t get our custom configuration on to the memory stick using dump. After getting everything configured, what I thought was correctly, I am able to boot from the memory stick until it is time to mount the root partition. When mounting the root partition from /dev/da0s1a, I receive the following message: Trying to mount root from ufs:/dev/da0s1a ROOT MOUNT ERROR: If you have invalid mount options, reboot and first try the following from the loader prompt: I have tried the suggested courses of action without any success. If I type ufs:/dev/da0s1a I receive the ROOT MOUNT ERROR again. Following is what I have done to create the bootable memory stick. Created two partitions on the memory stick each about 2 GB. sysinstall was used for this. Used bsdlabel to create the necessary labels on the memory stick. sysinstall was used for this. Ran newfs as on all of the labels. This was done from the command prompt. Once everything was created, I mounted the memory stick and created an image of my working installation using dump. boot0cfg was run on the memory stick. boot0cfg -v -B -o noupdate da0 Modified the fstab on the memory stick as follows /dev/da0s1a / rw,noatime 0 0 Everything other than the operating system was left on the hard drive. If anyone has any suggestions how to fix this, please let me know. I am out of ideas. Or, if you can direct me to a howto, that would be fine also. Thanks for all your help and patience. Jay