Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 2006 13:39:26 -0500
From:      Eric Anderson <anderson@centtech.com>
To:        Shane Adams <adamsch1@yahoo.com>
Cc:        freebsd-fs@freebsd.org, =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= <des@des.no>
Subject:   Re: Advice for hacking on ufs/ffs
Message-ID:  <44C6655E.6080807@centtech.com>
In-Reply-To: <20060725175331.78302.qmail@web31806.mail.mud.yahoo.com>
References:  <20060725175331.78302.qmail@web31806.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.
------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44C6655E.6080807>