User Tools

Site Tools


other:vb:install

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
Next revision Both sides next revision
other:vb:install [2015/01/07 16:37]
jypeter More changes
other:vb:install [2015/05/27 08:20]
jypeter Added link to clean the machine before exporting
Line 2: Line 2:
  
 ===== Installing VB on a Windows host ===== ===== Installing VB on a Windows host =====
 +
 +  * Reboot your computer, [[other:​bios|enter the BIOS]] and enable the //VT-x// setting
  
   * download the latest //​VirtualBox NN.NN.NN for Windows hosts// **AND** the matching //​VirtualBox NN.NN.NN Oracle VM VirtualBox Extension Pack// from the [[https://​www.virtualbox.org/​wiki/​Downloads|VirtualBox web site]]\\ You can also download the //User Manual// from the same page   * download the latest //​VirtualBox NN.NN.NN for Windows hosts// **AND** the matching //​VirtualBox NN.NN.NN Oracle VM VirtualBox Extension Pack// from the [[https://​www.virtualbox.org/​wiki/​Downloads|VirtualBox web site]]\\ You can also download the //User Manual// from the same page
Line 12: Line 14:
     * If the VB is not already using English, change the language and restart VB if necessary\\ Fichier -> Paramètres -> Langue -> English     * If the VB is not already using English, change the language and restart VB if necessary\\ Fichier -> Paramètres -> Langue -> English
     * File -> Preferences -> Update -> Once per 2 weeks     * File -> Preferences -> Update -> Once per 2 weeks
-    * Determine where the VB settings, the virtual disk files and the temporary files (when you //suspend// the execution of the VB) will be stored**Warning**,​ you should be careful to choose a place where you have enough space! You need as much space as the main disk image (eg 30 Gb) plus a few Gb for storing the state of the VB when you suspend it...\\ We will use the following path in this tutorial: E:​\VirtualBox VMs\Fedora Core 20 CLIM_ESTIMR+    * Determine where the VB settings, the virtual disk files and the temporary files (when you //suspend// the execution of the VB) will be stored 
 +      * **Warning**,​ you should be careful to choose a place where you have enough space! You need as much space as the main disk image (eg 30 Gb) plus a few Gb for storing the state of the VB when you suspend it...\\ ​File -> Preferences -> General -> Default Machine Folder: ''​X:​\some_path\VirtualBox VMs\''​ 
 +      * We will use the following path in this tutorial: ​''​E:​\VirtualBox VMs\''​
  
 ===== Installing the copy of a existing Linux guest ===== ===== Installing the copy of a existing Linux guest =====
Line 32: Line 36:
     * System -> Motherboard:​\\ Select only **Hard Disk**\\ Check that //Enable I/O APIC// is selected\\ Disable //Hardware clock in UTC Time//     * System -> Motherboard:​\\ Select only **Hard Disk**\\ Check that //Enable I/O APIC// is selected\\ Disable //Hardware clock in UTC Time//
     * System -> Processor: keep //Enable PAE/NX// **disabled**     * System -> Processor: keep //Enable PAE/NX// **disabled**
-    * System -> Acceleration:​ check that //Enable VT-x/​AMD-V//​ (you may also have to check that //VT-x// is enabled in the BIOS so that we can install a 64-bit version of Linux...) and //Enable Nested Paging// are selected+    * System -> Acceleration:​ check that //Enable VT-x/​AMD-V//​ (you may also have to check that //VT-x// is enabled in the [[other:​bios|BIOS]] so that we can install a 64-bit version of Linux...) and //Enable Nested Paging// are selected
     * Display -> Video:\\ Select 24 MB of Video Memory. Specifying to little video memory may lead to major and random crashes of VB\\ Select //Enable 3D acceleration//​ (this may help getting rid of gnome-shell related errors)     * Display -> Video:\\ Select 24 MB of Video Memory. Specifying to little video memory may lead to major and random crashes of VB\\ Select //Enable 3D acceleration//​ (this may help getting rid of gnome-shell related errors)
     * Click //OK// to save the changes!     * Click //OK// to save the changes!
Line 40: Line 44:
  
 ==== Method 2: import an appliance ==== ==== Method 2: import an appliance ====
 +
 +=== Creating the appliance on the source host===
 +
 +  * Start VB
 +  * [[other:​vb:​update#​cleaning_up_things|Clean the virtual machine]] to reduce the size of the appliance that will be created
 +  * Make sure that the virtual machine is stopped (//Powered Off// state)
 +  * File -> Export Appliance
 +  * Select the //Fedora Core 20 JYPclone// machine
 +  * In the //Storage settings// window, select an output directory with **enough space** to store the exported //ova// (''​FedoraCore20JYPclone.ova''​ or a more explicit file name, with the VB version and the export date, e.g. ''​FedoraCore20JYPclone_4.3.26_150210.ova''​) file
 +    * A 30 Gb VM disk seems to produce a 11+ Gb compressed appliance file
 +    * OVF 1.0 works reliably, and OVF 2.0 has to be tested (by JYP). The difference between the 2 formats is detailed in the [[http://​www.dmtf.org/​sites/​default/​files/​DMTF_OVF_2%200_FAQ__Final_1.pdf|OVF 2.0 FAQ]]
 +    * The appliance **can'​t** be stored on a FAT32 disk (where file size is limited to 2 Gb)!
 +  * Just click //Export// in the Appliance settings window... and wait (20-30 minutes)!
 +
 +=== Installing the appliance on the target host ===
 +
 +  * Copy the appliance //ova// file to the target host, or just have it on an external USB disk/stick connected to the host
 +  * File -> Import Appliance... : specify the //ova// (e.g. ''​X:​\some_path\FedoraCore20JYPclone.ova''​) file and import it\\ This will install a //Fedora Core 20 JYPclone// directory in //​E:​\VirtualBox VMs\// and you will get a //Fedora Core 20 JYPclone// machine in the left panel of the //Oracle VM VirtualBox Manager// window, with all the correct predefined settings. You may want to edit the settings to adapt the VM memory based on the memory available on the host!
 +
  
 ===== Basic configuration of the imported Linux guest ===== ===== Basic configuration of the imported Linux guest =====
  
   * Select the //Fedora Core 20 JYPclone// machine and then click on //Start//   * Select the //Fedora Core 20 JYPclone// machine and then click on //Start//
 +
 +  * Login with the root or an existing account
 +
 +  * [[other:​vb:​update|Update VB]]
 +
 +  * Create an account for the final user of this VB
 +
 +  * Change the name of the VB?
 +
 +  * Configure the shared folders?
  
 ===== Installing a Linux guest from scratch ===== ===== Installing a Linux guest from scratch =====
other/vb/install.txt · Last modified: 2015/10/26 16:34 by jypeter