Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #190242

Re: Optimized VM setup

From David Christensen <dpchrist@holgerdanske.com>
Newsgroups linux.debian.user
Subject Re: Optimized VM setup
Date 2017-12-24 09:20 +0100
Message-ID <v09FL-2L2-1@gated-at.bofh.it> (permalink)
References <v05Vv-8rZ-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 12/23/17 20:06, Rusi Mody wrote:
> I teach programming.
> Students of my class have their own laptops required to have (some recent) linux.
> And this time (for the first time?) I saw that majority of the class were
> running Linux (usually but not always Ubuntu) on a VM on a Windows — typically Windows-10
> 
> This made those machines markedly sluggish.
> 
> I was wondering if its possible to have a setup in which Linux is installed
> (probably on a separate NTFS partition) such that one can choose
> - Boot to Windows, start VM, start Linux
> OR
> - Boot to (native) Linux
> 
> Note: This option only makes sense if the Linux booted is the SAME one
> Otherwise its trivial and useless

I've used zero-cost VMware and VirtualBox over the years, but it's been 
a while.  Both stored the VM HDD image (used blocks only) and VM 
metadata in files in the host file system.  Both offered mechanisms for 
mapping virtual HDD images and/or host file systems, partitions, and 
devices into VM devices.  Their might be a way to put the VM image 
directly on a host HDD partition, and then setting up multi-boot.  I 
would suggest reading the documentation for your hypervisor of choice 
and contacting its community.


I believe Microsoft has a hypervisor.  If the host is Windows, I would 
expect Microsoft's hypervisor to give your students as much as their 
laptops can give.


Hypervisors will work the best on computers with the processor 
virtualization features (e.g. for Intel: VT-x, VT-d, VT-x with EPT, TSX-NI).


A fast SSD for the host and the VM's is important (e.g. M.2 on PCIe 3.0 x4).


Install only as much Linux as is needed (e.g. Debian Installer choose 
"standard system utilities" and "SSH"; if you don't need 64-bits, 
32-bits might be lighter).


Alternatively, a live CD Linux distribution.  Damn Small Linux comes to 
mind.


Further alternate, NetBSD or Minix.


David

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Optimized VM setup Rusi Mody <rustompmody@gmail.com> - 2017-12-24 05:20 +0100
  Re: Optimized VM setup David Christensen <dpchrist@holgerdanske.com> - 2017-12-24 09:20 +0100
  Re: Optimized VM setup Anders Andersson <pipatron@gmail.com> - 2017-12-24 14:00 +0100

csiph-web