|(33 intermediate revisions by 4 users not shown)|
|−|It's pretty much agreed that if you are going to develop for embedded Linux, you should do it in Linux. The problem is many have some form of Windows OS installed. Here are step by step instructions on how to install a virtual machine running Unbuntu Linux on your Windows box. |+|
| || |
|−|==Configuring VMware Player== |+|
', . The is some . to install a virtual machine Ubuntu Linux your .
|−|First we' ll set up the virtual hard drive, then we'll get the virtual machine software. The hard drive is set up using some third party software. |+|
|−|#Go to [[http://sourceforge.net/projects/vmmanager]] and get '''VMmanager''', |+|
|−|#install and run it. |+|
|−|#Select "Creat a new virtual machine " |+|
|−|#Select Operating System: Linux |+|
|−|#Below Select: Ubuntu Linux |+|
|−|#Project name: Ubuntu 9.10 |+|
|−|#Tab RAM: 512M (make this no more than 1/2 your RAM) |+|
|−|#Tab Hard Disk: Unselect "Allocate all disk space now" We'll make the hard drive bigger in a moment. This is working around a small bug that requires all the disk space to be present when you create the machine, even if you don't allocate it all at the beginning. |+|
|−|#Keep Selected "Split into 2GB files" |+|
|−|#Tab Ethernet: Ethernet 0, NAT, Ethernet 1 Bridged |+|
|−|#Tab Adapters: Select USB, COM1 COM2 and Sound Adapter |+|
|−|#Tab Finish: Click "Ok" pick a file name. It should quickly say it is finished. |+|
|−|#Quit VMmagager |+|
|−|Here's a video of installing[[http://www.rose-hulman.edu/~yoder/eLinux/videos/Install_VMmanager.swf]], here's how to run VMmanager[[http://www.rose-hulman.edu/~yoder/eLinux/videos/Run_VMmanager.swf]]. |+|
|−|#Restart VMmanager |+|
|−|#Select "Modify an existing virtual machine" |+|
|−|#Select the machine you just saved. |+|
|−|#Tab Hard Drive |+|
|−|#Select "Unlock" |+|
|−|#Enter ''40960'' |+|
|−|#Tab Finish |+|
|−|#Click "Ok". It should quickly say it is finished. |+|
|−|Here is a video[[http://www.rose-hulman.edu/~yoder/eLinux/videos/Run_VMmanager2.swf]]. |+|
| || |
VMware Player== |+|
== Installing and VMware Workstation ==
|−|Now we can get the VMware player and install it. |+|
|−|#Get the '''VMware''' player (I got 2.5.3) at [[http://www.vmware.com/download/player/download.html]]. I got VMware Player for Window 32-bit and 64-bit (.exe). |+|
|−|#Install it |+|
|−|Optional: You can also get the VMware Workstation , but they are out of keys right now. Do this: |+|
|−|#Rose Students: go to [[http://angel.rose-hulman.edu]] |+|
|−|#In the middle column click on '''ROSEportal'''. |+|
|−|#Click on the '''VMware Global Education''' on the top right. |+|
Getting Ubuntu and installing it== |+|
|−|Next get the Ubunutu image and install it in the machine. I'm using 9.10. |+|
|−|#You can get the Ubuntu iso image at [[http://www.ubuntu.com/]]; however it's faster for Rose students to get a copy locally from [[http://lug.rose-hulman.edu/mirror/ubuntu-releases/]] or [[ftp://ftp.csse.rose-hulman.edu/ubuntu-releases/]]. If you aren't sure which iso to get, look for '''ubuntu-9.10-desktop-i386.iso'''. |+|
|−|#Click on the vm you created above (*.vmx). The VMware Player should start. |+|
|−|#Click on the CD icon on the bottom right. |+|
|−|#Select Disconnect. |+|
|−|#Click on the CD icon again and select "Connect to disk image file (iso):" |+|
|−|#Select the Ubuntu '''iso''' file you downloaded. |+|
|−|#On the top left the window select the menu '''VMware Player:Troubleshoot:Reset'''. The VMware Player should find the iso image and start the Unbuntu install. |+|
|−|#Select: Load Ubuntua |+|
|−|Here is a demo: |+|
|−|'''FIX Me''' |+|
| || |
|−|Hint 1: You may have to hit ctrl-G to get the VM to listen to your keyboard. |+|
|−|Hint 2: It won' t see your mouse at first, so use the keyboard. |+|
have to . '
|−|Hint 3: Ctrl- Alt will release the mouse for outside the VM. |+|
|−|#Answer questions for your location. |+|
Select "Erase and use the entire disk" |+|
# the .
Answer the rest of the questions. |+|
# Select ..
install and wait a while. My install took about half an hour. |+|
# . . '.
Restart the system when asked to. You may be asked about ejecting the CD-ROM. I clicked '''No'''. |+|
| || |
| || |
|−|#Once Ubuntu is running you can right-click on the CD-ROM image and unmount it. |+|
Go to the CD-ROM icon on the bottom right and disconnect from the iso image. |+|
The Update Manager may appear. Go ahead and have it update everything. It took 15 minutes on my system. |+|
to the iso .
It's pretty much agreed that if you are going to develop for embedded Linux, you should do it in Linux. The problem is many have some form of Windows OS installed. Here are step by step instructions on how to install a virtual machine running Ubuntu Linux on your Windows box.
If you are a Rose student you have access to a free (well, already paid for) copy of VMware Workstation. Here's where to find it:
You are welcome to run whatever flavor of Linux you want, however I suggest running the current long-term support version of Ubuntu. The current LTS is 12.04. If you are at Rose you can quickly get it from the CSSE site.
Ubuntu will install and in a few minutes you'll have a running version.