Virtualization

Running Linux in Windows



Setting up a Linux virtual machine in Windows. Video mainly details how to do this using Oracle’s VirtualBox, but also discusses …

[ad_2]

source

Related Articles

47 Comments

  1. I don't recall ever trying a virtual machine except possibly trying DOSbox to run old DOS games at some point, but I do see possibly needing to run Windows in LINUX at some point, which I know you have done videos on already. Your efforts to make what you are presenting completely understandable is much appreciated.

  2. cool video!
    something worth mentioning is that in virtualbox, you can set the video memory to a maximum of 256MB by clicking the label for video memory on the main window, not the settings window for some reason.

  3. Honorable mention would be Hyper-V which only ships with Windows Pro versions I believe and can be turned on using Windows Features. I never used anything else on Windows 7/10/11 but I'm blessed with free student licenses ever since I attended university haha. They forgot to turn off my account.

  4. This is going to be a wall of text covering a few things in my experiences.
    I've been using type 2 hypervisors since about 2007, and can say I've never once gone into the bios to turn virtualization on. This is news to me, and I learned something I might try. Im not sure whether or not its been automatically on with the PC's i've used, but I've used VMs on various PCs that were intel and AMD. I've been using them more frequently in the last 4-ish years, and have been on Asus, Acer, Lenovo laptops/motherboards and on a MacBook pro 2012 (running a intel i5-3210M). The only thing I can see works for you (that I don't think I've ever properly done with virtual box) has been the the drag and drop feature. Im guessing enabling things in the bios allows this for file transfer, and I'm going to assume this also allows copy/pasting text from host to VM too. File transfer from host to VM can also be done through the menus ; Devices > Shared folders, once you've installed the extras package (which is what I use primarily for transfer between them). The extra package can be installed by double clicking it's file icon, instead of navigating through the menus.
    Additionally VMware can still do these functions (of drag/drop, copy/paste between host and VM) without any extra steps needed. And on that note, if you dont want to enter in your details to get the pro version, there is "VMware workstation player" which was their free offering for personal use until recent, but has limitations of only running 1 VM at a time and doesnt allow for snapshots (and all the other features pro has). On the note of pro, if you look hard enough on forums, you might find a direct link to the VMware hosted repository (which i can confirm at the time of writing this, still works) to download without signing up for broadcom or giving them your info.
    Lastly, if you have Win 10/11 pro, you can also try using Hyper-V which is included with the OS, you just need to enable it first through "turn windows features on and off".
    And on the note of hyper-v; if you're installing VMware, look out for prompts in the set up as it may ask if you want to install provisions to work with hyper-v. You dont want to skip adding this as it could cause issues. I had to re-install Win 11 to fix it, when I overlooked it the first time, as I never had this prompt on Win 10/11 home editions.

  5. I'd suggest that installing linux on a seperate drive would be easier, and more capable on any, but especially an older computer.
    I forget, can a window manager be installed on WSL? I use WSL a fair amount for a quick dip into the linux functionality of command line on my gaming PC.

  6. I believe you can avoid the need to install Python by turning off the option to install Python Extensions for VirtualBox (last option in the list), without losing any of the functionality shown in this guide (at least that used to be the case prior to v7, I haven't tried VBox v7).
    It seems strange that this is enabled by default.

  7. Excellent video, as always. I have, in the past, made two attempts to use VMWare to run Linux, both ending in frustration. I recently added a second hard drive for Zorin OS, and am using Windows boot manager to choose the operating system. However, having watched this tutorial, I will give VirtualBox a try. Who knows, I might even end up using Linux as my main OS, with Windows running in a virtual machine.

  8. Honestly, if they just made pc games for Linux; I would 100% switch. I know they're pretty close, but I've tried it; they have a long way to go still. After running Linux over the summer. I would 100000% switch if the games would. I hate Windows. I think Microsoft is overrated. And Bill Gates didn't make a damn thing – thief.

  9. Thank you! i have been desiring to get out of Windows for a long time and now with the mess of Win 11 and potentially win 12 it is more important than ever. but first i have to understand Linux so this is exactly the experiment I Have been meanikng to do but was not sure how. thank you for explaining the process including the tricks needed to make it work.

  10. vmware workstation pro appears to be virtualy impossible to download – their website is complex and appears to be purely business related. Too bad, I will stick to virtualbox. Thanks for the help thogu, it will ease the change over.

  11. What's the smallest linux VM setup that usually takes very little time to start up to a desktop while having the same package ecosystem as Ubuntu? I'm tinkering with a Linux handheld and tend to want to clone cards and partitions that won't normally be recognized by Windows.

  12. Once again Chris you've made a rather tricky computer install, very understandable, with another of your easy to follow guides, you really are a star! I still don't understand why the software makers continue to make these things overly complicated. Maybe I'm missing something, but I don't see why the installer that VirtualBox issue can't include all the required software and tweaks. Thankfully, we have ExplainingComputers to remedy the brain twisting episodes that stand in the way of us being able to do what we want to!! Cheers 🙂
    PS Not sure if this is limited to my system, but I found I had to change the network setting in VirtualBox to "Bridged Adaptor" otherwise the internet connectivity proved to be flakey

  13. This channel Peter is simply amazing with the educational value. Just learn so much each exciting week from EC. Never a dull moment. Many thanks for all the time you take to make these videos.

  14. Thanks Chris for another informative and helpful Virtual Box video. You confirmed for me the helpful information requested by software corporations and government are to paraphrase President Reagan some of the most terrifying words in the English language “I’m from (insert agency) and I’m here to help you…😂!
    Have a great day!

  15. Exactly how I migrated to Linux through a VM. I loved that I could try many different distros to see which one I liked before making the switch. Once again a no-nonsense demonstration Chris, concise and to the point with 0% fluff.

  16. I've been using Linux on VirtualBox as the way to not only get hands-on and learn Linux but to also experiment and familiarize myself with software and techniques that I can apply to small Linux-based SBCs (such as the Raspberry Pi and Libre Renegade). I can mess around with software development environments, different languages, web serving, Docker, etc. before trying it on the small system. If I mess up, it's a lot faster and less painful to save and restore a VM than it is trying recover a prior state when you've got a Raspberry Pi with only an SD Card. I can experiment with operations on file systems, disk partitioning, and cloning with little fear of disaster if I inadvertently kill my virtual hard disk. I also like that I can do it all on my laptop without being tethered to a motherboard and keyboard (although having a small SBC with something like a PiKVM would give a somewhat similar level of convenience.)

  17. The first time I used a virtual machine was approximately 1980. Of course, this was VM/370 on a mainframe. If you want to play with a mainframe virtual machine, it's freely available and is known as Virtual Machine Community Edition and runs on the Hercules emulator.

  18. Using a WIN11 Version with ALL the bloatware, TM2 requirements, and AI BS stripped out upon install. RUNS so clean and no login required. THIS will be a fun Saturday project sometime. Thanks Chris!

  19. Interesting video. I've installed Windows many times in Virtualbox on Linux. I love playing Railroad Tycoon 2 and the Linux version has problems working on modern Linux distros so I use WinXP in a virtual machine just to play that one game. I'd love to see a video on the use of QEMU. I have a lot of Mac OS9 software and I'd love to get that working in a virtual environment on Linux.

  20. Great video! Thanks a lot for popularisation of Linux Chris! I m a Linux user since 2019 and you are one of those persons who got me interested in it. It is always good time to recruit new members to our team. Good luck!

  21. Very useful, especially he hints and tops that can remove some frustrations when people try virtual machines for the first time, potentially thinking that some important features do not exist.

  22. Have you covered package managers? Something like Chocolatey takes care of the dependencies for Virtual Box. Also, I was surprised you didn’t cover Hyper V? My experience with Hyper V is minimal because Virtual Box and WSL are so much better. Thanks as always. 🙏

  23. Regarding the "One by WACOM" graphics tablet. It was "instant hatred." It's the WORST computer peripheral I've ever used. Horrendous beyond words. The Logitech mouse is like a dream in comparison.

    Like other buyers, Amazon sent me an open-box product. The main issue is right click context menus. Clicking while hovering doesn't work properly. Selecting multiple items often results in unwanted copies being dumped in the folder. Due to problems selecting multiple items, the copies have to be deleted one by one. The pen buttons are difficult to use, and are ALWAYS in the wrong place. Clicking, and double clicking often doesn't work. Files open, when you don't want them to.

    "One by WACOM" is the WORST computing device I've ever used. No wonder the previous buyer returned it? It's put me off graphics tablets for life!

    Are ALL graphics tablets this bad?

  24. Excellent timing. This clears up some problems I noticed yesterday, though it was in reverse – Host Linux, Guest Windows. Will now check your video you linked to in the comments. 😊

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button