Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:guides:virtualbox [2015/03/28 09:35] – linea | en:guides:virtualbox [2026/10/14 23:29] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| - | ===== SliTaz GNU/ | + | This guide runs SliTaz |
| - | You can now play with SliTaz GNU/Linux on Windows with VirtualBox. | + | ===== Get the ISO ===== |
| - | Required: | + | |
| - | * [[http:// | + | Download an image from the [[https://www.slitaz.org/en/get/|Get SliTaz]] page and check it, see [[https://doc.slitaz.org/handbook/get.html|Handbook: Get SliTaz]]. |
| - | * [[http://www.virtualbox.org/wiki/Downloads|Oracle VirtualBox]] software, binaries for Windows. | + | |
| - | * [[http://www.7-zip.org/fr/download.html|7-Zip]], needed to decompress the file. | + | |
| - | ===== Step 1 - Downloads | + | * x86_64 for a 64-bit host and guest (SliTaz Firefox, 155 MB, or SliTaz Core, 65 MB). |
| + | * i486 for a 32-bit guest (SliTaz Core, 47 MB). | ||
| - | * Download and install 7-Zip - necessary to decompress the files. | + | ===== Create |
| - | * Download and install the Oracle VitualBox software. | + | |
| - | * Download and decompress | + | |
| - | ===== Step 2 - Play the virtual machine. ===== | + | In VirtualBox click //New// and set: |
| - | Before running SliTaz GNU/ | + | * // |
| + | * //Memory//: the live system runs in RAM and takes about 45 MB (Base), 150 to 200 MB (Core) or 450 to 530 MB (Firefox), plus your programs. Give 1024 MB or more to the Firefox image, 512 MB to Core. | ||
| + | * //Hard disk//: create | ||
| + | * //Settings > Storage//: attach the ISO to the optical drive. | ||
| + | * //Settings > System > Enable EFI//: optional. The x86_64 images boot on BIOS and on UEFI; the i486 images boot on BIOS only. Leave EFI off for i486 and for a first try. SliTaz has no signed boot loader, so Secure Boot must be off. | ||
| - | - Run virtualbox | + | See [[https://doc.slitaz.org/handbook/live.html|Handbook: Live system]] for the boot menu, users and boot options. |
| - | - Add a new Machine: Click on [//New//] toolbar button. | + | |
| - | - Click [//Next//] in the “ Create New Virtual Machine ” dialog box. | + | |
| - | - Give a name to your new virtual machine ( i.e: SliTaz GNU/Linux ), and select Linux 2.6 in OS Type list and click [//Next//] . | + | |
| - | - | + | |
| - | - In the “ //Virtual Hard Disk// ” dialog box click on the [// | + | |
| - | - The Virtual Disk Manager start. Click the [//Add//] toolbar button, locate | + | |
| - | - Click on [//Next//] and [// | + | |
| - | If you wish to set up a network using the Host-only adapter, follow these instructions: | + | ===== Boot and install ===== |
| - | - Click on the [//Settings//] toolbar button | + | Start the machine. SliTaz boots a complete live desktop, with the user '' |
| - | - Click on [//Network//] in the side menu | + | |
| - | - Select the Network Adapter (usually Adapter 1) and set it for Host-only networking | + | |
| - | - Click on the Advanced arrow | + | |
| - | - Change the Adapter Type to PCnet-FAST III | + | |
| - | - Click on OK | + | |
| - | The default Intel adapter seems to work fine for NAT, but not for Host-only networking. | + | Tazinst does not create partitions: prepare the virtual disk first (GParted is on SliTaz Firefox). When the installation ends, remove the ISO from the virtual drive (//Devices > Optical Drives//) and reboot. Then update: |
| - | You can now play with your new SliTaz GNU/Linux virtual machine. | ||
| - | |||
| - | < | ||
| - | VirtualBox can use VMware virtual disks as well. | ||
| - | </ | ||
| - | |||
| - | < | ||
| - | If you experience resolution problems (no larger than 800 x 600) check the following forum post: | ||
| - | http:// | ||
| - | </ | ||
| - | ===== Virtualbox-OSE ===== | ||
| - | |||
| - | You can install the open source edition of virtualbox (free software) in SliTaz with the package virtualbox-ose: | ||
| < | < | ||
| - | # tazpkg get-install virtualbox-ose | + | # spk-up |
| - | </ | + | </ |
| - | This is a restricted version without USB support. | + | |
| - | ===== Slitaz get-virtualbox ===== | + | |
| - | You can install virtualbox (full, but non-free version) in Slitaz with the get-virtualbox package: | + | ===== Guest additions ===== |
| - | < | + | |
| - | Other virtualization (free software) | + | There is no VirtualBox guest additions package in the SliTaz 5.1 repositories, |
| - | ===== Installing Virtualbox Guest Additions | + | ===== VirtualBox on SliTaz |
| + | To run VirtualBox on a SliTaz host, there is a package called **get-virtualbox** (category non-free, depends on '' | ||
| - | <note tip>This procedure is intended for Slitaz 5.0.\\ | + | <code> |
| - | This procedure was tested with:\\ | + | # spk-add get-virtualbox |
| - | - VirtualBox 4.3.20 installed on Host, including the Extensions Pack;\\ | + | # get-virtualbox |
| - | - slitaz-5.0-rc2.iso dated 20140519;\\ | + | </code> |
| - | - slitaz-rolling.iso 32-bit dated 20150201. | + | |
| - | + | ||
| - | See guest additions for SliTaz 4.0 [[http:// | + | |
| - | + | ||
| - | Virtualbox Guest Additions needs to be manually installed by Slitaz.\\ | + | |
| - | + | ||
| - | Steps: | + | |
| - | + | ||
| - | **1.** In the Slitaz virtual machine make sure you have a working internet connection. Sometimes you need to stop/ | + | |
| - | + | ||
| - | **2.** Open Package Manager and recharge the package list. | + | |
| - | + | ||
| - | **3.** Install the following packages: | + | |
| - | + | ||
| - | linux-module-headers (3.2.53) | + | |
| - | mesa-dri | + | |
| - | bzip2 | + | |
| - | + | ||
| - | **4.** Mount the VBoxAdditions iso using the VirtualBox menu option Devices -> Insert Guest Additions CD image... | + | |
| - | + | ||
| - | **5.** In a terminal, change directory to the mount point for the VBoxAdditions iso, e.g. | + | |
| - | + | ||
| - | $ cd / | + | |
| - | + | ||
| - | **6.** Run as root the following command: | + | |
| - | + | ||
| - | # sh ./ | + | |
| - | + | ||
| - | Ignore text about scripts added to /etc/init.d (installer does not recognize your Linux Distribution etc). | + | |
| - | Ignore text about kernel headers for current running version not found. | + | |
| - | + | ||
| - | **7.** Open a terminal as root and issue the following commands: | + | |
| - | + | ||
| - | # adduser | + | |
| - | # addgroup -S vboxsf >/ | + | |
| - | + | ||
| - | **8.** Open as root / | + | |
| - | + | ||
| - | < | + | |
| - | + | ||
| - | **9.** Open as root / | + | |
| - | + | ||
| - | < | + | |
| - | + | ||
| - | <note tip> | + | |
| - | + | ||
| - | **10.** Reboot. | + | |
| - | ---- | + | |
| - | To check that the vbox modules are loaded, open a terminal and type: | + | |
| - | + | ||
| - | $ lsmod | grep vbox | + | |
| - | + | ||
| - | ... that should show: | + | |
| - | + | ||
| - | vboxguest | + | |
| - | vboxsf | + | |
| - | vboxvideo | + | |
| - | (as well as drm using vboxvideo) | + | |
| - | + | ||
| - | Also, you can install the mesa-demos package to get the // | + | |
| - | After you install mesa-demos, open a terminal and type: | + | |
| - | + | ||
| - | $ glxinfo | grep render | + | |
| - | + | ||
| - | ... that should show: | + | |
| - | + | ||
| - | direct rendering: Yes | + | |
| - | OpenGL renderer string: Chromium | + | |
| - | + | ||
| - | //glxinfo// and // | + | |
| - | + | ||
| - | libGL error: failed to load driver: vboxvideo | + | |
| - | + | ||
| - | ... which according to the VirtualBox bugtracker is due to the way vboxvideo hooks itself into the Mesa library instead of being loaded in the normal way by Mesa. So ignore it... If you have //OpenGL render = Chromium// and //Direct rendering = Yes// then accelerated 3D is supported. | + | |
| - | ---- | + | |
| - | Clipboard sharing Host< | + | |
| - | + | ||
| - | 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 / | + | |
| - | References: [[http:// | + | Its receipt does not tell more, so read the output of '' |
| - | ---- | + | |
| - | \\ | + | |
| - | ^ Page Review Section | + | |
| - | |Quality| Low | | + | |
| - | |Review| Major Updates FIXME | | + | |
| - | |Priority| Medium | | + | |
| - | |Problems| add a [[http:// | + | |
| - | |::: | OR add a [[http:// | + | |
| - | |How to Improve| We have get-virtualbox pkg now? Can we remove linux-source dependency from get-virtualbox like nvidia?| | + | |
| - | |:::| | | + | |
| - | \\ | ||
| - | ---- | ||