You are not logged in.

#1 2019-12-30 13:58:09

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 757

The ultimate guide for installing VBox with GA and Shared Folders

Inspired by recent problems with VirtualBox configurations and usage, I present *trumpets please*:

The Ultimate Guide for Installation and Configuration of the VirtualBox With GuestAdditions and Shared Folders

Host
H1) Install VirtualBox.
H2) Start VirtualBox to see if it is working. Close VirtualBox.
H3) Install GuestAdditions (either directly, or via File|Preferences|Extensions VirtualBox main window)
H4) Repeat step (H2)

Guest
G1) Create and configure linux guest virtual machine (=VM)
G2) Install linux VM. Power off VM after successful installation
G3) Start installed VM to see if it is working.
G4) Mount GuestAddition CD (=GA) somehow. In file manager (inside VM) go to GA directory[1]. Be sure 'VBoxLinuxAdditions.run' script is visible.
G5) Open terminal in this directory and execute (thanks to schwim):

$ sudo apt install dkms build-essential linux-headers-$(uname -r) module-assistant
$ sudo m-a prepare
$ sudo bash VBoxLinuxAdditions.run

G6) Reboot VM

To enable mounting shared folders inside guest:

Host
H5) Configure Shared folders in VM Settings

Guest
G7) Open terminal and execute:

$ sudo adduser $USER vboxsf

Log-out and log-in in VM. Shared folder should now be accessible.

[1] This is a File Manager quirck: it is not really mounted until you really visit mounted device. Can be easily checked from terminal.
----------------------------------------
Comments and corrections and improvements are more than welcome. (English language corrections are particularly welcome, because English is - as you certainly guessed - not my native language.)

Last edited by iMBeCil (2019-12-30 21:16:00)


Postpone all your duties; if you die, you won't have to do them ..

Offline

#2 2019-12-30 18:22:50

DeepDayze
Member
From: In Linux Land
Registered: 2017-05-28
Posts: 806

Re: The ultimate guide for installing VBox with GA and Shared Folders

Very good quick and dirty write up on getting VBox with Guest Additions and Shared Folders working for Linux guests. This should be a helpful guide to those who seem to be having issues with setting up GA/Shared Folders in their guests.


Real Men Use Linux

Offline

#3 2019-12-30 21:14:43

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 757

Re: The ultimate guide for installing VBox with GA and Shared Folders

^Thanks DeepDayze. I hope people visiting this forum will find it useful.


Postpone all your duties; if you die, you won't have to do them ..

Offline

#4 2020-02-28 14:22:54

kiko
Member
Registered: 2020-02-28
Posts: 37

Re: The ultimate guide for installing VBox with GA and Shared Folders

Sorry, I don’t understand exactly what I should do. I already entered another line, which another person advised me I install BunsenLabs in Virtualbox, which is installed in Windows.

img 1

img 2

Offline

#5 2020-02-28 16:30:47

kiko
Member
Registered: 2020-02-28
Posts: 37

Re: The ultimate guide for installing VBox with GA and Shared Folders

ia@imiakompiutera:~$ $ sudo apt install dkms build-essential linux-headers-$(uname -r) module-assistant
bash: $: command not found
ia@imiakompiutera:~$

Offline

#6 2020-02-28 16:47:08

damo
....moderator....
Registered: 2015-08-20
Posts: 5,806

Re: The ultimate guide for installing VBox with GA and Shared Folders

kiko wrote:

ia@imiakompiutera:~$ $ sudo apt install dkms build-essential linux-headers-$(uname -r) module-assistant
bash: $: command not found
ia@imiakompiutera:~$

You have answered your own question:

bash: $: command not found

You should copy/paste more carefully


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#7 2020-02-28 16:58:58

kiko
Member
Registered: 2020-02-28
Posts: 37

Re: The ultimate guide for installing VBox with GA and Shared Folders

I do not know what you mean. I translated the phrase into English, which you may not display, because you may not have the fonts in my native language installed.

Offline

#8 2020-02-28 17:07:33

damo
....moderator....
Registered: 2015-08-20
Posts: 5,806

Re: The ultimate guide for installing VBox with GA and Shared Folders

^ I have sent you a PM


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#9 2020-02-28 18:31:57

kiko
Member
Registered: 2020-02-28
Posts: 37

Re: The ultimate guide for installing VBox with GA and Shared Folders

I made a mistake. I did not delete the extra dollar sign. I do not know if I should use this command now, if it is possible what it does, I already made another command.

Offline

Board footer

Powered by FluxBB