124 private links
Option 2 - To Enable and Disable Hyper-V in PowerShell
-
Open an elevated PowerShell, and do step 2 or 3 below for what you want to do.
-
To Enable Hyper-V
A) In the elevated PowerShell window, copy and paste the command below, press Enter, and go to step 4 below. Note, If you do not use the -All switch, then you will not install the Hyper-V GUI Management Tools and Hyper-V Module for Windows PowerShell features.
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V –All
- To Disable Hyper-V
A) In the elevated PowerShell window, copy and paste the command below, press Enter, and go to step 4 below.
Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All
- Type Y and press Enter when prompted to restart the computer.
Dismount the drive you want to shrink
df -h
umount /dev/sdb
List all disks
fdisk -l # List disks
Install zerofree and shrink the disk
zerofree -v /dev/sdb
Shudown the host and shrink the guest file
Find HDD & get the original UUID
.\VBoxManage.exe list hdds
Convert to VDI
.\VBoxManage.exe clonehd "C:\Users\jnavarra\VirtualBox VMs\linux_mint_18_xfce\linux_mint_18_xfce_data.vmdk" "C:\Users\jnavarra\VirtualBox VMs\linux_mint_18_xfce\linux_mint_18_xfce_data.vdi" --format vdi
Shrink VDI
.\VBoxManage.exe modifymedium disk "C:\Users\jnavarra\VirtualBox VMs\linux_mint_18_xfce\linux_mint_18_xfce_data.vdi" --compact
Format to VMDK and delete VDI
.\VBoxManage.exe clonehd "C:\Users\jnavarra\VirtualBox VMs\linux_mint_18_xfce\linux_mint_18_xfce_data.vdi" "C:\Users\jnavarra\VirtualBox VMs\linux_mint_18_xfce\linux_mint_18_xfce_data.vmdk" --format vmdk
rm "C:\Users\jnavarra\VirtualBox VMs\linux_mint_18_xfce\linux_mint_18_xfce_data.vdi"
Set back UUID
.\VBoxManage.exe internalcommands sethduuid "C:\Users\jnavarra\VirtualBox VMs\linux_mint_18_xfce\linux_mint_18_xfce_data.vmdk" <original UUID here>
A playseat in a box, good idea
Install cinnamon
Ajouter les nouveaux repository
sudo add-apt-repository ppa:gwendal-lebihan-dev/cinnamon-nightly # Cinnamon
sudo add-apt-repository ppa:noobslab/icons # Mint icons
Mettre à jour et installer
sudo apt-get update
sudo apt-get install cinnamon
Avant de changer le thème, ajouter les icones mintx
sudo apt-get update
sudo apt-get install mintx-colors-icon
Modifier le thème :
- Ambiance
- Mint-X Green
- DMZ-White
- Ambiance
Software render issue
VirtualBox
Uninstall Guest Additions that are packaged with the guest
sudo apt-get remove virtualbox-guest-utils
Reboot, then install the Guest Additions provided with VirtualBox by clicking Devices > Insert Guest Additions CD Image...
Navigate to the mounted image in a terminal and run VBoxLinuxAdditions.run
sudo ./VBoxLinuxAdditions.run
Explications sur l'utilisation de vagrant pour virtualiser mac osx