Here's some context for the questions.

Dual Boot

I installed Windows 10 on my first HDD /sda 128GB.
I installed Linux Ubuntu 18.10 on my second HDD /sdb2 ~150GB
I also previously partitioned that second HDD an NTFS ~700GB on /sdb1 (so that W10 can read it).

That's roughly what I did and was happy with this dual boot setup which was pretty easy to do (once the right tools in hand).


The VM Argument

I hear dual boot is the "the 5-minute alt-tab". It takes time to go from one to the other. Why not have a VM running? That's exactly what I do at work. I have a W10 host and use VirtualBox to run a linux VM. I had some problems at first, then fine-tuned it to run ok alongside the host.
But it's not perfect.

At home I have two screens. really the ideal would be to have both OSes running simultaneously, one on each screen. But we're back at VM, and virtualization and everything it entails... Are we not?

Hypervisor Type-1 / Bare-metal

I just learned about that today. Seems pretty nifty, but also has drawbacks: accessing the GPU and stuff like that. Like I said, I don't know much about.

Is Hypervisor a no-go with Nvidia GPU, given that my objective is to be able to game like I want on Windows, but still have my Linux not far away?

Does it have other drawbacks(I think I read something about PCIe), incompatibility issues for virtualizing certain hardware, driver issues and whatnot?

VirtualBox "Save State"

There are so many uncertainties. And my setup is already done and functioning. I don't want to go back to reinstalling W10 and having warnings, incompatibilities, issues etc. because I'm trying to run it under hypervisor and it believes it's a root-kit or what... I just want to quickly (if not instantaneously) switch between the two OSes.

I continued my reasoning like that, the epiphany is soon.

The problem with shutting down one OS or the other is that everything disappears. So there's not only the time to shutdown and time to boot the other, there's also the time to relaunch every service, relaunch every app, get back to the point I was at before shutdown etc. just like if I didn't shutdown the OS! Is there a way to...

Bingo! VirtualBox does just that with the save state feature. That's awesome. I spent some time searching on windows states: hibernate and fast boot are close but not what I want. The infamous reopen apps on boot or whatever doesn't seem to be what I want either.

Is there this basic feature on Windows 10 and Ubuntu 18.10 specifically to save the state of the machine at any given point (simply dump the ram on the hard drive, right?) and then be able to load that state back when you boot (just put the data on the hard drive back into the ram, no?)?

That would be as close as what I can get without virtualizing anything...


Recap

  1. Are there issues, in late 2018, running W10 on Hypervisor? Is there a free solution? Does it have any drawbacks? Will it impede on performance due to the virtualization? How much? Are there any necessary hardware requirements for it to work? Bottlenecks?

  2. Is there any way (software, native solution or whatever, command lines, a bat and shell script for a peculiar way of shutting down and booting....) to save the state of the OS (W10 and Ubuntu18.10) before shutdown and load that state back up on boot?

  3. Given the context, I believe this may not be subjective: what's the best (i.e. most efficient) way to run Windows 10 and Linux side-by-side (on the same machine) with the least downtime between access to one and the other and no lagging/ramming issues or bugs/graphical glitches etc.?


PS: Don't hesitate if more details needed to properly answer.

Don't hesitate to not moderate my question, I like context (I believe this is relevant and my question still remains straightforward with straightforward answers, albeit substantially long, by necessity, and I believe this will also be good for future reference for other users pondering on the same questions who will recognize being in this exact same situation).

Of course, if you think you can make my questions clearer without stripping information as to the situation I'm in, don't hesitate.

Don't hesitate to bring this forward as a duplicate if there's already good walls of text out there that answer my specific issues :)

I'm interested in any material you bring forth, I like reading.

Thanks

  • 1
    1.) What "hypervisor"? Do you mean Hyper-V? Hyper-V is a free type 1 hypervisor that is included with Windows 10 Pro and higher. – essjae Dec 6 at 21:55
  • I meant hypervisor as the generic bare-metal (or type-1) virtualization solution. Thanks for the suggestion but I'm on Windows 10 Home Edition. I don't know how hyper-v works exactly but for clarification I meant a solution capable of running windows and linux, not a solution running from windows. (though it seems hyper-v effectively runs below from what I gathered... See serverfault.com/questions/326844/is-hyper-v-a-real-hypervisor) – Hillfias Dec 6 at 22:42
  • Sorry, SuperUser doesn't lend itself well to multi-part questions. Please see superuser.com/help/how-to-ask . Also, Windows 10 Home doesn't include Hyper-V. – Christopher Hostage Dec 6 at 23:02
  • I was afraid I would see this type of comment. There basically is one question: what's best to have two OSes accessible with the least downtime between one state of working environment and another? Resources on the Internet seem to be scarce on this issue. If anyone can point me to an article or references, I'd be happy. What site would you suggest asking this question on? (too bad for SU :( ) – Hillfias Dec 6 at 23:24
  • 1
    If that is your only question. You already answered it - virtualization. You can run your primary OS and you virtualize the other. You certainly wouldn’t run your gaming OS in a virtual machine. The obvious route to go here is to upgrade to Win 10 pro and run hyper-v and Linux in a VM. Or use virtualbox on Windows home. – Appleoddity Dec 6 at 23:58

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.