"Kevin Oberman" <[EMAIL PROTECTED]> writes:
> The first question is a bit tougher.

Not at all.  Just prepare the slice so that it contains at least an
'a' partition (so you can boot from it), mount the fresh partitions in
the correct places in relation to eachother (e.g. ad0s2a on /mnt,
ad0s2d on /mnt/var, ad0s2e on /mnt/usr), then install 5.0 on the
appropriate partitions.  There are a number of ways to do the latter:

 - if you have successfully built a 5.0 world, do an installworld with
   DESTDIR set to the root of the empty partitions (/mnt in our
   example).  Then go into the 'etc' directory in your 5.0 source tree
   and do 'make distribution', again with DESTDIR set to the root of
   the appropriate partitions.  You will also need to build and
   install a kernel, and install the first- and second-stage loaders
   (using disklabel -B); the 4.x loaders should work fine, but you can
   force disklabel to use the 5.0 loaders:

# disklabel -B -b /mnt/boot/boot1 -s /mnt/boot/boot2 ad0s2

 - if you have a copy of e.g. RC3 on cdrom (you can also just download
   the ISO, vnconfig it, and mount the vn device), you can cd into the
   directories for the distributions you want and run install.sh from
   there.  You'll need at least "base"; with just "base" installed you
   will be able to boot, configure your network interface, pkg_add -r
   cvsup, get the sources and make world to get the rest, or use
   sysinstall to install the rest from CD-ROM or an FTP server.

# vnconfig -c vn0c rc3.iso
# mount -t cd9660 /dev/vn0c /cdrom
# cd /cdrom/base
# env DESTDIR=/mnt sh install.sh
You are about to extract the base distribution into /mnt - are you SURE
you want to do this over your installed system (y/n)? y

   Remember to copy or rename "kernel.GENERIC" to "kernel", and
   install the boot loaders as described above.

DES
-- 
Dag-Erling Smorgrav - [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to