2015年12月27日 星期日

[Virtualbox][Archlinux] How to use host-only in virtualbox

Click “Download From Mirror” on the webpage virtualbox-host-dkms.

Decompress the file
tar xvf virtualbox-host-dkms-5.1.10-1-x86_64.pkg.tar.xz

cd usr/src/vboxhost-5.1.10_OSE
make
After compile the code will create four file(vboxdrv vboxnetadp vboxnetflt vboxpci).


Check extramodules-4.3.2-ARCH link under 4.3.2-ARCH-4.3.2
/lib/modules/4.3.2-ARCH-4.3.2
extramodules -> ../extramodules-4.3.2-ARCH/


All virtualbox module which under following path.
/lib/modules/extramodules-4.3.2-ARCH
vboxdrv.ko vboxnetadp.ko vboxnetflt.ko vboxpci.ko


Post all virtualbox ko file in following file
vim /etc/modules-load.d/virtualbox.conf


Add host-only interface




Use host-only option

0 意見:

張貼留言