Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:guides:virtualbox [2011/07/01 19:12] – [Step 2 - Play the virtual machine.] shreknzen:guides:virtualbox [2026/10/14 23:29] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== Virtualbox ======+====== SliTaz in VirtualBox ======
  
-===== SliTaz GNU/Linux with VirtualBox =====+This guide runs SliTaz 5.1 as a guest in [[https://www.virtualbox.org/|VirtualBox]]. The host can be Windows, macOS or GNU/Linux. Nothing is written to your real disks.
  
-You can now play with SliTaz GNU/Linux on Windows with VirtualBox. +===== Get the ISO =====
-Required:+
  
-    * [[http://virtualbox.wordpress.com/2008/06/27/slitaz-gnulinux-is-here/|SliTaz GNU/Linux Image]], the virtual machine. +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 and installation. =====+  * 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 the virtual machine =====
-    * Download and install the Oracle VitualBox software. +
-    * Download and decompress the virtual machine somewhere on your local hard drive.+
  
-===== Step 2 - Play the virtual machine. =====+In VirtualBox click //New// and set:
  
-Before running SliTaz GNU/Linux virtual machine you need to configure a new virtual machine in the VirtualBox software.+  * //Type//: Linux. //Version//: Other Linux (64-bit) for x86_64, Other Linux (32-bit) for i486. 
 +  * //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 a virtual disk of 8 GB or more if you want to install. The installed system takes less than 1 GB; the rest is room for packages. 
 +  * //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 [//Start/Programms/Oracle xVM VirtualBox/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//] . +
-  -     Select the amount of memory for the virtual machine. 256MB default should be sufficient. +
-  -     In the “ //Virtual Hard Disk// ” dialog box click on the [//Existing//] button to use your SliTaz virtual disk. +
-  -     The Virtual Disk Manager start. Click the [//Add//] toolbar button, locate and select the VDI file (i.e: slitaz-1.9-x86.vdi ). +
-  -     Click on [//Next//] and [//Finish//].+
  
-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 ''tux'' (no password) and the root password ''root''. You can stay in the live system, or install it on the virtual disk with Tazinst: click //Install SliTaz// in the welcome window and follow [[https://doc.slitaz.org/handbook/install.html|Handbook: Installation]].
-  - 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.+<code> 
 +# spk-up 
 +</code>
  
-<note> +===== Guest additions =====
-VirtualBox can use VMware virtual disks as well. +
-</note>+
  
-===== Virtualbox-OSE =====+There is no VirtualBox guest additions package in the SliTaz 5.1 repositories, so shared folders, clipboard sharing and automatic screen resizing from the guest additions are not available as a package. The guest still works for everyday use. The old procedure on this wiki was written for SliTaz 5.0 and is not valid for 5.1.
  
-You can install the open source edition of virtualbox (free software) in SliTaz with the package virtualbox-ose: +===== VirtualBox on SliTaz =====
-<code> +
-# tazpkg get-install virtualbox-ose +
-</code>  +
-This is a restricted version without USB support.+
  
-===== Slitaz get-virtualbox =====+To run VirtualBox on a SliTaz host, there is a package called **get-virtualbox** (category non-free, depends on ''wget'' and ''cacerts''), described as a way to get a x86 virtualization software:
  
-You can install virtualbox (full, but non-free version) in Slitaz with the get-virtualbox package: +<code> 
-<code># tazpkg get-install get-virtualbox ; get-virtualbox</code>+# spk-add get-virtualbox 
 +# get-virtualbox 
 +</code>
  
-Other virtualization (free software) is also available such as lguest or qemu. +Its receipt does not tell more, so read the output of ''get-virtualbox'' before going on.
-----  +
-\\ +
-^  Page Review Section  ^^  +
-|Quality| Low | +
-|Review| Major Updates FIXME | +
-|Priority| Medium | +
-|Problems| add a [[http://forum.slitaz.org|forum post link]]| +
-|:::     | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]| +
-|How to Improve| We have get-virtualbox pkg now? Can we remove linux-source dependency from get-virtualbox like nvidia?| +
-|:::|  |+
  
-\\ 
----- 
 
en/guides/virtualbox.1309547549.txt.gz · Last modified: by shreknz