On Sat, Sep 27, 2008 at 11:02:24PM +0900, Jordi Beltran Creix wrote:
> I am using a virtual machine to try and follow -CURRENT.I have
> installed a snapshot, downloaded the cvs source, built it and run to
> see if it worked, up to there everything is okay.
> Reading the FAQ I found out that the "official" way to follow current
> more or less closely is to build a ramdisk image(or download a bsd.rd
> image from the servers) and boot from that. 

I believe you have misread the FAQ.  The bsd.rd kernels are used for:

   initial binary installations
   binary upgrades
   rescue

If you are running -current, you have two choices:

   install (or upgrade to) a snapshot, and build -current from the source
   upgrade from snapshot to snapshot, never building -current yourself.

It appears you chose the first.  If you have built and installed your
kernel, booted it, then did a "make build" of userland, you are already
running -current.  

> However, when I place my
> newly generated image in / and boot from it, it tells me that it lacks
> a root filesystem...

I'm not sure *what* you are trying to do.  Perhaps you're trying to copy
your -current system to your production environment?  

Please forgive this level-set: 

To boot the OS requires boot blocks be installed, to get to a point where 
the bootloader is run and a kernel selected.  How you do that varies by 
architecture.  For i368/amd64, you need an MBR program installed, via 
fdisk(8) typically, and a PBR installed via installboot(8).  The PBR has 
the specific sectors where the bootloader program (/usr/mdec/boot, usually
copied into /boot) is stored.

When the kernel is booted, it will look for a root partition.  By default, 
it will look in the disklabel for the "a" partition. You can override this
with "boot -a".  If the kernel cannot find (or be directed to) a root parition,
the boot will fail.

As I stated above, if you have built the kernel and userland (and optionally,
xenocara) from the -current sources, you are running -current.  *IF* you
wish to copy this OS to another platform, you must build a release and do
a binary install or binary upgrade.  Instructions for making releases are
in FAQ 5 and, for additional detail, in the release(8) man page.

Reply via email to