You are not logged in.
I am having vista and using virtual box installed arch linux as the guest.
I have installed the base system from archlinus iso
I created a shared folder called prem
When I tried to mount share folder through I get the following
mount -t vboxsf prem /mnt/vbox
mount: unknown filesystem type 'vboxsf'
I found that I have to install guest additions
I clicked on the devices - install guest additions
I didnt found any file at /media/cdrom/VBoxLinuxAdditions-x86.run
How to install VBoxLinuxAdditions-x86.run where is the file located.
Or in arch linus should I install something to make share folder work
can any one help
Last edited by sant527 (2009-08-09 15:51:23)
Offline
Have you read the Wiki?
http://wiki.archlinux.org/index.php/Vir … _Additions
From the terminal, type:
# sh /media/cdrom/VBoxLinuxAdditions-x86.run
and it should work (provided you have downloaded the GA)...
Offline
It's in community.
Don't install software manually (without pacman).
pacman -S virtualbox-additions
Offline
It's in community.
Don't install software manually (without pacman).pacman -S virtualbox-additions
If he's running x86_64 he has to run the script... but he should be running it in the VM, not in the host!
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
howto use shared folders in Linux guests - http://forums.virtualbox.org/viewtopic.php?f=3&t=15868
After installing the Guest Additions, you can use the Shared Folders Functionality. To access them, you have to define at least one in the VM settings. Open the VM Settings and go to Shared Folders. You can define them there. Click on the Add button and browse for a folder you want to share. Make sure that the name of the share doesn't contain any illegal characters like white spaces. Keep the name as simple as possible. In this howto, I will use the name share.
Now that you have defined a SF, it's time to mount it. Boot the Guest and open a terminal. Create a folder where you will mount it on. E.g. in your home folder. I will use ~/host for the mount point.
Now mount it with the following command:Code: Select all Expand viewCollapse view
sudo mount -t vboxsf share ~/hostNote that with this, the default mount options are used and all files are owned by root. This can be changed by adding some mount options. Options are passed on with the -o parameter. You can use multiple options with one parameter, seperate the values with a comma. See the man page of mount for more info on which options you can use. The User Manual also notes the options compatible with the Shared Folders. To mount the SF so that you are the owner of the files, use this command:
Code: Select all Expand viewCollapse view
sudo mount -t vboxsf -o uid=1000,gid=1000 share ~/hostIf you want to have it mount automatically upon each boot, put the mount command in /etc/rc.local (Debian based distro's), or whatever script is run at the end of the boot process. The Shared Folders service should mount them automatically, but that doesn't always happen.
Using /etc/fstab has little effect, because that file is processed before the SF module is loaded and will fail to mount the share. Sometimes, the share does get mounted because the GA check for it when they are loaded upon boot, but it's very flaky, meaning it doesn't work most of the time. You're better of with the first option.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
and it should work (provided you have downloaded the GA)...
What does GA mean
Offline
sant527:
1. Choose the folder to share in Vboxmanage the main GUI.
2. Click "Install Guest Additions" while in guest.
3. In guest type "mount /dev/sr0 /mnt/" and "sh /mnt/VBoxLinuxAdditions-x86.run"
4. Type mount -t vboxfs share mountpoint.
Each time you upgrade your kernel you need to rerun the additions script and reboot.
GA means Guest Additions.
Offline
If you want it auto mounted on the guest, add the mount line to /etc/rc.local
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
sant527:
1. Choose the folder to share in Vboxmanage the main GUI.
2. Click "Install Guest Additions" while in guest.
3. In guest type "mount /dev/sr0 /mnt/" and "sh /mnt/VBoxLinuxAdditions-x86.run"
4. Type mount -t vboxfs share mountpoint.Each time you upgrade your kernel you need to rerun the additions script and reboot.
GA means Guest Additions.
I installed gcc and make
then When i did sh /mnt/VBoxLinuxAdditions-x86.run
I got the following lines and stopped
This system does not have support for openGL direct rendering
Virtual box requires Linux 2.6.27 or later for this
Note on Arch linux you may need to manually install drm headers
Offline
Finally I got the shared folder working. (Its a lot of effort but feel good after getting it done)
I followed Ashren with few changes
1. Choose the folder to share in Vboxmanage the main GUI.
2. Click "Install Guest Additions" while in guest.
3. In guest type "mount /dev/sr0 /mnt/" and
4. Since I didnt install X still now so I have add X11 exception
"sh /mnt/VBoxLinuxAdditions-x86.run X11"
Then it got installed showing that the video drivers are not installed for virtual additions
5. /etc/rc.d/rc.vboxadd start
6. mount.vboxfs -t vboxfs share mountpoint.
Then I can see the shared folder
Offline
sant527:
1. Choose the folder to share in Vboxmanage the main GUI.
2. Click "Install Guest Additions" while in guest.
3. In guest type "mount /dev/sr0 /mnt/" and "sh /mnt/VBoxLinuxAdditions-x86.run"
4. Type mount -t vboxfs share mountpoint.Each time you upgrade your kernel you need to rerun the additions script and reboot.
GA means Guest Additions.
How do you know that /dev/sr0 is the device to be mounted
Offline