This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
other:vb:update [2015/07/15 09:26] jypeter |
other:vb:update [2015/10/21 08:18] jypeter [Updating the VirtualBox program on the host] More details |
||
---|---|---|---|
Line 13: | Line 13: | ||
VB will periodically check if a new version is available. You can also check that manually by doing: //Help --> Check for updates...// | VB will periodically check if a new version is available. You can also check that manually by doing: //Help --> Check for updates...// | ||
+ | |||
===== Updating the VirtualBox program on the host ===== | ===== Updating the VirtualBox program on the host ===== | ||
Line 18: | Line 19: | ||
* Download the latest version of VB from the [[https://www.virtualbox.org/|VirtualBox web site]] | * Download the latest version of VB from the [[https://www.virtualbox.org/|VirtualBox web site]] | ||
* If the host where you are updating VB has no network connection, you probably also want to download the matching //VB Extension Pack// | * If the host where you are updating VB has no network connection, you probably also want to download the matching //VB Extension Pack// | ||
+ | * You can also download an updated version of the //User Manual// from the same page | ||
* Make sure that: | * Make sure that: | ||
* Your VB guest is in the //Powered Off// state (i.e. you have exited the guest with a proper Linux shut down last time you used the guest) | * Your VB guest is in the //Powered Off// state (i.e. you have exited the guest with a proper Linux shut down last time you used the guest) | ||
* VB is not running | * VB is not running | ||
- | * Execute the VirtualBox-NN1234-Win.exe installer | + | * Execute the VirtualBox-NN1234-Win.exe installer **as an Administrator** (e.g. right-click on the installer and select //run as Administrator//). |
- | * Execute VB and download and install the updated //VirtualBox Extension Pack// if VB tells you that a new pack is available | + | * Accept all the default settings |
+ | * Make sure you don't have another program using the network before the installer warns you about temporary stopping the network | ||
+ | * Choose to start VB at the end of the installation, and accept to download and install the updated //Oracle VM VirtualBox Extension Pack// if VB tells you that a new pack is available | ||
+ | * Reboot the computer if VB asks for it (otherwise, you may get weird error messages when trying to restart the guest) | ||
* Do not forget to update the guest additions (see below) | * Do not forget to update the guest additions (see below) | ||
Line 34: | Line 39: | ||
* or **2)** Go to the directory where the VM is installed (e.g. ''E:\VirtualBox\VirtualBox VMs\Fedora Core 20 CLIM_ESTIMR'') and double click on the ''XXXXX.vbox'' setting file located in this directory | * or **2)** Go to the directory where the VM is installed (e.g. ''E:\VirtualBox\VirtualBox VMs\Fedora Core 20 CLIM_ESTIMR'') and double click on the ''XXXXX.vbox'' setting file located in this directory | ||
+ | ==== Cleaning up things ==== | ||
+ | |||
+ | After updating VB, you can remove the downloaded extension packs from ''C:\Users\your_login\.VirtualBox'' (i.e. all the ''Oracle_VM_VirtualBox_Extension_Pack-NNNN.vbox-extpack'' files) | ||
===== Updating the Linux guest system ===== | ===== Updating the Linux guest system ===== | ||
Line 92: | Line 100: | ||
* //many other subtle things...// | * //many other subtle things...// | ||
- | You should update the guest additions //after// you update the **Linux guest kernel** and especially after you update the **main VirtualBox program** running on the host | + | You should update the guest additions: |
+ | * after updating the **Linux guest kernel** | ||
+ | * after updating the **main VirtualBox program** running on the host | ||
+ | Guest additions updating steps: | ||
* If you have just updated the Linux kernel (when doing a Linux update), make sure you reboot the Linux guest before you reinstall the guest additions, so that the new kernel is running when you install the guest additions! | * If you have just updated the Linux kernel (when doing a Linux update), make sure you reboot the Linux guest before you reinstall the guest additions, so that the new kernel is running when you install the guest additions! | ||
* In the VB window (the one where the guest is running), select //Devices->Insert Guest Additions CD Image...//. A //virtual// CD icon should appear on the desktop of the Linux guest | * In the VB window (the one where the guest is running), select //Devices->Insert Guest Additions CD Image...//. A //virtual// CD icon should appear on the desktop of the Linux guest | ||
Line 101: | Line 112: | ||
* Check where the CD image has been installed: ''df -h'' | * Check where the CD image has been installed: ''df -h'' | ||
* The CD should be available in ''/run/media/your_login/VBOXADDITIONS_NNNN'' | * The CD should be available in ''/run/media/your_login/VBOXADDITIONS_NNNN'' | ||
- | * If the CD icon has appeared on the Linux desktop, but you see nothing in /run/media, right-click on the CD icon and select //Mount volume// | + | * If the CD icon has appeared on the Linux desktop, but you don't see any subdirectory in ''/run/media'', right-click on the CD icon and select //Mount volume// |
* Go to the additions' directory: ''cd /run/media/your_login/VBOXADDITIONS_NNNN'' | * Go to the additions' directory: ''cd /run/media/your_login/VBOXADDITIONS_NNNN'' | ||
* Run the installation script: ''./VBoxLinuxAdditions.run'' | * Run the installation script: ''./VBoxLinuxAdditions.run'' |