atom feed17 messages in org.freebsd.freebsd-fsAdvice for hacking on ufs/ffs
FromSent OnAttachments
Shane AdamsJul 24, 2006 6:51 pm 
Eric AndersonJul 24, 2006 7:06 pm 
Shane AdamsJul 24, 2006 7:11 pm 
Shane AdamsJul 24, 2006 7:41 pm 
Eric AndersonJul 24, 2006 7:50 pm 
Dag-Erling SmørgravJul 25, 2006 3:12 pm 
Eric AndersonJul 25, 2006 4:12 pm 
Shane AdamsJul 25, 2006 5:54 pm 
Rick C. PettyJul 25, 2006 6:33 pm 
Eric AndersonJul 25, 2006 6:39 pm 
Dag-Erling SmørgravJul 25, 2006 6:49 pm 
Dag-Erling SmørgravJul 27, 2006 7:14 am 
Rick C. PettyJul 27, 2006 5:54 pm 
Oliver FrommeJul 28, 2006 9:27 am 
Rick C. PettyJul 28, 2006 3:10 pm 
Shane AdamsAug 1, 2006 8:54 pm 
Eric AndersonAug 2, 2006 3:44 am 
Subject:Advice for hacking on ufs/ffs
From:Eric Anderson (ande@centtech.com)
Date:Jul 25, 2006 6:39:13 pm
List:org.freebsd.freebsd-fs

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