Cannot install Guest Addtions

Discussions about using Linux guests in VirtualBox.

Re: Cannot install Guest Addtions

Postby 52ROSt » 24. Mar 2017, 14:40

@socratis
Thanks for the hint with "man mount". This gives a huge amount of information on the mount command.

I first tried:
Code: Select all   Expand viewCollapse view
rost@rostLMVM:~ > mount -t vboxsf LM173KDE_Basic /home/rost
mount: only root can do that


thus I used the "su -" command


Code: Select all   Expand viewCollapse view
rost@rostLMVM:~ > su -
Password:
rostLMVM ~ # mount -t vboxsf LM173KDE_Basic /home/rost
/sbin/mount.vboxsf: mounting failed with the error: Protocol error
rostLMVM ~ # mount -t vboxsf rostLMVN /home/rost
/sbin/mount.vboxsf: mounting failed with the error: Protocol error
rostLMVM ~ # mount -t vboxsf rost-X240 /home/rost
/sbin/mount.vboxsf: mounting failed with the error: Protocol error
rostLMVM ~ #


I tried 3 possible names for sharename:
- name of the VM in the VBox manager
- name of the guest computer
- name of the host computer

Finally I used:

Code: Select all   Expand viewCollapse view
mount -t vboxsf rost /home/rost


No message in the terminal.
"rost" is the name of the shared folder set in Machine > Setytings > Shared Folders > add . Folder name.

When I opened the file manager, I first got an error message, which I don't recall. As a solution - might be a bit brutal - I powered the VM off. After restarting the file manager worked again normally but I still cannot see the host drive.

I have currently no idea on how to mount a shared folder in linux guest system and appreciate a lot help on this.
52ROSt
 
Posts: 63
Joined: 28. Dec 2014, 07:12

Re: Cannot install Guest Addtions

Postby socratis » 27. Mar 2017, 01:25

You're now deviating from the original "Cannot install Guest Addtions" title. I will give you a hint or two, but if you want to continue about the shared folders, start searching for similar topics, or create a new one with an appropriate title.

You'll have to do some reading: Ch. 4.3 Shared folders of the user manual, the "man mount" and as I mentioned, the forums.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
socratis
Site Moderator
 
Posts: 27259
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Cannot install Guest Addtions

Postby Pritam » 23. Mar 2019, 21:40

Hi

Please follow this solution.

when VM is running go Devices-->optical drivers--> Remove disk from virtual drive( Remove all the mounted disk)

--> Then try devices--> insert guest addition.. cd image this should work ( if not)
--> Devices--> optical drivers-->choose disk imahe-->C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso--> mount this
--> then devices--> insert guest addition.. cd image this should work ( This worked for me)
Pritam
 
Posts: 1
Joined: 23. Mar 2019, 21:34

Previous

Return to Linux Guests

Who is online

Users browsing this forum: No registered users and 10 guests