SliTaz GNU/Linux official and community documentation wiki.
.png

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:guides:qemu [2010/08/11 02:22]
stork
en:guides:qemu [2010/08/16 20:51] (current)
linea
Line 1: Line 1:
-=== Creation and revision dates === +====== ​QEMU ======
-This page was created on 2010/08/11. Last revised 2010/08/11.+
  
 +===== Introduction =====
  
-===== What is QEMU and why use it ===== 
 QEMU provides a virtual machine that will run within XP. Refer to the QEMU documentation for a detailed description of the virtual hardware. QEMU provides a virtual machine that will run within XP. Refer to the QEMU documentation for a detailed description of the virtual hardware.
  
-It allows to test an operating system environment without rebooting out of XP; you can eg test Slitaz this way.+It allows to test an operating system environment ​without actually installing it and without rebooting out of XP; e.g. you can test Slitaz this way, before deciding if you want to install it on your machine.
  
-Compared with eg Virtual Box (which I am also using regularly), QEMU is initially much faster and easier to set up. You will also have less problems if you are somewhat memory constrained (which you are, if you have less than 1.0 or 1.5 GB RAM). Performancewise, both virtualisation plateforms ​looked similar to me. +Compared with Virtual Box (which I am also using regularly), QEMU is initially much faster and easier to set up. You will also have less problems if you are somewhat memory constrained (which you are, if you have less than 1.0 or 1.5 GB RAM). Performance wise, both virtualization platforms ​looked similar to me (although way slower than a native install)
  
-If you just want to try Slitaz ​and VirtualBox is not yet installed on your machine, prefer the QEMU solution described here.+If you just want to try Slitaz ​within ​your XP environment, prefer the QEMU solution described here (unless VirtualBox is already installed and set up on your machine).
  
 +===== Getting started =====
 ==== Requirements ==== ==== Requirements ====
-This works on XP with Slitaz 3.0 (should work with all version ​of Slitaz). ​+This works on XP with Slitaz 3.0 (should work with all versions ​of Slitaz). ​
  
 ==== Install QEMU ==== ==== Install QEMU ====
-Go to Pendrivelinux.com ​ and download ​ the QEMU PC hardware emulator installer (QPU804.exe) +Go to Pendrivelinux.com ​ and download the QEMU PC hardware emulator installer (QPU804.exe). 
-This executable is actually a self-extracting archive. When you run it you just need to tell the installer where to unzip the contents. The result will be a folder named QPU804.+This executable is actually a self-extracting archive. When you run it you just need to tell the installer where to unzip the contents ​(which may be on your hard disk or on a flash drive). The result will be a folder named QPU804.
  
 +The QEMU setup can execute any ISO that you put in that folder.
 Copy the SliTaz ISO to that folder. Copy the SliTaz ISO to that folder.
 You now have a virtualized SliTaz installation that can run alongside Windows. You now have a virtualized SliTaz installation that can run alongside Windows.
-The QEMU set up can execute any ISO that you put on that folder ​ (you can also install the QPU804 files and the SliTaz ISO in a flash drive subdirectory and run the virtual machine from that location). 
  
 ==== Start QEMU ==== ==== Start QEMU ====
-Execute QPU804.bat to start your virtual machine (it will advertise it is running Ubuntu but really it will run the ISO you copied to that folder, Slitaz.iso in this case).+Execute QPU804.bat ​(double click on it from an explorer window) ​to start your virtual machine (it will advertise it is running Ubuntubut really it will run the ISO you copied to that folder, Slitaz.iso in this case)
 + 
 +You will see your virtual machine booting from the ISO file, as if it would be booting from a Slitaz LiveCD. Refer to other parts of the Slitaz documentation for a detailed presentation of what you can do from there.
  
 ==== Getting in and out of the QEMU Window ==== ==== Getting in and out of the QEMU Window ====
-To move the mouse out of the QEMU screen window press ctrl keep it pressed and press alt key simultaneously. To go back there just left click in the window.+To move the mouse out of the QEMU screen window press ctrlkeep it pressed and press the alt key simultaneously. To go backjust left click in the window.
  
 ==== Shared Folder ==== ==== Shared Folder ====
Line 33: Line 35:
  
 ==== Screen resolution ==== ==== Screen resolution ====
-My screen resolution was 800x600. You may want to read the QEMU documentation and play with the available options from both QEMU and Slitaz to get a higher resolution.+My screen resolution was 800x600. You may want to read the QEMU documentation and play around ​with the available options from both QEMU and Slitaz to get a higher resolution
 + 
 +To get a full screen Slitaz, try adding the -full-screen option to the qemu command line of the QPU804.BAT file. 
 + 
 +===== I want to keep the changes I made in Slitaz ===== 
 + 
 +==== Private data ==== 
 +Copy any private data created in Slitaz to the shared directory: it will survive a virtual machine reboot.
  
-To get full screen Slitazadding the -full-screen option to the qemu command line of the QPU804.BAT file.+==== Keeping system changes ==== 
 +Two ways to do this:  
 +  * create ​new iso with your changesor  
 +  * install Slitaz in a qemu virtual drive
  
-==== I want to keep the changes I made in Slitaz ==== 
  
-== Private data == +== Create an ISO file with your system changes ​== 
-Copy any private data created in Slitaz ​the shared directory, it will survive ​virtual machine reboot.+In the Slitaz menu select //System Tools-> Create ​LiveCD// (refer to the LiveCD section of the documentation).
  
-== Keeping system ​changes ​== +The writeISO panel will create a bootable image of Slitaz with any changes you made, and will store this image file as /​home/​slitaz/​distro/​slitaz.iso
-If you updated the system ​and would like to keep your changes for the next time, go to System-> Create a liveCD (refer to the LiveCD section of the documentation).+
  
-The writeISO panel will create a bootable image of Slitaz ​with your latest changes and store that file in /​home/​slitaz/​distro/​slitaz.iso. ​+In the Slitaz ​environment,​ copy-paste ​that slitaz.iso ​file to the shared folder. Then from XP you will be able to copy the slitaz.iso ​file from the QPU804\shared folder to the QPU804 folder, replacing the existing ISO file (delete the old .iso file if it has a different name). Next time you start QEMU, it will boot from your new ISO which brings you back to the same environment.
  
-In the Slitaz environment,​ Copy-paste that slitaz.iso file to the shared folder. Then from XP you will be able to copy that iso file from QPU804\shared folder to QPU804 folder, replacing the existing ISO file. Next time you start QEMU, it will boot from you new ISO which brings you back to the same environment. 
  
-== Installing QEMU ==+== Install Slitaz in a qemu virtual drive ==
  
-Alternatively,​ refer to the QEMU documentation to start QEMU with a "​virtual disk" file, where you will be able to install Slitaz using the System Tools -> Slitaz Installer. ​+Alternatively,​ refer to the QEMU documentation to start QEMU with a "​virtual disk" file, where you will be able to install Slitaz ​by using the menu item //System Tools -> Slitaz Installer//
  
 (Not tested with Slitaz but tested with other systems in the past) (Not tested with Slitaz but tested with other systems in the past)
  
 
en/guides/qemu.1281486125.txt.gz · Last modified: 2010/08/11 02:22 by stork