Installing virtual machine on a usb stick to boot from because school computers suck
Hello everyone,
All of my school computers (that we always have to use) have vista installed when they could barley support XP. And on top of that they have tons of flaws that you can fix, but then every time you log out the settings are not saved, so you have to fix it every time you log in. Also some programs just constantly crash. Its horribly annoying, especially when your stuck in a lab for 4 hours and compiling crashes the computer every time. Anyway I'm pretty good with linux but most of the software i need is on windows (office, multisim, xilinx etc), is there anyway for me to use a virtual machine on a bootable usb drive to start xp on these computers and use my programs ? I've actually installed windows on a bootable usb drive before, it only worked on the machine in which i installed it. So this is my plan usb drive -> boot linux -> load vm software (virtualbox) -> load virtualdrive with windows Does anyone know if this would work ? |
Hello,
yes, this will work. But the computer must have enough of RAM (better more than 512MB). Look at slax: http://www.slax.org/get_slax.php Its a live-CD (with also usb-support) and as far as I know they have a module for vbox of sun. You can install win xp on vbox and copy the virtual machine on a partition on the usb-drive. Then you should be able to start vbox after booting with slax and opening the xp-machine. Markus |
Quote:
Quote:
|
Quote:
Its simple things like you cant copy and paste in word because macros are disabled due to security things, also when you make programs in visual studio the working directory of cmd is not there so it cant spawn and show you your program. Yes these can both be fixed, but like i said you have to do it every time you log in/out. Quote:
anyway thanks for the responses ! |
Hi again,
I often use slax in windows-networks and I know that slax, even with the gui, often starts much faster than windows on the samce old PC. But since vista needs 2GB RAM or more there will be enough machines which are much to slow for vista but very good for slax, even with a virtual machine. My experience is that a virtual windows-xp PC with 256MB of RAM (only for the virtual machine) is good for normal working. Markus |
Quote:
|
Ok i got slax installed on a 4 gig usb. And i got my xp hard drive down to 2.7 gig so they both fit ok. The only thing is i cant start the virtual machine (or any) when i type "VBoxManage startvm "xp"" i get
Code:
root@slax:~# VBoxManage startvm XP Code:
root@slax:~# /etc/init.d/rc.vb Code:
root@slax:~# VBoxManage startvm XP EDIT: I installed "Virtualbox 3.0.4 (s6.1.2)" module and now it works fine, even the gui. I did have to run the "/etc/init.d/rc.vboxdrv setup" again. It all works ! its ok in the speed category, well its better than ok its fast, but i am running it on a pretty nice machine (mine). I'll try and speed it up. I guess this is about as close as it gets to doing what i want to do, if it works at the school computers i'll have to get a bigger usb drive because some of the programs i need are like 4 gig by themselves. I wonder if there is any way to run just a X gui like xcfe or something to use even less system resources. Oh well thanks for the help ! |
Hello zonemikel,
nice to read that it worked. There is fluxbox available as a slax-module. Fluxbox uses much less of your system recources than kde does. Markus |
Quote:
I actually got it to load slax into the memory and use xfce, then i can load my virtual machine. Windows is lightning fast ! I just edited the /boot/slax.cfg and copied the line for the "copy to ram" option, then i added "startxfce4" to the "autoexec" option. I also added the changes option so it saves changes in the "load to ram" part. I just ordered a 16gig usb for about $15. Looks like it will work out pretty well. I might have some trouble connecting to school printers but other than that it looks like it will work out just as i wanted it to. thanks for all the help |
Quote:
Markus |
All times are GMT -5. The time now is 02:51 PM. |