'''This is rather out of date''', but still may be useful. Please edit if you have thinks to add.

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.

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.

Line 8:

Line 11:

#Go to [http://sourceforge.net/projects/vmmanager here] and get '''VMmanager''',

#Go to [http://sourceforge.net/projects/vmmanager here] and get '''VMmanager''',

#install and run it.

#install and run it.

−

#Select "Creat a new virtual machine"

+

#Select "Create a new virtual machine"

#Select Operating System: Linux

#Select Operating System: Linux

#Below Select: Ubuntu Linux

#Below Select: Ubuntu Linux

Line 27:

Line 30:

# Select "Unlock"

# Select "Unlock"

# Enter ''40960''

# Enter ''40960''

−

# Tab Finish

+

# Tab Finish, if it says "the size of the hard disk is too large" and indicates the maximum hard disk you can have is 8 GB, go to 'vmmanager.ini' file and change the paramter 'maxHDsize' defined within it. You may change this parameter within the range from 100 MB up to 972800 MB.

+

# Click "Ok". It should quickly say it is finished.

# Click "Ok". It should quickly say it is finished.

Here is a video of [http://www.rose-hulman.edu/~yoder/eLinux/videos/Run_VMmanager2.swf running]] VMmanager the second time.

Here is a video of [http://www.rose-hulman.edu/~yoder/eLinux/videos/Run_VMmanager2.swf running]] VMmanager the second time.

Line 38:

Line 42:

== Getting Ubuntu and installing it ==

== Getting Ubuntu and installing it ==

+

+

Note: At the time I'm editing these I can't get to either the lug site or the csse ftp site.

+

--may

==== Manually Installing with ISO ====

==== Manually Installing with ISO ====

−

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

+

Next get the Ubunutu image and install it in the machine. I'm using 10.4 LTS since it's required by some of the TI tools.

+

#You can get the Ubuntu iso image [http://www.ubuntu.com/ here]; however it's faster for Rose students to get a copy locally from [http://lug.rose-hulman.edu/mirror/ubuntu-releases/ lug] or [ftp://ftp.csse.rose-hulman.edu/ubuntu-releases/ csse]. If you aren't sure which iso to get, look for '''ubuntu-9.10-desktop-i386.iso'''.

#You can get the Ubuntu iso image [http://www.ubuntu.com/ here]; however it's faster for Rose students to get a copy locally from [http://lug.rose-hulman.edu/mirror/ubuntu-releases/ lug] or [ftp://ftp.csse.rose-hulman.edu/ubuntu-releases/ csse]. 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 vm you created above (*.vmx). The VMware Player should start.

Line 82:

Line 90:

The Ubuntu wiki has by far the best directions on how to do this

The Ubuntu wiki has by far the best directions on how to do this

[https://help.ubuntu.com/community/VMware/Tools Ubuntu VMWare Tools]

[https://help.ubuntu.com/community/VMware/Tools Ubuntu VMWare Tools]

+

+

{{YoderFoot}}

Revision as of 16:06, 16 July 2012

This is rather out of date, but still may be useful. Please edit if you have thinks to add.

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.

Tab RAM: 1024M (Make this as big as possible, but no more than 1/2 your laptop's 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.

Tab Finish, if it says "the size of the hard disk is too large" and indicates the maximum hard disk you can have is 8 GB, go to 'vmmanager.ini' file and change the paramter 'maxHDsize' defined within it. You may change this parameter within the range from 100 MB up to 972800 MB.

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.

Answer questions for your location.

Select "Erase and use the entire disk"

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.

Downloading VMWare Appliance

Caution: If you have downloaded the Ubuntu disk and installed it, these directions do not apply to you.

VMPlanet provides premade virtual hard disks that can simply be imported into vmware player. This will simply save the install, but probably will use more internet bandwidth then downloading and installing the iso.

Installing VMWare Tools

Now that you have your Ubuntu image loaded and updated, it is important to install VMWare Tools. This will allow for much more natural mouse synchronization, speed improvements, and copy/paste support between host and guest OS's.