Jump to content

I find myself needing to work from different computers these days, and I'd like to plug in a drive into any computer and do work. So I'm thinking of running portable virtualbox on an SSD, so I can just plug in the drive on any computer, start up the virtual machine on the external drive and proceed with my regular environment (Linux environment for both programming and word processing tasks). I dont want to create something like a bootable USB because I cant guarantee that the computer I'm using is set to boot from USB, so a VM seems the best solution

 

A few questions about this:

 

1. What is the difference between an external SSD and a USB/flash drive for this purpose?

2. Speed will capped by the USB3.0 interface, so will running a VM from an external drive be fast enough?

3. Is there a difference between getting an external SSD, and an external enclosure with regular SSD?

4. How does an external m.2 fit into the picture (if such a thing exists)?

5. Any recommendations for drives and enclosures that would work well for this purpose?

Link to comment
https://linustechtips.com/topic/781565-virtual-machine-on-external-ssd/
Share on other sites

Link to post
Share on other sites

9 minutes ago, Nem said:

I find myself needing to work from different computers these days, and I'd like to plug in a drive into any computer and do work. So I'm thinking of running portable virtualbox on an SSD, so I can just plug in the drive on any computer, start up the virtual machine on the external drive and proceed with my regular environment (Linux environment for both programming and word processing tasks). I dont want to create something like a bootable USB because I cant guarantee that the computer I'm using is set to boot from USB, so a VM seems the best solution

 

A few questions about this:

 

1. What is the difference between an external SSD and a USB/flash drive for this purpose?

2. Speed will capped by the USB3.0 interface, so will running a VM from an external drive be fast enough?

3. Is there a difference between getting an external SSD, and an external enclosure with regular SSD?

4. How does an external m.2 fit into the picture (if such a thing exists)?

5. Any recommendations for drives and enclosures that would work well for this purpose?

Are you sure that all the PCs you work on that you'll have admin privileges?

 

Because afaik for virtualbox to run (even portable virtualbox) it needs admin rights.

Want to know which mobo to get?

Spoiler

Choose whatever you need. Any more, you're wasting your money. Any less, and you don't get the features you need.

 

Only you know what you need to do with your computer, so nobody's really qualified to answer this question except for you.

 

chEcK iNsidE sPoilEr fOr a tREat!

Link to post
Share on other sites

So the machines all have virtualisation enabled hardware and virtualisation turned on? Seems a lot more convoluted than just switching the boot device. I gather portable VirtualBox requires admin for configuring network, and this assuming they aren't domain computers with applocker 

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | Asus RTX 4060 Dual OC | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO + 4 Additional Venturi 120mm Fans | 8 x 20TB Seagate Exos X22 | 4 x 16TB Seagate Exos X18 | 3 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Spoiler

NAS: Innovision 4U 24-bay chassis (12GB MiniHD SGIO Backplane) | Intel Core i9-10980xe | EVGA X299 FTW-K | EVGA RTX 2080Ti Super FTW3 | 128GB (8x16GB) Corsair Vengeance LPX 3200Mhz | DEEPCOOL PN1000M PSU| Noctua NH-D12L Chromax Black | 16 x 16TB Seagate Exos X18 | 2 x 2TB Samsung 990 Pro | 2 x 2TB Intel U.2 P4510 | LSI 9305-24i HBA

 

Link to post
Share on other sites

38 minutes ago, Nem said:

I find myself needing to work from different computers these days, and I'd like to plug in a drive into any computer and do work. So I'm thinking of running portable virtualbox on an SSD, so I can just plug in the drive on any computer, start up the virtual machine on the external drive and proceed with my regular environment (Linux environment for both programming and word processing tasks). I dont want to create something like a bootable USB because I cant guarantee that the computer I'm using is set to boot from USB, so a VM seems the best solution

 

A few questions about this:

 

1. What is the difference between an external SSD and a USB/flash drive for this purpose?

2. Speed will capped by the USB3.0 interface, so will running a VM from an external drive be fast enough?

3. Is there a difference between getting an external SSD, and an external enclosure with regular SSD?

4. How does an external m.2 fit into the picture (if such a thing exists)?

5. Any recommendations for drives and enclosures that would work well for this purpose?

Presuming you are able to get a VM working on an external drive, which I have not tried before:

 

1) There are some pretty fast flash drives, but I don't know how well they'll cope with random IO at low queue depth, which is probably what an OS needs most. I'd recommend a portable SSD.

2) USB3.0 is capped at around 60 MB/s (480 Mb/s), so you won't get SATAIII level sequential performance, but it may be enough for running an OS. I'm not sure.

3) Other than a small difference in cost and flexibility of choosing an SSD/enclosure you like, no.

4) There are external M.2 and mSATA drive enclosures, but you'll be limited to USB3.0 on most computers, so I don't see much point other than a physically smaller drive. I don't know if there are any external NVMe drives (if you really need more IO at low queue depth), and I don't know if they'll be worth the extra cost to begin with.

5) A Samsung T3 is a safe bet. It's small, has a fast SSD inside, is available is a variety of capacities, and is USB3.1 compatible in case you want that. A T1 is cheaper but is USB3.0 only.

Desktop: Intel Core i7-5820K, Corsair H115i, Asus X99-Deluxe/USB 3.1, G.Skill Ripjaws4 32GB 2800MHz CL16, Zotac RTX 3070, Samsung 950 Pro 512GB in Angelbird Wings PX1, Samsung 850 EVO 1TB, 5*Seagate 12TB, Cooler Master V1200, Phanteks Enthoo Luxe, Windows 10 Pro. Phillips 328P6VUBREB, Corsair Vengeance K95 RGB Cherry MX Brown, Logitech G502 X Plus, Sennheiser HD700.

 

AYANEO 2S: AMD 7800U, 32GB 7500MHz, 2TB WD SN850X. Windows 11.

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

×