GNU/Linux Desktop Survival Guide
by Graham Williams |
|||||
Hyperv: Windows 10 Hyper-V |
20190318 The Microsoft Windows 10 Hyper-V virtual machine software (since the Fall Creators Update of Windows 10) comes with a Ubuntu 18.04.1 LTS image available for installation. This is a productive way for Microsoft Windows 10 users to utilise the power of GNU/Linux within their Windows environment.
Start by enabling Hyper-V (under Turn Windows Features On) if it is not already available on your Windows 10 Pro desktop. Start up the Hyper-V Manager desktop app by pressing the Windows key, typing Hyper-V, and select Open. Under the Action menu choose Quick Create. There you will see Ubuntu 18.04.1 LTS as an option. Select it and click Create Virtual Machine. The virtual machine is now created.
Once the creation completes, click on the Edit settings button. We might want to increase the default disk size from 11GB to 100GB: Under the SCSI Controller heading select Hard Drive, then Edit and Next, then Expand and enter the size you want. Then click Next, review the actions, then Finish and OK.
Now connect to the new VM with the Connect button. First time through you will see that the virtual machine 'Ubuntu 18.04.1 LTS' is turned off. Click the Start button to turn the machine on. The usual Ubuntu installation process will now begin.
For the installation you might choose English and keyboard as English (US), or as appropriate. Choose your time zone and provide personal information and wait for the installation to complete. Then reboot.
The first thing to do on a fresh install is to bring the server up to date. Open up a terminal (tap the Windows key and type terminal and then tap the Enter key) and do the following:
$ sudo apt-get install wajig $ wajig update $ wajig distupgrade |
To share a folder between Windows and Ubuntu see https://linuxhint.com/shared_folders_hypver-v_ubuntu_guest/.
he disk is meant to be dynamic up to 500GB. Using gnome-disk I see 11GB for /dev/sda and 500GB unused. In Ubuntu format the free space for Linux and then see Section 21.6 for details on moving /home from root to this much larger partition.
Applications that you might want to install include nextcloud-client.