Jump to content

Okay so I have an Ubuntu OS on an external SSD that I wanna use for coding (I'm learning Python over the summer because it's my weakest part of my course) in so it's all in one place and on the same OS as the computers in the Astro labs at my uni. I'm wondering if it's possible to run the Linux OS from the USB SSD from Windows on my second monitor or if I would have to use my laptop connected to the monitor through HDMI and just use synergy (or similar) to use the same mouse and keyboard. I need windows open for other programs I use at the same time.

 

Is this possible or just wishful thinking?

|| CPU: AMD Ryzen 5 1600 (@3.9GHz) || Motherboard: ASUS Prime B350 Plus || Cooler: Arctic Freezer 33 eSports Edition || GPU: EVGA GTX 1070 SC || Memory: 16GB G.Skill Trident Z RGB C16 (@2933MHz) || SSD: SanDisk 128GB || HDD: WD Blue 2TB, Toshiba 2TB, Transcend 1TB || PSU: Corsair RM550x || Case: Fractal Design Focus G || Monitor: 2x AOC 23” I2369VM IPS Full HD, Samsung 32" LED TV Monitor || Mouse: Logitech G703 Wireless || Keyboard: Cooler Master MK750 RGB (Cherry MX Brown) || Speakers: Dell Stereo Speakers || Headphones: Sennheiser HD 4.40 BT / Samsung Galaxy Buds ||

Link to comment
https://linustechtips.com/topic/1075634-running-linux-in-windows/
Share on other sites

Link to post
Share on other sites

3 minutes ago, Inversion said:

Okay so I have an Ubuntu OS on an external SSD that I wanna use for coding (I'm learning Python over the summer because it's my weakest part of my course) in so it's all in one place and on the same OS as the computers in the Astro labs at my uni. I'm wondering if it's possible to run the Linux OS from the USB SSD from Windows on my second monitor or if I would have to use my laptop connected to the monitor through HDMI and just use synergy (or similar) to use the same mouse and keyboard. I need windows open for other programs I use at the same time.

 

Is this possible or just wishful thinking?

Virtual Machine?

What are these for?

Link to post
Share on other sites

Just now, epikgamerwmp said:

Virtual Machine?

That was my thought but I don't know much about them. Can they boot from an existing installation on a USB SSD?

|| CPU: AMD Ryzen 5 1600 (@3.9GHz) || Motherboard: ASUS Prime B350 Plus || Cooler: Arctic Freezer 33 eSports Edition || GPU: EVGA GTX 1070 SC || Memory: 16GB G.Skill Trident Z RGB C16 (@2933MHz) || SSD: SanDisk 128GB || HDD: WD Blue 2TB, Toshiba 2TB, Transcend 1TB || PSU: Corsair RM550x || Case: Fractal Design Focus G || Monitor: 2x AOC 23” I2369VM IPS Full HD, Samsung 32" LED TV Monitor || Mouse: Logitech G703 Wireless || Keyboard: Cooler Master MK750 RGB (Cherry MX Brown) || Speakers: Dell Stereo Speakers || Headphones: Sennheiser HD 4.40 BT / Samsung Galaxy Buds ||

Link to post
Share on other sites

29 minutes ago, Inversion said:

That was my thought but I don't know much about them. Can they boot from an existing installation on a USB SSD?

In that case why don't you just install Ubuntu on a Virtual Machine like VMware or Virtualbox (both have free version).

Is not that hard to install, you can run it side by side inside windows 10.

There are plenty of tutorials in youtube.

Once you have your VM setup, you can just copy all your project to the VM.

Ryzen 5700g @ 4.4ghz all cores | Asrock B550M Steel Legend | 3060 | 2x 16gb Micron E 2666 @ 4200mhz cl16 | 500gb WD SN750 | 12 TB HDD | Deepcool Gammax 400 w/ 2 delta 4000rpm push pull | Antec Neo Eco Zen 500w

Link to post
Share on other sites

i graduated last year. For our linux labs some of the other students used external storage for their vms's. (I used my own laptop) It would be best to start a clean new vm and select your external drive as harddisk.

 

