Date: Fri, 6 May 2022 21:07:24 +0200 From: Mario Marietto <marietto2008@gmail.com> To: FreeBSD virtualization <freebsd-virtualization@freebsd.org>, vbox@freebsd.org Subject: No way to boot any OS with Virtualbox-ose on FreeBSD 13R. Message-ID: <CA%2B1FSiibPOpY3r2A3a2kQ7CBXZ=svPzRoTN%2BtmmjRErMK6yVsw@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
--000000000000b5b51805de5c93da Content-Type: text/plain; charset="UTF-8" Hello to everyone. This is my second attempt to be able to boot an OS with Virtualbox. I'm trying to boot a Linux and a Windows 11 DVD. I've followed different tutorials,such as : http://www.allanjude.com/bsd/virtualization-host-virtualbox.html https://forums.freebsd.org/threads/installing-windows-10-in-virtualbox-5-2-44.77781/ https://forums.virtualbox.org/viewtopic.php?f=40&t=91449 https://ostechnix.com/install-oracle-virtualbox-freebsd/ but I still haven't been able to accomplish this task. I have also installed bhyve. # pkg install virtualbox-ose # added the following line to /boot/loader.conf : # vboxdrv_load="YES" # added the following to /etc/rc.conf : vboxnet_enable="YES" # pw groupmod vboxusers -m marietto # chown root:vboxusers /dev/vboxnetctl # chmod 0660 /dev/vboxnetctl To make this permissions change permanent, added these lines to /etc/devfs.conf : own vboxnetctl root:vboxusers perm vboxnetctl 0660 # pw groupmod operator -m marietto Added the following to /etc/devfs.rules : [system=10] add path 'usb/*' mode 0660 group operator To load these new rules, added the following to /etc/rc.conf: devfs_system_ruleset="system" Restarted devfs: # service devfs restart Enabled it in /etc/rc.conf and started it if it is not already running: hald_enable="YES" # service hald start hald does not exist in /etc/rc.d or the local startup directories (/usr/local/etc/rc.d), or is not executable # kldstat |grep vmmon nothing # kldstat | grep vmm 10 1 0xffffffff8288d000 583d30 vmm.ko This is how I have configured the various settings on the GUI : https://ibb.co/sC2THhy https://ibb.co/3CYXkdK https://ibb.co/9VxH6bB https://ibb.co/Nnxz0QW https://ibb.co/V9hWK1V https://ibb.co/mTWQdd8 as u can see it won't boot. I always see a black screen inside the Virtualbox window. --000000000000b5b51805de5c93da Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div><div class=3D"gmail-"><div class=3D"gmail-_1mf gmail-= _1mj"><span><span>Hello to everyone.</span></span></div></div><div class=3D= "gmail-"><div class=3D"gmail-_1mf gmail-_1mj"><span><br></span></div></div>= <div class=3D"gmail-"><div class=3D"gmail-_1mf gmail-_1mj"><span><span>This= is my second attempt to be able to boot an OS with Virtualbox. I'm try= ing to boot a Linux and a Windows 11 DVD. I've followed different tutor= ials,such as :</span></span></div></div><div class=3D"gmail-"><div class=3D= "gmail-_1mf gmail-_1mj"><span><br></span></div></div><div class=3D"gmail-">= <div class=3D"gmail-_1mf gmail-_1mj"><span><br></span></div></div><div clas= s=3D"gmail-"><div class=3D"gmail-_1mf gmail-_1mj"><span class=3D"gmail-py34= i1dx"><span><span><a href=3D"http://www.allanjude.com/bsd/virtualization-ho= st-virtualbox.html">http://www.allanjude.com/bsd/virtualization-host-virtua= lbox.html</a></span></span></span></div></div><div class=3D"gmail-"><div cl= ass=3D"gmail-_1mf gmail-_1mj"><span><br></span></div></div><div class=3D"gm= ail-"><div class=3D"gmail-_1mf gmail-_1mj"><span class=3D"gmail-py34i1dx"><= span><span><a href=3D"https://forums.freebsd.org/threads/installing-windows= -10-in-virtualbox-5-2-44.77781/">https://forums.freebsd.org/threads/install= ing-windows-10-in-virtualbox-5-2-44.77781/</a></span></span></span></div></= div><div class=3D"gmail-"><div class=3D"gmail-_1mf gmail-_1mj"><span><br></= span></div></div><div class=3D"gmail-"><div class=3D"gmail-_1mf gmail-_1mj"= ><span class=3D"gmail-py34i1dx"><span><span><a href=3D"https://forums.virtu= albox.org/viewtopic.php?f=3D40&t=3D91449">https://forums.virtualbox.org= /viewtopic.php?f=3D40&t=3D91449</a></span></span></span></div></div><di= v class=3D"gmail-"><div class=3D"gmail-_1mf gmail-_1mj"><span><br></span></= div></div><div class=3D"gmail-"><div class=3D"gmail-_1mf gmail-_1mj"><span = class=3D"gmail-py34i1dx"><span><span><a href=3D"https://ostechnix.com/insta= ll-oracle-virtualbox-freebsd/">https://ostechnix.com/install-oracle-virtual= box-freebsd/</a></span></span></span></div></div><div class=3D"gmail-"><div= class=3D"gmail-_1mf gmail-_1mj"><span><br></span></div></div><div class=3D= "gmail-"><div class=3D"gmail-_1mf gmail-_1mj"><span><br></span></div></div>= <div class=3D"gmail-"><div class=3D"gmail-_1mf gmail-_1mj"><span><span>but = I still haven't been able to accomplish this task. I have also installe= d bhyve.</span></span></div></div><div class=3D"gmail-"><div class=3D"gmail= -_1mf gmail-_1mj"><span><br></span></div></div><div class=3D"gmail-"><div c= lass=3D"gmail-_1mf gmail-_1mj"><span><br></span></div></div><div class=3D"g= mail-"><div class=3D"gmail-_1mf gmail-_1mj"><span><span># pkg install virtu= albox-ose</span></span></div></div><div class=3D"gmail-"><div class=3D"gmai= l-_1mf gmail-_1mj"><span><br></span></div></div><div class=3D"gmail-"><div = class=3D"gmail-_1mf gmail-_1mj"><span><span># added the following line to = /boot/loader.conf :</span></span></div></div><div class=3D"gmail-"><div c= lass=3D"gmail-_1mf gmail-_1mj"><span><br></span></div></div><div class=3D"g= mail-"><div class=3D"gmail-_1mf gmail-_1mj"><span><span># vboxdrv_load=3D&q= uot;YES"</span></span></div></div><div class=3D"gmail-"><div class=3D"= gmail-_1mf gmail-_1mj"><span><br></span></div></div><div class=3D"gmail-"><= div class=3D"gmail-_1mf gmail-_1mj"><span><span># added the following to = /etc/rc.conf :</span></span></div></div><div class=3D"gmail-"><div class= =3D"gmail-_1mf gmail-_1mj"><span><span>vboxnet_enable=3D"YES"</sp= an></span></div></div><div class=3D"gmail-"><div class=3D"gmail-_1mf gmail-= _1mj"><span><br></span></div></div><div class=3D"gmail-"><div class=3D"gmai= l-_1mf gmail-_1mj"><span><span># pw groupmod vboxusers -m marietto</span></= span></div></div><div class=3D"gmail-"><div class=3D"gmail-_1mf gmail-_1mj"= ><span><br></span></div></div><div class=3D"gmail-"><div class=3D"gmail-_1m= f gmail-_1mj"><span><span># chown root:vboxusers /dev/vboxnetctl</span></sp= an></div></div><div class=3D"gmail-"><div class=3D"gmail-_1mf gmail-_1mj"><= span><br></span></div></div><div class=3D"gmail-"><div class=3D"gmail-_1mf = gmail-_1mj"><span><span># chmod 0660 /dev/vboxnetctl</span></span></div></d= iv><div class=3D"gmail-"><div class=3D"gmail-_1mf gmail-_1mj"><span><br></s= pan></div></div><div class=3D"gmail-"><div class=3D"gmail-_1mf gmail-_1mj">= <span><span>To make this permissions change permanent, added these lines= to /etc/devfs.conf :</span></span></div></div><div class=3D"gmail-"><div c= lass=3D"gmail-_1mf gmail-_1mj"><span><br></span></div></div><div class=3D"g= mail-"><div class=3D"gmail-_1mf gmail-_1mj"><span><span>own vboxnetctl = root:vboxusers</span></span></div></div><div class=3D"gmail-"><div class=3D= "gmail-_1mf gmail-_1mj"><span><span>perm vboxnetctl 0660</span></span></= div></div><div class=3D"gmail-"><div class=3D"gmail-_1mf gmail-_1mj"><span>= <br></span></div></div><div class=3D"gmail-"><div class=3D"gmail-_1mf gmail= -_1mj"><span><span># pw groupmod operator -m marietto</span></span></div></= div><div class=3D"gmail-"><div class=3D"gmail-_1mf gmail-_1mj"><span><br></= span></div></div><div class=3D"gmail-"><div class=3D"gmail-_1mf gmail-_1mj"= ><span><span>Added the following to /etc/devfs.rules :</span></span></di= v></div><div class=3D"gmail-"><div class=3D"gmail-_1mf gmail-_1mj"><span><b= r></span></div></div><div class=3D"gmail-"><div class=3D"gmail-_1mf gmail-_= 1mj"><span><span>[system=3D10]</span></span></div></div><div class=3D"gmail= -"><div class=3D"gmail-_1mf gmail-_1mj"><span><span>add path 'usb/*'= ; mode 0660 group operator</span></span></div></div><div class=3D"gmail-"><= div class=3D"gmail-_1mf gmail-_1mj"><span><br></span></div></div><div class= =3D"gmail-"><div class=3D"gmail-_1mf gmail-_1mj"><span><span>To load these = new rules, added the following to /etc/rc.conf:</span></span></div></div= ><div class=3D"gmail-"><div class=3D"gmail-_1mf gmail-_1mj"><span><br></spa= n></div></div><div class=3D"gmail-"><div class=3D"gmail-_1mf gmail-_1mj"><s= pan><span>devfs_system_ruleset=3D"system"</span></span></div></di= v><div class=3D"gmail-"><div class=3D"gmail-_1mf gmail-_1mj"><span><br></sp= an></div></div><div class=3D"gmail-"><div class=3D"gmail-_1mf gmail-_1mj"><= span><span>Restarted devfs:</span></span></div></div><div class=3D"gmail-">= <div class=3D"gmail-_1mf gmail-_1mj"><span><br></span></div></div><div clas= s=3D"gmail-"><div class=3D"gmail-_1mf gmail-_1mj"><span><span># service dev= fs restart</span></span></div></div><div class=3D"gmail-"><div class=3D"gma= il-_1mf gmail-_1mj"><span><br></span></div></div><div class=3D"gmail-"><div= class=3D"gmail-_1mf gmail-_1mj"><span><span>Enabled it in /etc/rc.conf and= started it if it is not already running:</span></span></div></div><div cla= ss=3D"gmail-"><div class=3D"gmail-_1mf gmail-_1mj"><span><br></span></div><= /div><div class=3D"gmail-"><div class=3D"gmail-_1mf gmail-_1mj"><span><span= >hald_enable=3D"YES"</span></span></div></div><div class=3D"gmail= -"><div class=3D"gmail-_1mf gmail-_1mj"><span><br></span></div></div><div c= lass=3D"gmail-"><div class=3D"gmail-_1mf gmail-_1mj"><span><span># service = hald start</span></span></div></div><div class=3D"gmail-"><div class=3D"gma= il-_1mf gmail-_1mj"><span><br></span></div></div><div class=3D"gmail-"><div= class=3D"gmail-_1mf gmail-_1mj"><span><span>hald does not exist in /etc/rc= .d or the local startup</span></span></div></div><div class=3D"gmail-"><div= class=3D"gmail-_1mf gmail-_1mj"><span><span>directories (/usr/local/etc/rc= .d), or is not executable</span></span></div></div><div class=3D"gmail-"><d= iv class=3D"gmail-_1mf gmail-_1mj"><span><br></span></div></div><div class= =3D"gmail-"><div class=3D"gmail-_1mf gmail-_1mj"><span><span># kldstat |gre= p vmmon</span></span></div></div><div class=3D"gmail-"><div class=3D"gmail-= _1mf gmail-_1mj"><span><span>nothing</span></span></div></div><div class=3D= "gmail-"><div class=3D"gmail-_1mf gmail-_1mj"><span><br></span></div></div>= <div class=3D"gmail-"><div class=3D"gmail-_1mf gmail-_1mj"><span><span># kl= dstat | grep vmm</span></span></div></div><div class=3D"gmail-"><div class= =3D"gmail-_1mf gmail-_1mj"><span><span>10 1 0xffffffff8288d000 583d30 = vmm.ko</span></span></div></div><div class=3D"gmail-"><div class=3D"gmail-_= 1mf gmail-_1mj"><span><br></span></div></div><div class=3D"gmail-"><div cla= ss=3D"gmail-_1mf gmail-_1mj"><span><br></span></div></div><div class=3D"gma= il-"><div class=3D"gmail-_1mf gmail-_1mj"><span><span>This is how I have co= nfigured the various settings on the GUI :</span></span></div></div><div cl= ass=3D"gmail-"><div class=3D"gmail-_1mf gmail-_1mj"><span><br></span></div>= </div><div class=3D"gmail-"><div class=3D"gmail-_1mf gmail-_1mj"><span><br>= </span></div></div><div class=3D"gmail-"><div class=3D"gmail-_1mf gmail-_1m= j"><span class=3D"gmail-py34i1dx"><span><span><a href=3D"https://ibb.co/sC2= THhy">https://ibb.co/sC2THhy</a></span></span></span></div></div><div class= =3D"gmail-"><div class=3D"gmail-_1mf gmail-_1mj"><span><br></span></div></d= iv><div class=3D"gmail-"><div class=3D"gmail-_1mf gmail-_1mj"><span class= =3D"gmail-py34i1dx"><span><span><a href=3D"https://ibb.co/3CYXkdK">https://= ibb.co/3CYXkdK</a></span></span></span></div></div><div class=3D"gmail-"><d= iv class=3D"gmail-_1mf gmail-_1mj"><span><br></span></div></div><div class= =3D"gmail-"><div class=3D"gmail-_1mf gmail-_1mj"><span class=3D"gmail-py34i= 1dx"><span><span><a href=3D"https://ibb.co/9VxH6bB">https://ibb.co/9VxH6bB<= /a></span></span></span></div></div><div class=3D"gmail-"><div class=3D"gma= il-_1mf gmail-_1mj"><span><br></span></div></div><div class=3D"gmail-"><div= class=3D"gmail-_1mf gmail-_1mj"><span class=3D"gmail-py34i1dx"><span><span= ><a href=3D"https://ibb.co/Nnxz0QW">https://ibb.co/Nnxz0QW</a></span></span= ></span></div></div><div class=3D"gmail-"><div class=3D"gmail-_1mf gmail-_1= mj"><span><br></span></div></div><div class=3D"gmail-"><div class=3D"gmail-= _1mf gmail-_1mj"><span class=3D"gmail-py34i1dx"><span><span><a href=3D"http= s://ibb.co/V9hWK1V">https://ibb.co/V9hWK1V</a></span></span></span></div></= div><div class=3D"gmail-"><div class=3D"gmail-_1mf gmail-_1mj"><span><br></= span></div></div><div class=3D"gmail-"><div class=3D"gmail-_1mf gmail-_1mj"= ><span class=3D"gmail-py34i1dx"><span><span><a href=3D"https://ibb.co/mTWQd= d8">https://ibb.co/mTWQdd8</a></span></span></span></div></div><div class= =3D"gmail-"><div class=3D"gmail-_1mf gmail-_1mj"><span><br></span></div></d= iv><div class=3D"gmail-"><div class=3D"gmail-_1mf gmail-_1mj"><span><br></s= pan></div></div><div class=3D"gmail-"><div class=3D"gmail-_1mf gmail-_1mj">= <span><span>as u can see it won't boot. I always see a black screen ins= ide the Virtualbox window.</span></span></div></div></div></div> --000000000000b5b51805de5c93da--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B1FSiibPOpY3r2A3a2kQ7CBXZ=svPzRoTN%2BtmmjRErMK6yVsw>