NewkernelBoot
Describe Development/NewkernelBoot here.
Installing multiple kernels on VMware
This information is helpful if you have DragonFly BSD installed on your machine using the bootable CD. Now you have modified the kernel and want to use this modified kernel to boot the machine. This is a pretty straight forward way to install:
In the virtual machine settings "Add another hard disk to your currently installed machine".
Load the Bootable CD in VMware and you should boot from the CD.
Boot the virtual machine and login as "installer" as you did during the first time you install DragonFly on virtual machine.
Enter "install DragonFly BSD" option. It will ask for a partition and you should see one for the newly added disk space, normally its is "ad1". Remember this name it required later for mounting the disk.
Select that partition and go ahead with formatting that disk.
Once the formatting is done it will ask whether you want to go ahead with installation, Press Esc to quit installation.
Now you have a formatted disk on which you can install your own kernel.
Reboot the machine not from the CD and you should see two options for booting, only one will work now. Select the "default" and now login as root.
Now we need to mount the new partition.
If during formatting the name was "ad1" then *"disklabel ad1s1" *will show you all the partitions created.
mount /dev/ad1s1a /mnt
mkdir /mnt/var
mkdir /mnt/usr
mkdir /mnt/tmp
mkdir /mnt/home
mount /dev/ad1s1d /mnt/var
mount /dev/ad1s1e /mnt/usr
mount /dev/ad1s1f /mnt/tmp
mount /dev/ad1s1g /mnt/home
Now we are ready to install DragonFly on this partition.
cd /usr/src or wherever your source code is.
make world DESTDIR=/mnt
cd etc
make distribution DESTDIR=/mnt
cp /etc/fstab /mnt/etc
make buildkernel KERNCONF=GENERIC
make installkernel KERNCONF=GENERIC DESTDIR=/mnt
You have installed your kernel on this new partition.
reboot your system.
Now select the other option by default its " Drive 1" and you should see the your kernel booting.