You could then take this drive to another computer where you import a vm. Select the existing image on your external drive, it should ask you if you copied or moved it.

 

Now you can just import the machine every time you switch computer.

Link to post
Share on other sites

1 hour ago, Inversion said:

That was my thought but I don't know much about them. Can they boot from an existing installation on a USB SSD?

Yes they do... But in a virtual machine there will barely be 3D acceleration at all, and you wouldn't even need to use Synergy, depending on the vm software you can easily switch between screens as long you use the guest additions 

Link to post
Share on other sites

3 hours ago, SupaKomputa said:

In that case why don't you just install Ubuntu on a Virtual Machine like VMware or Virtualbox (both have free version).

Is not that hard to install, you can run it side by side inside windows 10.

There are plenty of tutorials in youtube.

Once you have your VM setup, you can just copy all your project to the VM.

The reason I don't want to do that is that I use a desktop and a laptop so need it on an SSD

3 hours ago, LeSheen said:

i graduated last year. For our linux labs some of the other students used external storage for their vms's. (I used my own laptop) It would be best to start a clean new vm and select your external drive as harddisk.

 

You could then take this drive to another computer where you import a vm. Select the existing image on your external drive, it should ask you if you copied or moved it.

 

Now you can just import the machine every time you switch computer.

So wipe my SSD (not much on it anyway) and use it to set up the VM.

 

And there should be no issue opening the VM? Like even if it's on different machines with different hardware (desktop is ryzen 5 1600 and GTX 1070, laptop is i5-8250U and intel igpu)

2 hours ago, Chunchunmaru_ said:

Yes they do... But in a virtual machine there will barely be 3D acceleration at all, and you wouldn't even need to use Synergy, depending on the vm software you can easily switch between screens as long you use the guest additions 

Is lack of 3D acceleration a big thing? Like what tasks use it? This is basically only going to be used for coding. I doubt I'll use it for much else as I use Windows most of the time.

|| CPU: AMD Ryzen 5 1600 (@3.9GHz) || Motherboard: ASUS Prime B350 Plus || Cooler: Arctic Freezer 33 eSports Edition || GPU: EVGA GTX 1070 SC || Memory: 16GB G.Skill Trident Z RGB C16 (@2933MHz) || SSD: SanDisk 128GB || HDD: WD Blue 2TB, Toshiba 2TB, Transcend 1TB || PSU: Corsair RM550x || Case: Fractal Design Focus G || Monitor: 2x AOC 23” I2369VM IPS Full HD, Samsung 32" LED TV Monitor || Mouse: Logitech G703 Wireless || Keyboard: Cooler Master MK750 RGB (Cherry MX Brown) || Speakers: Dell Stereo Speakers || Headphones: Sennheiser HD 4.40 BT / Samsung Galaxy Buds ||

Link to post
Share on other sites

3 hours ago, Inversion said:

And there should be no issue opening the VM? Like even if it's on different machines with different hardware (desktop is ryzen 5 1600 and GTX 1070, laptop is i5-8250U and intel igpu)

 

Is lack of 3D acceleration a big thing? Like what tasks use it? This is basically only going to be used for coding. I doubt I'll use it for much else as I use Windows most of the time.

As for switching between machines, it's unlikely that there should be any issues, but drier errors can happen on any machine, that said, i have Ubuntu installed on a USB stick and i have booted that on a few dozen different machines without issue, so it is likely to be a non-issue

 

As for 3D acceleration, unless you are gaming or doing something graphically intensive such as rendering, CAD, or video editing, it is a non-issue.

 

Really all you need to do is boot up hyper--V in windows (add windows features if you don't have it) and then tell it your external USB is your VM drive, and off you go, just keep in mind you may need to offline your drive in disk management (right click on start menu icon in Win 10) before you can mount it

Link to post
Share on other sites

  • 2 weeks later...
On 6/24/2019 at 1:33 PM, Inversion said:

Okay so I have an Ubuntu OS on an external SSD that I wanna use for coding (I'm learning Python

You can write Python natively on Windows.

You can use Windows 10's Linux layer ("WSL") to install Ubuntu and run X11 applications natively.

 

... Or you can just use VirtualBox or QEMU.

Write in C.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×