Difference between revisions of "EBC Exercise 07 Installing Ubuntu in VMware"

From eLinux.org
Jump to: navigation, search
m (Installing VMware Player)
(No difference)

Revision as of 08:50, 2 March 2010

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

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.

  1. Go to [[1]] and get VMmanager,
  2. install and run it.
  3. Select "Creat a new virtual machine"
  4. Select Operating System: Linux
  5. Below Select: Ubuntu Linux
  6. Project name: Ubuntu 9.10
  7. Tab RAM: 512M (make this no more than 1/2 your RAM)
  8. 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.
  9. Keep Selected "Split into 2GB files"
  10. Tab Ethernet: Ethernet 0, NAT, Ethernet 1 Bridged
  11. Tab Adapters: Select USB, COM1 COM2 and Sound Adapter
  12. Tab Finish: Click "Ok" pick a file name. It should quickly say it is finished.
  13. Quit VMmagager

Here's a video of installing[[2]], here's how to run VMmanager[[3]].

  1. Restart VMmanager
  2. Select "Modify an existing virtual machine"
  3. Select the machine you just saved.
  4. Tab Hard Drive
  5. Select "Unlock"
  6. Enter 40960
  7. Tab Finish
  8. Click "Ok". It should quickly say it is finished.

Here is a video[[4]].

Installing VMware Player

Now we can get the VMware player and install it.

  1. Get the VMware player (I got 2.5.3) at [[5]]. I got VMware Player for Window 32-bit and 64-bit (.exe).
  2. Install it

Getting Ubuntu and installing it

Next get the Ubunutu image and install it in the machine. I'm using 9.10.

  1. You can get the Ubuntu iso image at [[6]]; however it's faster for Rose students to get a copy locally from [[7]] or [[8]]. If you aren't sure which iso to get, look for ubuntu-9.10-desktop-i386.iso.
  2. Click on the vm you created above (*.vmx). The VMware Player should start.
  3. Click on the CD icon on the bottom right.
  4. Select Disconnect.
  5. Click on the CD icon again and select "Connect to disk image file (iso):"
  6. Select the Ubuntu iso file you downloaded.
  7. 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.
  8. Select: Load Ubuntua

Here is a 3 minute demo[[9]].

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. Hint 3: Ctrl-Alt will release the mouse for outside the VM.

  1. Answer questions for your location.
  2. Select "Erase and use the entire disk"
  3. Answer the rest of the questions.
  4. Select install and wait a while. My install took about half an hour.
  5. Restart the system when asked to. You may be asked about ejecting the CD-ROM. I clicked No.


  1. Once Ubuntu is running you can right-click on the CD-ROM image and unmount it.
  2. Go to the CD-ROM icon on the bottom right and disconnect from the iso image.
  3. The Update Manager may appear. Go ahead and have it update everything. It took 15 minutes on my system.
{"cc_re__cc_re__cc_by_sa_3_0": [" page\">Permanent link</a></li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<li id=\"t-info\"><a href=\"/index.php?title=EBC_Exercise_07_Installing_Ubuntu_in_VMware&amp;action=info\" title=\"More information about this page\">Page information</a></li>\n\t\t\t\t\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t\t</div>\n\t\t</div>\n\t\t\t\t</div>\n\t\t</div>\n\t\t<div id=\"footer\" role=\"contentinfo\">\n\t\t\t\t\t\t\t<ul id=\"footer-info\">\n\t\t\t\t\t\t\t\t\t\t\t<li id=\"footer-info-viewcount\">This page has been accessed 20,760 times.</li>\n\t\t\t\t\t\t\t\t\t\t\t<li id=\"footer-info-copyright\">Content is available under <a class=\"external\" rel=\"nofollow\" href=\"http://creativecommons.org/licenses/by-sa/3.0/\">a Creative Commons Attribution-ShareAlike 3.0 Unported License</a> unless otherwise noted.</li>\n\t\t\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t\t<ul id=\"footer-places\">\n\t\t\t\t\t\t\t\t\t\t\t<li id=\"footer-places-privacy\"><a href=\"/eLinux.org:Privacy_policy\" title=\"eLinux.org:Privacy policy\">Privacy policy</a></li>\n\t\t\t\t\t\t\t\t\t\t\t<li id=\"footer-places-about\"><a href=\"/eLinux.org:About\" title=\"eLinux.org:About\">About eLinux.org</a></li>\n\t\t\t\t\t\t\t\t\t\t\t<li id=\"footer-places-disclaimer\"><a href=\"/eLinux.org:General_disclaimer\" title=\"eLinux.or", "oter-places-privacy\"><a href=\"/eLinux.org:Privacy_policy\" title=\"eLinux.org:Privacy policy\">Privacy policy</a></li>\n\t\t\t\t\t\t\t\t\t\t\t<li id=\"footer-places-about\"><a href=\"/eLinux.org:About\" title=\"eLinux.org:About\">About eLinux.org</a></li>\n\t\t\t\t\t\t\t\t\t\t\t<li id=\"footer-places-disclaimer\"><a href=\"/eLinux.org:General_disclaimer\" title=\"eLinux.org:General disclaimer\">Disclaimers</a></li>\n\t\t\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t\t\t\t\t<ul id=\"footer-icons\" class=\"noprint\">\n\t\t\t\t\t\t\t\t\t\t\t<li id=\"footer-copyrightico\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http://creativecommons.org/licenses/by-sa/3.0/\"><img src=\"http://i.creativecommons.org/l/by-sa/3.0/88x31.png\" alt=\"a Creative Commons Attribution-ShareAlike 3.0 Unported License\" width=\"88\" height=\"31\" /></a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t\t\t<li id=\"footer-poweredbyico\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"//www.mediawiki.org/\"><img src=\"/resources/assets/poweredby_mediawiki_88x31.png\" alt=\"Powered by MediaWiki\" srcset=\"/resources/assets/poweredby_mediawiki_132x47.png 1.5x, /resources/assets/poweredby_mediawiki_176x62.png 2x\" width=\"88\" height=\"31\" /></a>\n\t"], "copyright__copyright__copyright": [" entire disk\"\n  3. Answer the rest of the questions.\n  4. Select install and wait a while. My install took about half an hour.\n  5. Restart the system when asked to. You may be asked about ejecting the CD-ROM. I clicked No.\n\n\n  1. Once Ubuntu is running you can right-click on the CD-ROM image and unmount it.\n  2. Go to the CD-ROM icon on the bottom right and disconnect from the iso image.\n  3. The Update Manager may appear. Go ahead and have it update everything. It took 15 minutes on my system.", " entire disk\"\n  3. Answer the rest of the questions.\n  4. Select install and wait a while. My install took about half an hour.\n  5. Restart the system when asked to. You may be asked about ejecting the CD-ROM. I clicked No.\n\n\n  1. Once Ubuntu is running you can right-click on the CD-ROM image and unmount it.\n  2. Go to the CD-ROM icon on the bottom right and disconnect from the iso image.\n  3. The Update Manager may appear. Go ahead and have it update everything. It took 15 minutes on my system.", " entire disk\"\n  3. Answer the rest of the questions.\n  4. Select install and wait a while. My install took about half an hour.\n  5. Restart the system when asked to. You may be asked about ejecting the CD-ROM. I clicked No.\n\n\n  1. Once Ubuntu is running you can right-click on the CD-ROM image and unmount it.\n  2. Go to the CD-ROM icon on the bottom right and disconnect from the iso image.\n  3. The Update Manager may appear. Go ahead and have it update everything. It took 15 minutes on my system."]}