Page 1 of 1
Linux Guest Addition Fails (VB 4.1.16)
Posted: 16. Jun 2012, 09:32
by paul99
Greetings,
Guest = Linux Mint 13.
Downloaded Linux Guest addition script (VirtualBox-4.1.16-78094-Linux_x86.run) from VB site.
$ sha256sum VirtualBox-4.1.16-78094-Linux_x86.run
ceb28127870738e9b397453b21f2331f71c9a5a5a716e467a940fe557ce7216d VirtualBox-4.1.16-78094-Linux_x86.run
(checks OK per SHA256SUMS file)
Code: Select all
$ sudo sh ./VBoxLinuxAdditions.run --nox11
Verifying archive integrity...
That's it - just dies after that.
Any ideas?!
Thanks,
Paul
Re: Linux Guest Addition Fails (VB 4.1.16)
Posted: 16. Jun 2012, 12:27
by mpack
There are instructions given in the user manual, section 4.2.2, describing how to install the Linux Guest Additions. Did you follow those instructions?
Re: Linux Guest Addition Fails (VB 4.1.16)
Posted: 16. Jun 2012, 16:32
by paul99
Hi, yes I followed the instructions.
When I selected Devices -> Install Guest Additions, I got an error that it could not mount
/Applications/VirtualBox.app/.../VBoxGuestAdditions.iso
(That's why I decided to download a fresh copy of the Linux Guest Addition installer from the VB site.)
Anyhow, I rebooted my Mint guest, then tried again: got the same error. However, I noticed that it was already mounted as
/media/VBOXADDITIONS_4.1.16_78094. So I navigated there and clicked on autorun.sh and then it seemed to work.
Now I have a new problem: I created a shared folder to automount with read-write permissions. However, in my guest, it's only readable as root:
Code: Select all
paul@mint ~ $ cd /media/sf_paul/
bash: cd: /media/sf_paul/: Permission denied
paul@mint ~ $ sudo su -
mint ~ # cd /media/sf_paul/
mint sf_paul # ls
2565747-skills.doc MyLocalIPAddress.java
...
Any ideas why this is the case?
Thanks,
Paul
Re: Linux Guest Addition Fails (VB 4.1.16)
Posted: 16. Jun 2012, 16:57
by Perryg
As specified in the users manual (4.3.2 Automatic mounting) you need to add your user name to the vboxsf group.
But I have seen issues with automount and permissions and suggest that you use manual with options. You can then add the manual mount to the /etc/rc.local after you are sure you have the syntax correct.
Instructions
Linux guest shared folders
Re: Linux Guest Addition Fails (VB 4.1.16)
Posted: 17. Jun 2012, 07:24
by paul99
Thanks .. I guess I should read more carefully!