From owner-freebsd-fs@FreeBSD.ORG Tue Jul 25 18:39:34 2006 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BBD0B16A4DA for ; Tue, 25 Jul 2006 18:39:34 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2227043D49 for ; Tue, 25 Jul 2006 18:39:32 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id k6PIdEJp066452; Tue, 25 Jul 2006 13:39:14 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <44C6655E.6080807@centtech.com> Date: Tue, 25 Jul 2006 13:39:26 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.4 (X11/20060612) MIME-Version: 1.0 To: Shane Adams References: <20060725175331.78302.qmail@web31806.mail.mud.yahoo.com> In-Reply-To: <20060725175331.78302.qmail@web31806.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1618/Mon Jul 24 20:12:40 2006 on mh2.centtech.com X-Virus-Status: Clean Cc: freebsd-fs@freebsd.org, =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= Subject: Re: Advice for hacking on ufs/ffs X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jul 2006 18:39:34 -0000 On 07/25/06 12:53, Shane Adams wrote: > Thanks for the tip DES! I will probably break down and buy a cheap machine or dust off my old P3 box. I have a PXE card at home too. I want to try qemu as well cause if I get it to work I can tool around on my laptop. > > Eric, I hate to bother you but I didn't get the cheat sheet. Here's what I attempted last night. > > I built qemu from ports > I used dd to create 1G file. > I did mdconfig -a -t vnode -f /bigdrive/bsdfilesystem -u 0 > I downloaded the 20M boot only ISO. > > I ran qemu specifying -cdrom as the 20M iso, and -hda to /bigdrive/bsdfilesystem. > > Qemu started fine, and I proceeded to go through the basic install process, at that point it asked me to toss in the correct CD with the packages to complete the installation (Which I didnt' have the CD handy and it was late so I will try again tonight). > > Anyway - you said you do a make DESTDIR to your mdconfig'd file. Did you mount the file you mdconfiged? If so, does a make installworld install a boot loader as well? I'm not clear on how you used qemu to boot agains that device. Perhaps you did a normal BSD install on it then later mounted it to get your stuff on there? I just resent it to you. I'll probably clean it up, and post it somewhere for anyone who cares at some point. I did it without sysinstall, because I wanted an updated version of the OS from my local checked out copy, which already had changes in it. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------