Difference between revisions of "EBC Exercise 06 Installing Ubuntu on VirtualBox"

From eLinux.org
Jump to: navigation, search
(My Notes)
Line 32: Line 32:
 
* Reboot your virtual machine.
 
* Reboot your virtual machine.
 
* You can now resize your virtual machine screen.
 
* You can now resize your virtual machine screen.
 +
 +
== Ian's notes ==
 +
When setting up the VM if you are not using an existing hard disk I recommend going over the 8gb default size when creating a new disk while sticking the default format. I ran out of space when using the 8gb size, but it could have been due to mistakes on my part. When you run the VM for the first time, it will look for a media to boot off of, so if you downloaded the latest Ubuntu iso, mount that and begin your install. Congratulations, you now have an Ubuntu VM.
 +
 +
Unfortunately, you do not have a gui yet. This can be solved by following the steps here:
 +
[http://dlc.sun.com.edgesuite.net/virtualbox/4.2.12/UserManual.pdf http://dlc.sun.com.edgesuite.net/virtualbox/4.2.12/UserManual.pdf], under the section installing guest additions on Linux in the Ubuntu subsection. If it says it does not have permission to edit something, run the command with sudo in front of it.
  
 
{{YoderFoot}}
 
{{YoderFoot}}

Revision as of 03:28, 19 June 2013

thumb‎ Embedded Linux Class by Mark A. Yoder


Here's some things I learned installing VirtualBox. It's rather out of date. Please update it if you have something to add.

TI's notes

Here is how TI suggests setting up VirtualBox.

My Notes

  • Download from here.
  • Install as usual. I made no changes on the Custom Setup page. I got the following message some 9 times. I clicked continue.

VBox - Install Warning.png

  • Start VirtualBox. Click New.

VBox - New.png

  • Run the wizard and give your machine a name.

VBox - Create New Virtual Machine.png

  • I used 1024M for the memory size. Make sure your host computer has at least 2 times the real RAM as the virtual machine.

VBox - Memory Size.png

  • Select Use existing hard disk and click VBox - Browse.png

VBox - Virtual Hard Disk.png

  • Click VBox - Add.pngand select your virtual drive.

VBox - Select disk image.png

  • Click Select, Next, Finish.
  • Click VBox - Start.png
  • Got to the Devices menu and select Install Guest Additions....

VBox - Additions.png

  • Select Applications:Accessoris:Terminal from the menu.

VBox - Terminal.png

  • cd to /media/cdrom0 and run the file for your machine.

VBox - run command 001.png

  • Reboot your virtual machine.
  • You can now resize your virtual machine screen.

Ian's notes

When setting up the VM if you are not using an existing hard disk I recommend going over the 8gb default size when creating a new disk while sticking the default format. I ran out of space when using the 8gb size, but it could have been due to mistakes on my part. When you run the VM for the first time, it will look for a media to boot off of, so if you downloaded the latest Ubuntu iso, mount that and begin your install. Congratulations, you now have an Ubuntu VM.

Unfortunately, you do not have a gui yet. This can be solved by following the steps here: http://dlc.sun.com.edgesuite.net/virtualbox/4.2.12/UserManual.pdf, under the section installing guest additions on Linux in the Ubuntu subsection. If it says it does not have permission to edit something, run the command with sudo in front of it.




thumb‎ Embedded Linux Class by Mark A. Yoder