Featured Posts

Wara-wiri: Xochimilco, Mexico City Edisi wara-wiri kali ini kita akan jalan-jalan ke sebuah tempat rekreasi di Mexico. Namanya Xochimilco. Xochimilco adalah sebuah kanal yang dibangun pada zaman suku Aztec ratusan tahun yang lalu. Pada...

Read more

Wara-wiri: Piramida Teotihuacan, Mexico Blog ini sudah jarang di update ya... :hehe: Untuk ke depan, mungkin lebih baik jika ditambah seri jalan-jalan. Jadi kalau ada waktu dan kesempatan, wara-wiri selama ini dan wara-wiri sebelum-sebelumnya...

Read more

Main game: Assassins Creed Revelations Bisa dibilang game Assassins Creed Revelations ini adalah game saya yang paling favorit. Selain game ini, ada game lain yang ber-genre mirip, yaitu Overlord II yang juga favorit saya. Awal saya main...

Read more

Sedikit tentang kebiasaan Jalan Kaki Saya terbiasa dengan jalan kaki dengan jarak tempuh yang cukup jauh. Tetapi sejak meninggalkan bangku kuliah, aktifitas ini sudah sangat jarang dilakukan. Terutama sejak bekerja, karena ada beberapa hal...

Read more

Browsing terenkripsi & terkompresi dengan SSH dan squid... Di berbagai kantor/perusahaan, sudah menjadi kebijakan perusahaan untuk memblokir akses internet pada alamat-alamat website yang tidak sesuai dengan kebijakan kantor. Ini memang sudah lazim dan tentunya...

Read more

  • Prev
  • Next

Mounting USB on VirtualBox (Linux host)

10

Category : Gadget, In English, Laptop, Linux, Tips, Tools, Software & Technology, Ubuntu

First thing to say, Don’t read this if you already know how.

I am making a summary of mounting my USB on my VirtualBox. It’s not a problem if you are using Windows host, but if you are using Linux host, you should use this step to mount your USB on VirtualBox. OK, here is the step:

1. Add yourself to the vboxusers group created when you installed VirtualBox. Go to System –> Administration –> User and Group. Press unlock and the click Manage Group. Then go to vboxuser properties.

User properties

Then, tick on your user account and make a note of your Group ID (GID). See below:

Vboxuser

2. Add this line at the end of your /etc/fstab file:

none /proc/bus/usb usbfs devgid=[your GID],devmode=664 0 0

3. And also add this line in /etc/init.d/mountkernfs.sh file:

## Mount the usbfs for use in Virtual Box
domount usbfs usbdevfs /proc/bus/usb -onoexec,nosuid,nodev,devgid=[your GID],devmode=664

4. Restart your computer.

5. Don’t forget to add it on your Virtualbox setting.

Vbox Setting

That’s it… :dance: [peace] Now you should able to use your USB (Flash disk, printer, etc) on your VirtualBox.

Note:
- Host: Ubuntu 8.10
- VirtualBox: Sun xVM VirtualBox Version 2.0.6
- Don’t put your USB mouse on the list, if you do that, you only able to use you USB mouse from your guest OS (unable to access by host).

Update:
I have found this link. Here is a complete guide using VirtualBox on Ubuntu:
https://help.ubuntu.com/community/VirtualBox

Comments (10)

If you do step no 2, you don’t need to restart, but just run this:
sudo mount -a

I do this step, and skip step 3 and 4 completely. It working until now.

@Donny Kurnia,
Ok, thx for you info… [peace]
Yes, it should be working good without step 3 and 4 (I think step 1-2 is only for mounting Flash Disk USB) and the rest of them is for mounting another USB such as Printer. CMIIW… :wink:

[...] Contact « Mounting USB on VirtualBox (Linux host) [...]

the line you add to to the fs tab file, my system will not allow me to keep the changes?? how can i change this. Also i do not seen to have ‘ /etc/init.d/mountkernfs.sh’ file what would be the reason for this?

@Jack.k
To allow you to add the line maybe you need to use one of this command:
$ sudo gedit /etc/fstab
or
$ sudo nano /etc/fstab
or
$ sudo vi /etc/fstab

What linux distribution are you using?? If you are not using ubuntu, then maybe you will find it on another location.

hello,
saya telah melakukan langkah-langkah tersebut, menggunakan ubuntu hardy sebagai host dan winxp sebagai guest, di virtualbox 2.1.0. device-device usb terdeteksi pada settingsnya namun pada winxp device tersebut tidak ada/tidak termount dengan state: unavailable. apa yang terjadi?

@xvader,
Waahh Hardy yaahh… :D
Utk mounting USB di Hardy yg disini sdh coba…??

Mungkin XP-nya tidak mengenali USB-nya ya… Siapa tahu USB tsb butuh driver… :smile:

yup, langkah-langkah di url tersebut juga telah saya coba, semua device usb terbaca di settings virtualbox, namun teteup di guest os (winxp) masih ga kebaca dan ga bisa digunakan satupun. terpaksa untuk usb flash disk, saya akalin dengan shared folder.

virtualbox guest additions juga telah terinstal.

apa harus instal ulang guest os-nya ya? duh…

*mesin: acer aspire 2920*

@xvader,
Kalau itu mmg diperlukan silahkan dicoba saja instal ulang WinXP-nya. Buat saja virtual disk yang baru kalau VDI lama sayang dibuang.
Coba juga pakai WinXP SP3, mungkin bisa dikenali.

Trimaksih. :hehe:

Post a comment

Smilies

:smile: :mrgreen: :razz: :eek: :???: :wink: :cool: