Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
en:guides:virtualbox [2015/03/28 04:08] genesis [Installing Virtualbox Guest Additions] adding detailed instructions |
en:guides:virtualbox [2015/03/28 10:35] linea |
||
---|---|---|---|
Line 67: | Line 67: | ||
- | <note tip>This procedure was intended to Slitaz 5.0.\\ | + | <note tip>This procedure is intended for Slitaz 5.0.\\ |
- | This procesure was tested with:\\ | + | This procedure was tested with:\\ |
- VirtualBox 4.3.20 installed on Host, including the Extensions Pack;\\ | - VirtualBox 4.3.20 installed on Host, including the Extensions Pack;\\ | ||
- slitaz-5.0-rc2.iso dated 20140519;\\ | - slitaz-5.0-rc2.iso dated 20140519;\\ | ||
- slitaz-rolling.iso 32-bit dated 20150201. | - slitaz-rolling.iso 32-bit dated 20150201. | ||
- | See guest additions for SliTaz 4.0 [[http://forum.slitaz.org/topic/installing-virtualbox-guest-additions-in-slitaz-40-target#post-10791|in the forum]].</note> | + | See guest additions for SliTaz 4.0 [[http://forum.slitaz.org/topic/installing-virtualbox-guest-additions-in-slitaz-40-target#post-10791|in the forum]] also.</note> |
+ | |||
+ | Virtualbox Guest Additions needs to be manually installed by Slitaz.\\ | ||
- | Virtualbox Guest Additions needs to be manually installed at Slitaz.\\ | ||
Steps: | Steps: | ||
Line 92: | Line 93: | ||
**5.** In a terminal, change directory to the mount point for the VBoxAdditions iso, e.g. | **5.** In a terminal, change directory to the mount point for the VBoxAdditions iso, e.g. | ||
- | cd /media/cdrom/ | + | $ cd /media/cdrom/ |
**6.** Run as root the following command: | **6.** Run as root the following command: | ||
- | sh ./VBoxLinuxAdditions.run | + | # sh ./VBoxLinuxAdditions.run |
Ignore text about scripts added to /etc/init.d (installer does not recognize your Linux Distribution etc). | Ignore text about scripts added to /etc/init.d (installer does not recognize your Linux Distribution etc). | ||
Line 103: | Line 104: | ||
**7.** Open a terminal as root and issue the following commands: | **7.** Open a terminal as root and issue the following commands: | ||
- | adduser -h /var/run/vboxadd -G daemon -S -s /bin/false vboxadd >/dev/null 2>&1 | + | # adduser -h /var/run/vboxadd -G daemon -S -s /bin/false vboxadd >/dev/null 2>&1 |
- | addgroup -S vboxsf >/dev/null 2>&1 | + | # addgroup -S vboxsf >/dev/null 2>&1 |
**8.** Open as root /etc/rcS.conf and add "vboxguest vboxsf vboxvideo" to the LOAD_MODULES line, e.g. | **8.** Open as root /etc/rcS.conf and add "vboxguest vboxsf vboxvideo" to the LOAD_MODULES line, e.g. | ||
- | LOAD_MODULES=" vboxguest vboxsf vboxvideo" | + | <file>LOAD_MODULES=" vboxguest vboxsf vboxvideo"</file> |
**9.** Open as root /etc/slim.conf and change the login_cmd line to start VBoxClient-all before it executes ~./xinitrc, e.g. | **9.** Open as root /etc/slim.conf and change the login_cmd line to start VBoxClient-all before it executes ~./xinitrc, e.g. | ||
- | login_cmd VBoxClient-all & exec /bin/sh -l ~/.xinitrc %session | + | <file>login_cmd VBoxClient-all & exec /bin/sh -l ~/.xinitrc %session</file> |
- | <note tip>Instead of editing /etc/slim.conf, you could add "VBoxClient-all &" without the quotes to a new line above the CASE 1$ line in each users ~/.xinitrc file.</note> | + | <note tip>Instead of editing /etc/slim.conf, you could add "VBoxClient-all &" without the quotes to a new line above the CASE 1$ line in every users ~/.xinitrc file.</note> |
**10.** Reboot. | **10.** Reboot. | ||
Line 120: | Line 121: | ||
To check that the vbox modules are loaded, open a terminal and type: | To check that the vbox modules are loaded, open a terminal and type: | ||
- | lsmod | grep vbox | + | $ lsmod | grep vbox |
... that should show: | ... that should show: | ||
Line 130: | Line 131: | ||
Also, you can install the mesa-demos package to get the //glxgears// and //glxinfo// utilities. | Also, you can install the mesa-demos package to get the //glxgears// and //glxinfo// utilities. | ||
- | After you install mesa-demos, open terminal and type: | + | After you install mesa-demos, open a terminal and type: |
- | glxinfo | grep render | + | $ glxinfo | grep render |
... that should show: | ... that should show: | ||
Line 147: | Line 148: | ||
Clipboard sharing Host<->Guest works if you enable it in the VirtualBox menus or in your virtual machine settings. | Clipboard sharing Host<->Guest works if you enable it in the VirtualBox menus or in your virtual machine settings. | ||
- | Shared folders work (The author manually mounts the shared folders as/when he needs them). For instance, if you wanted to mount the (hypothetical) share called //pubdoc// and access it as a desktop folder called //Docs// (make sure the folder exists first) then you issue the following command in terminal as root: | + | Shared folders work (The author manually mounts the shared folders as and when he needs them). For instance, if you wanted to mount the (hypothetical) share called //pubdoc// and access it as a desktop folder called //Docs// (make sure the folder exists first) then you issue the following command in a terminal as root: |
- | mount -t vboxsf pubdoc /home/tux/Desktop/Docs | + | # mount -t vboxsf pubdoc /home/tux/Desktop/Docs |
References: [[http://forum.slitaz.org/topic/installing-virtualbox-guest-additions-in-slitaz-50#post-34521|Slitaz Forum topic]] | References: [[http://forum.slitaz.org/topic/installing-virtualbox-guest-additions-in-slitaz-50#post-34521|Slitaz Forum topic]] |