loading
Hey folks, this is Zack with your hot-off-the-press instructable.  I'm doing this so that I can use my awesome laptop for sending commands to BeagleBoard.  At the end are some cool links.

This instructable will guide you in the installation of a virtual machine and the installation of a second operating system, in this case--Ubuntu (Linux).

This is a very basic tutorial and is made for folks who aren't comfortable yet with VM's.  There's a lot of hand-holding...which is what I needed the first time I did this.

First, a very very brief description of a virtual machine.  A virtual machine is a program which simulates a completely independent computer with its own inputs, networking, memory, hard and optical drives, and so forth.  It uses the hardware and parts of the system resources of your current machine.  This is handy if you want to have a single computer for doing all the wonderful things windows is good for AND for doing hardware development or other advanced things that Windows is not good for.

The steps:
1) Install a virtual machine
2) Install an operating system on the virtual machine
3) Execute commands on the operating system on the virtual machine

What you will need:
1) A computer
2) An internet connection
3) A little patience
4) Windows 7 (though this process can be done on most OS's, this tutorial is for W7.  XP, 8 and mac may follow)

This process is totally free.  No bucks required.

Step 1: Installing Virtual Box in Windows 7

Steps to install Virtual Box in Windows 7:

1) Go https://www.virtualbox.org/wiki/Downloads
2) Download Virtual Box (latest version) for Windows hosts x86/amd64
3) "Save As"
4) When done downloading, run the .exe
5) "Run" if Windows pops up a security warning
6) Continue with the installation of VirtualBox with the defaults

