Wednesday, May 1, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 4555  / 2 Years ago, fri, february 11, 2022, 8:01:45

I was just wondering if it is possible to install Ubuntu on a USB Flash Drive, and then run Ubuntu from the USB without rebooting, touching the boot menu, or installing. Just using it on Windows 7, from a USB. Then, say the USB is removed, it goes back to Windows 7.



Many of you will probably ask why I would do this when I can just install it, and here's why:
I already have Ubuntu installed at home, but I want to run it at school without touching anything I could get in trouble for. Also, I have no administrator rights, except I do know how to use the login screen as an admin account, but I can't download anything. (I enabled command prompt in the login screen in place of sticky keys, and then typed: explorer.exe to bring up the start menu, etc,)



Anyway, again, I was just wondering if this is possible to do.
Thanks.


More From » boot

 Answers
2

I have successfully done this with both Portable VirtualBox and Qemu for Windows.




  1. The pro for Portable VirtualBox is that it gives you the full power of VirtualBox. (It's a modified version of VirtualBox.) The con is that it's very slow from a usb drive. If you use this, definitely go for Lubuntu and maybe even use openbox or fluxbox alone instead of the full Lubuntu session.



    Portable VirtualBox has also had some problems with bugs on Windows 7. The developer has stated that it doesn't seem to affect everyone, so it may be related to some arcane Win settings. I had it work fine on one computer, but to get it to work on another Win 7 computer I had to download an older version of the binary. (And it took some trial and error to find one that worked right.)



    Another downside is that setting up Portable Vbox in Windows seems to mess up any pre-existing standard VBox install on the same the machine (just the app, not the VM's you may have already created).



    LinuxLiveUsb uses Portable Vbox for it's Virtualize this Key option, but the last time I tried it the Win7 bug prevented it from working; plus that option (unlike a standalone Portable Vbox) does not allow persistence.


  2. Qemu also works well. See Qemu for Windows for the binaries and Qemu main site Qemu documentation.



    Getting a virtual machine up and running is a little more hands on than in Vbox. But it's not really difficult. This slightly dated page originally intended for Qemu on the OLAP project is helpful for getting started, but it doesn't tell you everything you need to know.



    Qemu is arguably a little faster than Vbox since it's somewhat lighter. You may find some older pages saying it's too slow to use in Windows, but my experience is that is no longer true with the newer binaries. Still, you will want to make your install as light as possible with Lubuntu or similar.



[#26907] Saturday, February 12, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
bleger

Total Points: 468
Total Questions: 108
Total Answers: 100

Location: Belarus
Member since Wed, Dec 7, 2022
1 Year ago
;