Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm dealing with a company that has 21 windows workstations.

I'd like to install linux on them to host Windows via a virtual machine.

I'd like each workstation to hide linux from the user, in that, I don't want them to be able to use the linux desktop.

After linux boots in the workstation, I want it to launch the windows virtual machine automatically.

When the user shuts down the virtual machine, I want the linux host to also shutdown. However, if the user reboots the virtual machine, I want the linux host to stay up.

Are there any VM solutions available, that are designed to be this transparent to the end-user?

share|improve this question
2  
Exactly what are you hoping to achieve by doing this that you can't do by simply installing Windows on each of those machines? If you're using the host OS only to host the VM then you lose far more than you could ever hope to gain. –  John Gardeniers Jul 29 '12 at 12:11
    
manageability - make one image and deploy to all workstation. If user corrupts image, copy over the image with the original and boot from it. –  LonnieBest Jul 30 '12 at 21:21
    
You can do exactly the same thing without it being a VM. –  John Gardeniers Jul 30 '12 at 23:10
2  
@LonnieBest Um, what you're looking for is actually an imaging system and a standard image to go with it. I recommend F.O.G (Free Open Source Ghost) or Clonzeilla and a nice, clean base image that you keep updated, periodically. Do it right, and it's quicker to slap an image back down on a machine than it is to get a user to tell you what they screwed up. –  HopelessN00b Aug 1 '12 at 2:56
    
All the workstations are different brands and models, and therefore need different drivers etc. With a virtual machine, I can have one image that will run on all of them (top of a linux base system). –  LonnieBest Aug 1 '12 at 4:58

1 Answer 1

up vote 0 down vote accepted

Here's what I did:

I installed Ubuntu Desktop 12.04 onto the workstation, and set it to where the user automatically logs in (an option during installation).

Then I installed Virtual Box: sudo apt-get install virtualbox-ose

Then, I installed Windows XP into a VirtualBox virtual-machine.

After that, I launched virtual box and right clicked on that virtual machine and selected "Create Shortcut on Desktop".

With the shortcut on the desktop, right-click on it an go to properties. Copy the command that launches this specific virtual machine.

Last, from the power menu of Ubuntu 12.04 (top-right), select "Start Up"; add an entry named Windows XP and paste the launch-command you copied from the Desktop shortcut you created. Alter that command by putting in the --fullscreen parameter.

After you do all this, you can reboot the workstation. It will automatically boot and log into Ubuntu, then it will automatically launch the Windows XP virtual machine fullscreen.

The employee doesn't have to know anything about ubuntu. The only thing you have to tell him, is that instead of ctrl-alt-delete, he must hit right-crtl-delete to get to his windows login prompt.

Before you let the employee use this virtual workstation, you'll want to clone it, and save a copy of it elsewhere (so if he ever screws it up, you can use replace his virtual machine image with the one you initially created).

To move this 13gig file somewhere else, I installed openssh-server onto the ubuntu workstation: sudo apt-get install openssh-server

After this, from the destination machine I installed filezilla client: http://filezilla-project.org/download.php/

With Filezilla, I was able to login to the ubuntu workstation via sftp, and download the cloned virtual machine for safe keeping.

share|improve this answer
    
Sledgehammer, meet nail. –  MDMarra Aug 5 '12 at 18:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.