setting up vkernel
dark0s Optik
shiftcoder at gmail.com
Mon Oct 20 09:54:26 PDT 2008
I finished procedure about building, installing and enabling vkernel. I typed:
dd if=/dev/zero of=/var/vkernel/rootimg.01 bs=1m count=2048
vnconfig -c -s labels vn0 /var/vkernel/rootimg.01
disklabel -r -w vn0s0 auto
disklabel -e vn0s0 # add `a' partition with fstype `4.2BSD'
newfs /dev/vn0s0a
mount /dev/vn0s0a /mnt
cd /usr/src
make buildword
make installworld DESTDIR=/mnt
cd etc
make distribution DESTDIR=/mnt
echo '/dev/vkd0s0a / ufs rw 1 1' >/mnt/etc/fstab
echo 'proc /proc procfs rw 0 0' >>/mnt/etc/fstab
console "/usr/libexec/getty Pc" cons25 on secure
umount /mnt
vnconfig -u vn0
sysctl vm.vkernel_enable=1
kldload if_bridge.ko
kldload if_tap.ko
ifconfig bridge0 create
ifconfig bridge0 addm re0 # assuming re0 is the host's interface
ifconfig bridge0 up
cd /var/vkernel ./boot/kernel -m 64m -r rootimg.01 -I auto:bridge0
What is the wrong step in abobe procedure?
Regards,
savio
2008/10/20, dark0s Optik <shiftcoder at gmail.com>:
> I typed 'make builworld' and now build, but this way to create vkernel
> is correct?
>
>
>
>
> 2008/10/20, Sascha Wildner <saw at online.de>:
>> dark0s Optik schrieb:
>>> I typed 'make installworld DESTDIR=/mnt':
>>>
>>> .....
>>> .....
>>> make: not found
>>> ***Error code 127
>>>
>>> Stop in /usr/src
>>> ***Error code 1
>>>
>>> Stop in /usr/src
>>>
>>> What is the problem?
>>
>> You haven't done 'make buildworld' before. Type 'make buildworld'.
>>
>> Sascha
>>
>> --
>> http://yoyodyne.ath.cx
>>
>
>
> --
> only the paranoid will survive
>
--
only the paranoid will survive
More information about the Users
mailing list