Re: setting up vkernel

2008-10-26 Thread dark0s Optik
Ok, it works! Best regards, savio 2008/10/24, Thomas Nikolajsen <[EMAIL PROTECTED]>: >> Now, I can set up two or more vkernel over a single DragonFly system. >> How can I change in configuration phase for setting multiple vkernel? > > You just make a copy of rootimg file and run kernel (in anothe

Re: setting up vkernel

2008-10-24 Thread Clement Martin
On Friday 24 October 2008 14:01:58 dark0s Optik wrote: > Now I must setting 'sysctl vm.vkernel_enable=1'. > How can set up vkernel to configure it at boot time? just add vm.vkernel_enable=1 in /etc/sysctl.conf Regards, Clement -- Visitez notre nouveau site web: www.amstergroup.com

Re: setting up vkernel

2008-10-24 Thread dark0s Optik
Now I must setting 'sysctl vm.vkernel_enable=1'. How can set up vkernel to configure it at boot time? Regards, savio 2008/10/24, dark0s Optik <[EMAIL PROTECTED]>: >> Try running: `./kernel -m 64m -r rootimg.01 -I auto:bridge0' > > Ok, thanks, it works! > >> Which DragonFly version are you using?

Re: setting up vkernel

2008-10-24 Thread dark0s Optik
> Try running: `./kernel -m 64m -r rootimg.01 -I auto:bridge0' Ok, thanks, it works! > Which DragonFly version are you using? I am using DragonFly 2.0.1 Now, I can set up two or more vkernel over a single DragonFly system. How can I change in configuration phase for setting multiple vkernel? R

Re: setting up vkernel

2008-10-23 Thread Thomas Nikolajsen
> >>I run vkernel, but it never happens, how can I know that vkernel is running? > > > > Try `ps ax | grep kernel', in another login session (tty). > > > > If running vkernel looks like a DragonFly system booting, it is working. > > > > What never happens? > > Please include in your respnse command

Re: setting up vkernel

2008-10-23 Thread dark0s Optik
I typed: #./boot/kernel -m 64m -r rootimg.01 -I auto:bridge0 #./boot/kernel: command not found #pwd /home/var/kernel #ls -lh kernel rootimg.01 var.vkernel -> /home/var.vkernel # 2008/10/21, Thomas Nikolajsen <[EMAIL PROTECTED]>: >>I run vkernel, but it never happens, how

Re: setting up vkernel

2008-10-21 Thread Thomas Nikolajsen
>I run vkernel, but it never happens, how can I know that vkernel is running? Try `ps ax | grep kernel', in another login session (tty). If running vkernel looks like a DragonFly system booting, it is working. What never happens? Please include in your respnse commands you type and their output.

Re: setting up vkernel

2008-10-20 Thread dark0s Optik
I run vkernel, but it never happens, how can I know that vkernel is running? 2008/10/20, Sascha Wildner <[EMAIL PROTECTED]>: > dark0s Optik schrieb: >> I finished procedure about building, installing and enabling vkernel. I >> typed: >> >> [...] >> >> What is the wrong step in abobe procedure? > >

Re: setting up vkernel

2008-10-20 Thread Sascha Wildner
dark0s Optik schrieb: I finished procedure about building, installing and enabling vkernel. I typed: [...] What is the wrong step in abobe procedure? It would be easier if you tell us what exactly happens or what error you get. Sascha -- http://yoyodyne.ath.cx

Re: setting up vkernel

2008-10-20 Thread dark0s Optik
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.2BS

Re: setting up vkernel

2008-10-20 Thread dark0s Optik
I typed 'make builworld' and now build, but this way to create vkernel is correct? 2008/10/20, Sascha Wildner <[EMAIL PROTECTED]>: > dark0s Optik schrieb: >> I typed 'make installworld DESTDIR=/mnt': >> >> . >> . >> make: not found >> ***Error code 127 >> >> Stop in /usr/src >> ***Error

Re: setting up vkernel

2008-10-20 Thread Sascha Wildner
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

Re: setting up vkernel

2008-10-20 Thread Matthias Schmidt
* dark0s Optik wrote: > . > make: not found > > What is the problem? make is not found. Either your path is wrong or your installation is b0rken. Look in /usr/bin for a make binary. If its there, adjust your path. If not, you should consider reinstalling your system ... Regards

Re: setting up vkernel

2008-10-20 Thread dark0s Optik
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? 2008/10/20, Sascha Wildner <[EMAIL PROTECTED]>: > dark0s Optik schrieb: >> Now why I type make installword and not building kernel? > >

Re: setting up vkernel

2008-10-20 Thread Sascha Wildner
dark0s Optik schrieb: Now why I type make installword and not building kernel? I'm not sure I understand what you mean but note that the manual page says: "Next, a filesystem image to be used by the virtual kernel has to be created and populated (assuming world has been built previously)" S

Re: setting up vkernel

2008-10-20 Thread dark0s Optik
In vkernel man page there is: 1 dd if=/dev/zero of=/var/vkernel/rootimg.01 bs=1m count=2048 2 vnconfig -c -s labels vn0 /var/vkernel/rootimg.01 3 disklabel -r -w vn0s0 auto 4 disklabel -e vn0s0 # add `a' partition with fstype `4.2BSD' 5 newfs /dev/vn0s0a 6 mount

Re: setting up vkernel

2008-10-18 Thread Matthias Schmidt
Hi, * dark0s Optik wrote: > I have typed: > > mkdir /home/var.vkernel > ln -s /home/var.vkernel /var/vkernel > > dd if=/dev/zero of=/var/vkernel/rootimg.01 bs=1m count=2048 > vnconfig -c -s labels vn0 /var/vkernel/rootimg.01 > disklabel -e vn0s0 > > after I close vi with :wq > > and I typed >

Re: setting up vkernel

2008-10-18 Thread Nuno Antunes
On Sat, Oct 18, 2008 at 3:50 PM, dark0s Optik <[EMAIL PROTECTED]> wrote: > Ok, newfs /dev/vn0s0a and mount /dev/vn0s0a /mnt done. > Now, I type: > > #cd /usr/src > #make installworld DESTDIR=/mnt > make: don't know how to make installworld. Stop > # It looks like you don't have the source code und

Re: setting up vkernel

2008-10-18 Thread dark0s Optik
Ok, newfs /dev/vn0s0a and mount /dev/vn0s0a /mnt done. Now, I type: #cd /usr/src #make installworld DESTDIR=/mnt make: don't know how to make installworld. Stop # 2008/10/18, Nuno Antunes <[EMAIL PROTECTED]>: > On Sat, Oct 18, 2008 at 3:03 PM, dark0s Optik <[EMAIL PROTECTED]> wrote: >> No, what I

Re: setting up vkernel

2008-10-18 Thread Nuno Antunes
On Sat, Oct 18, 2008 at 3:03 PM, dark0s Optik <[EMAIL PROTECTED]> wrote: > No, what I must modify? > When editing the disklabel with "disklabel -e vn0s0" just copy the last line ( that starts with "c:" ) and insert another one just like it above and change "c:" with "a:" and change the "unused" ke

Re: setting up vkernel

2008-10-18 Thread dark0s Optik
No, what I must modify? 2008/10/18, Nuno Antunes <[EMAIL PROTECTED]>: > On Sat, Oct 18, 2008 at 11:59 AM, dark0s Optik <[EMAIL PROTECTED]> wrote: >> I have typed: >> >> mkdir /home/var.vkernel >> ln -s /home/var.vkernel /var/vkernel >> >> dd if=/dev/zero of=/var/vkernel/rootimg.01 bs=1m count=204

Re: setting up vkernel

2008-10-18 Thread Nuno Antunes
On Sat, Oct 18, 2008 at 11:59 AM, dark0s Optik <[EMAIL PROTECTED]> wrote: > I have typed: > > mkdir /home/var.vkernel > ln -s /home/var.vkernel /var/vkernel > > dd if=/dev/zero of=/var/vkernel/rootimg.01 bs=1m count=2048 > vnconfig -c -s labels vn0 /var/vkernel/rootimg.01 > disklabel -e vn0s0 Did