This will open VirtualBox at the end of the installation.  Please proceed to step 2.
<p>I followed the previous steps, however I had the following message upon starting the VM and after running the Ubuntu .ios: <i>&quot;This kernel requires an x86-64 CPU, but only detected an i686 CPU. </i><em>Unable to boot - please use a kernel appropriate for your CPU&quot;. </em>Do you have any suggestions on how I can fix this. I selected the Ubuntu (32Bit) option as Operative System through the VM. I am using version 5.1.12 r112440 (Qt5.6.2) of Oracle VM Virtual Box.</p>
<p>So basically I got this error. What you need to do is instead of selecting it as a 32-bit option, you want to select Linux Ubuntu 64-bit. Should work.</p>
<p>I never got this error.</p>
<p>Did you download Ubuntu on 32bit or 64bit? Because if it was on 32bit you have to select in the VM 32bit. If it is a 64bit Ubuntu, create a new virtual machine and select 64bit Ubuntu. If this doesn't work, select Other Linux... (64-bit) and follow the procedure.</p>
<p>Made myself crazy installing Mint Cinnamon as dual boot with Win 7. After about 12 hours of fiddling, decided to remove dual boot. Found this, removed the dual boot with BSD*, installed Virtual Machine, reinstalled Mint in VM. Bingo, absolutely no more pain. Wish I'd found this days ago. Nice post.</p><p>* http://linuxbsdos.com/2015/10/30/how-to-uninstall-linux-or-delete-linux-partitions-from-windows/</p>
<p>sorry - when I try to boot an iso file, be this ubuntu 16.04/i386 (for whatever reason on my i7 Intel the AMD/EMT iso does not work) or being this Lubuntu 14.xx I get a message that I have no PAE. Setting the forcepae option in the startup menu of Ubuntu does not solve this -- is there something in the virtualbox which prevents this?</p><p>any workable suggestions how to solve this - otherwise all this here is useless.</p>
1.Shutdown your system, 2.on it back and start pressing ESC keykey b4 it boots,3. Choose bios enable virtual technology 4. Now run virtual box when u choose Linux d system will automatically choose 32bit for u scroll down and choose 64bit(no matter d type of system u r using),. 4. Create goto settings click on d CD empty then d small CD at ur right hand side choose .ISO file OK then start daz all
<p>I've installed windows 7 on my laptop after buying license from: http://cheaproduct.com</p><p> I want to activate it to get free upgrade from windows 7 professional to windows 10 home.</p><p>I'm now confused, How to activate and upgrade to windows 10.</p><p>Please mention within details.</p>
<p>Thank you for the tutorial, but I'm stuck here:</p><p>5) In the storage tree, click on the disk icon that should say &quot;empty.&quot; If it doesn't then click on it anyway.<br>6) Click on the small disk with the down arrow to the right of the field under &quot;attributes&quot; on the right side of the storage window.<br>7) Locate the .iso you just downloaded from the Ubuntu website.</p><p>In this last step, first of all, clicking the icon will bring a menu but you don't specify what to click in the menu. Sorry for this, but it's not clear for somebody who does this for the first time which option is right. The Linux VM disk image is already there, and if I select the Ubuntu ISO it gives me an error:</p><p>Failed to open the disk image file <strong>C:\Users\Outsider\Desktop\ubuntu-16.04-desktop-amd64.iso</strong>.</p><p><br></p><p>The medium <strong>'C:\Users\Outsider\Desktop\ubuntu-16.04-desktop-amd64.iso'</strong> can't be used as the requested device type.</p>Result Code: <tt>E_FAIL (0x80004005)</tt>Component: MediumWrapInterface: IMedium {4afe423b-43e0-e9d0-82e8-ceb307940dda}Callee: IVirtualBox {0169423f-46b4-cde9-91af-1e9d5b6cd945}Callee RC: <tt>VBOX_E_OBJECT_NOT_FOUND (0x80BB0001)</tt><p>Now the iso is added to that menu but it doesn't start anyway.</p><p>I also tried to boot up from the iso as it's seen by VirtualBox already, but it doesn't work either.</p>
<p>Simple and Awesome tutorial, Thank you</p>
<p>Great tutorial, thank you. This was my first instructable project :)</p>
<p>I just find a useful page for Office 2016 Product Key:</p><p><a href="http://www.Msofficialstore.com" rel="nofollow">http://www.Msofficialstore.com</a></p>
<p>Hi Guys, I have already installed linux on my virtual box box, it seems as if it is installed correctly, however if Am trying to switch on the machine, it requires me to enter/type in my password, I did type the correct password that I created but if I click on login then it takes me back to the login page again prompting me to type the password again. I have trying this for several times, I have removed the machine and installed it again still am encountering the same error. would you please asssit?</p>
<p>Right on!! This worked great! you have no idea how many times I tried to load Linux debian on my windows machine and make dual boot. Uggg not pretty at all. This was a great option and it work great. Thank you </p>
<p>Activate windows click here: <a href="http://www.acyberkey.com" rel="nofollow"> www.acyberkey.com</a></p><p> you can find the keys you want in a low price that you have never imagined.</p>
<p>Activate windows click here: <a href="http://www.acyberkey.com" rel="nofollow"> www.acyberkey.com</a></p><p> you can find the keys you want in a low price that you have never imagined.</p>
<p>10x men its great tutorial its understood and easy thanks again !!!</p>
<p>There are many options of windows 7 product keys for windows 7 in: <a href="http://www.cdekey.com%2C/" rel="nofollow">www.cdekey.com</a>, hope can do you guys a help.</p>
<p>Thank you very much! :) Great tutorial! Worked perfectly in Win 7 (32bits)</p>
<p>Thank you! </p>
<p>OK. I completed all the steps successfully. Now what. How do I access the Ubuntu Linux system I have installed? I want to go on to the next steps for the LAMP install but I do not know what to do next.?</p>
<p>I am trying to install Ubuntu on Windows 7 ( both 32 bit), but I am getting an error while starting the Guest OS.</p><p>Last line of the log said</p><p>'C:\Windows\system32\PSAPI.DLL'</p><p>13ec.d74: supR3HardNtChildWaitFor[2]: Quitting: ExitCode=0x1 (rcNtWait=0x0, rcNt1=0x0, rcNt2=0x103, rcNt3=0x103, 11044 ms, the end);</p><p>15a4.8c4: supR3HardNtChildWaitFor[1]: Quitting: ExitCode=0x1 (rcNtWait=0x0, rcNt1=0x0, rcNt2=0x103, rcNt3=0x103, 11729 ms, the end);</p><p>Please help</p>
<p>I'm positive this wasn't helpful</p>
<p>Thank you for your sharing, it is great, i would like to share my experience with you too, i got a key in a web, it is genuine and good-working, especially it only cost me a little money, recommended you, wish you good luck. <a href="http://www.aakeys.com/" rel="nofollow">www.aakeys.com</a></p>
<p>thanks a lot it gave me chance to explore the things in unix i really want to thank you </p>
<p>thanks a lot!!</p>
<p>THANK YOU SO MUCH!! This worked perfectly the first time on my Win7 32-bit PC! Steps are very clear and screenshots are perfect. This is exactly what I needed and a huge help!</p>
<p>Thank you so much.</p>
<p>hey.. i installed vb from above link. then i installed ubuntu (32 bit) for windows 7. when i changed the settings and attached the file ubuntu iso to it.. and started the vb ,instead of coming ubuntu as shown in the above images, i encountered the problem as this:</p><p>please resolve my problem asap.. i urgently need ubuntu.</p><p>thank you</p>
<p>hey i am not able to download the doc but if you can upload the images again might be able to help</p>
<p>I'm facing a problem while attaching the image file :( it shows this msg :- Failed to open the optical disk file <strong>C:\Users\l\Downloads\ubuntu-14.04.1-desktop-i386.iso</strong>.</p><p> <br></p><p>Could not get the storage format of the medium <strong>'C:\Users\l\Downloads\ubuntu-14.04.1-desktop-i386.iso'</strong> (VERR_NOT_SUPPORTED).</p>Result Code: <tt>VBOX_E_IPRT_ERROR (0x80BB0005)</tt>Component: MediumInterface: IMedium {05f2bbb6-a3a6-4fb9-9b49-6d0dda7142ac}Callee: IVirtualBox {fafa4e17-1ee2-4905-a10e-fe7c18bf5554}Callee RC: <tt>VBOX_E_OBJECT_NOT_FOUND (0x80BB0001)</tt><p>kindly help me in this regard !!!</p>
<p>I'm having this same problem. Let me know if you are able to solve it, and I will let the same with you. Thanks.</p>
<p>sure !</p>
<p>hey.. i installed vb from above link. then i installed ubuntu (32 bit) for windows 7. when i changed the settings and attached the file ubuntu iso to it.. and started the vb ,instead of coming ubuntu as shown in the above images, i encountered the problem as this:</p><p>please resolve my problem asap.. i urgently need ubuntu.</p><p>thank you</p>
<p>hey.. i installed vb from above link. then i installed ubuntu (32 bit) for windows 7. when i changed the settings and attached the file ubuntu iso to it.. and started the vb ,instead of coming ubuntu as shown in the above images, i encountered the problem as this:</p><p>please resolve my problem asap.. i urgently need ubuntu.</p><p>thank you</p>
<p>Thank you, this will help me learn server management.</p>
<p>Thanks :D</p>
<p>6th step issue is resolved by restarting the VB</p>
<p>6th steps is disabled for me. Not able to click on the discdrive icon under the attributes. Please suggest</p>
<p>To set screen size on Ubuntu ; sudo apt-get install virtualbox-guest-dkms</p><p>http://askubuntu.com/questions/452108/cannot-change-screen-size-from-640x480-after-14-04-installation-on-virtualbox-os</p>

About This Instructable

478,490views

33favorites

More by techshopzack:DIY Portable Expedition Flag Use an Old Wetsuit to Make a Beer Coozie Installing a Virtual Machine and Ubuntu on Windows 7 
Add instructable to: