 | | Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks. | Windows 7 - Linux - Install on Windows 7 Virtual Machine using VirtualBox
Linux - Install on Windows 7 Virtual Machine using VirtualBox How to Install Ubuntu Linux on a Windows 7 Virtual Machine using VirtualBox - a complete walkthrough
Published by Kari
12-14-2010
| Linux - Install on Windows 7 Virtual Machine using VirtualBox  Information Microsoft Virtual PC is my choice to run Windows virtual machines. However, installing Linux on Virtual PC is not something I would recommend. Main reason is the lack of integration elements; Virtual PC integration components are designed to run well on XP, Vista and 7 virtual machines. For Linux, Virtual PC does not (at least at this moment) offer any integration components. VirtualBox integration components are called Guest Additions. They install and run well also in any Linux distro. That's why I recommended creating Linux virtual machines in VirtualBox.
I am using Ubuntu 10.10 to make this tutorial. At the moment it is the most Windows like Linux distro available, a safe bet for a beginner to start experimenting Linux.
For more advanced Linux users I recommend using Novell SUSE 11.3 which is a commercial Linux distribution, free to test, or its free counterpart OpenSUSE 11.3. The setup procedure in VirtualBox is exactly the same. Microsoft Virtual PC, Oracle VirtualBox and VMware Player are at the moment the best free virtualization applications. All have their pros and cons, I'm not going to put them in any order here. Let's just say I'm using Microsoft Virtual PC for all my XP and Vista virtual machines, and VirtualBox for older Windows and Linux machines.
You can download these virtualization applications here:
Microsoft: Virtual PC
Oracle: VirtualBox
VMware: WMware Player
OK, let's start. First, download and install VirtualBox using the link above. Then download Ubuntu 10.10 ISO image here: Download | Ubuntu Part 1: Create a new virtual machine for Ubuntu - Launch VirtualBox
- Click New:
. 
.
- This opens New Virtual Machine Wizard. Click Next:
.  .
- Give your new virtual machine a name, choose the right OS and version. These are automatically selected if VirtualBox can determine it from the name you gave. Click Next:
.  .
- Set the amount of RAM you want to assign to Ubuntu. For running a Linux vm (virtual machine), 512 MB is enough. You can assign as much as you want to, maximum being about 512 MB less of your host computer's RAM. Keep in mind though that RAM used by a running vm is away from the RAM Windows can use; assigning more RAM can make your vm run faster and better but at the same time make your Windows crawl so slowly even the vm halts. My recommendation is always leave at least 2 GB for Windows, or if you have under 4 GB of RAM only give maximum of 1 GB to a vm. Click Next:
.  . - VirtualBox asks now if you want to create a new vhd (virtual hard disk), or use existing vhd. Choose Create new and click Next:
. 
. - New Virtual Disk Wizard starts. Click Next:
. 
. - Click Next to accept Dynamically expanding storage:
. 
.
Dynamically expanding vhd means that although the guest consideres the HD being the size given (max value), host Windows only uses as much space on HD as is actually needed; a 20 GB dynamic vhd where only 4 GB is used is seen by Windows host as a 4 GB vhd file, not as a 20 GB file, but the guest OS sees the same vhd file as a 20 GB hard disk with 16 GB free. I recommend 8 to 12 GB for Ubuntu. - You can now accept the default location where VirtualBox offers to save the vhd, or change the location by clicking the small folder symbol. Default save folders are Your_Username\.VirtualBox (VirtualBox 3.2 and older) or Your_Username\VirtualBox VMs (from version 4 Beta). You can also change the original size of vhd here. Click Next:
.  . - Click Finish to end New Virtual Disk Wizard:
.  . - Click Finish to end New Virtual Machine Wizard:
.  . - Now choose the virtual machine you just created and click Settings:
.  . - Choose Storage from the left pane, CD/DVD from under the title IDE controller, and click the small CD symbol on the right:
.  . - Now you need to tell VirtualBox which install media you want to use. You can assign any of the host system's CD/DVD drives to vm , or an ISO image to act as a CD/DVD drive. For now, you want to use the Ubuntu ISO you downloaded earlier. Browse to its location, choose it and click Open:
.  . - Now choose Display from the left pane, assign the maximum 128 MB video RAM to virtual machine's emulated video card:
.  . - Next you need to setup network controller. Click Network on the left pane, choose Enable Network Adapter, choose Bridged Adapter, and choose your host computer's network adapter from drop down list:
.  . - Click OK to save edited settings:
.  . Part 2: Install Ubuntu on a virtual machine- Choose Ubuntu vm, click Start:
.  . - When vm starts, it shows you the first screen of Ubuntu setup. Choose the language you want from over 60 languages, or wait 30 seconds for English to be selected:
.  . - Ubuntu starts now in so called Live Mode. Double click Install Ubuntu icon:
.  . - Once again, choose your installation language:
.  . - Choose Download updates while installing. You might also want to install Fluendo MP3 plugin offered for better audio features. Click Forward:
.  . - Choose Erase and use the entire disk. Notice please, we are now talking about the virtual hard disk we created earlier, not the actual hd on your host computer. In other words, this does not mean your HD with Windows on it will be erased
Click Forward: .  . - Click Install Now:
.  . - Choose your time zone:
.  . - Choose your preferred keyboard layout. To avoid confusion, I recommend choosing the same you are using on your host computer's Windows. Click Forward:
.  . - Tell Ubuntu your name, choose the computer name and set up a password. Click Forward:
.  . - Installation starts, you have now some 20+ minutes for a coffee break, or you can watch a presentation about Ubuntu by clicking those arrow symbols on left and right:
.  . - When installation is finished, you have to unmount (deattach) Ubuntu ISO image before reboot. Before clicking Restart Now, Open Devices menu from vm window, click CD/DVD devices, choose Unmount CD/DVD Device:
. . - Click Restart Now:
.  . - When Ubuntu has booted, click your username to open a password prompt. Type your password, click Log In:
.  .  . - To fully integrate Ubuntu vm to your Windows 7 desktop, to allow networking and for instance cross platform copy & paste, you need to install VirtualBox Guest Additions. Click Devices menu, choose Install Guest Additions:
.  . - If the CD/DVD icon appears on the desktop, right click it and choose Open With Autorun Prompt:
.  . - If the CD/DVD icon does not appear on desktop (happens sometimes), open Ubuntu's Places menu, and choose VBOXADDITIONS. Choose then Open Autorun Prompt from VBOXADDITIONS window:
.  .  . - Choose Run to start Guest Additions setup:
.  . - You must now enter the administrative password. It is the same you chose for your account, so enter it now:
.  . - When Guest Additions are set up, you must press Return (Enter) to close the window:
.  . - Restart Ubuntu:
.  . - After reboot, you are ready to go:
.  That's it. Made easy by Windows 7 and a virtualizaton application. Kari |  Published by | | An angry old man Join Date: Jun 2009 Location: A Finnish immigrant in Leipzig, Germany Posts: 9,452 | |
 Tutorial Tools | | | | | | | | | |
12-14-2010
|
#1 | | Windows 7 Ultimate SP1 x64 |
Nice job Kari! | My System Specs | | System Manufacturer/Model Number MS 7592 OS Windows 7 Ultimate SP1 x64 CPU Intel Pentium Dual Core E5400 @2.7Ghz Motherboard MSI G41M4-F Memory 4GB DDR2 2x2GB / 800MHz Graphics Card NVIDIA GeForce 8400GS/512Mb Sound Card Integrated Monitor(s) Displays Philips 192EL Screen Resolution 1366 x 768 Keyboard Delux K5002 Mouse WinGate WMS-o270 PSU 450W Case Delux costumized... Cooling 120mm Hantol, Spire 80mm Hard Drives Samsung HD256GJ 250GB/16MB & WD Caviar Blue 320GB/16MB Internet Speed 10 Mbit Other Info Genius SW-2.1 355 Speakers,Camera,Joystick |
12-14-2010
|
#2 | | Windows 7 Ultimate 32 bit |
Excellent work. Thank you. | My System Specs | | System Manufacturer/Model Number Home built OS Windows 7 Ultimate 32 bit CPU Intel(R) Pentium(R) 4 CPU 3.00GHz Motherboard ASUS P4P800-VM Motherboard Chipset: Intel 865G + ICH5 Memory 2.50 GB RAM Graphics Card NVIDIA GeForce 7600 GS Sound Card SoundMax Integrated Digital Audio (Chip) Monitor(s) Displays ViewSonic VX 1962 wm Screen Resolution 1680 X 1050 Keyboard Microsoft Comfort Curve Keyboard 2000 v10 USB Mouse Logitec optic USB Cooling Fan based Hard Drives Seagate Barracuda 7200.10 80 GB
ST380215A ATA Device 18.6 GB
Western Digital "My Book" external hard drive 750 GB Internet Speed 3.01 Mb/s download 0.64 Mb/s upload |
12-14-2010
|
#3 | | |
That is cool. | My System Specs | | System Manufacturer/Model Number Compaq OS Windows 7 Ultimate x64 CPU Intel core 2 duo T 5550 @ 1.83 GHz Motherboard Intel 965 express mobile chipset Memory 3 GB DR 2 @ 667 MHz Graphics Card Onboard with approx 512 MB RAM Sound Card Onboard Monitor(s) Displays 15"4 inch widescreen Hard Drives 160 GB SATA WD. Internet Speed sucks |
12-14-2010
|
#4 | | Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64) |
Great work Kari! | My System Specs | | System Manufacturer/Model Number Dell OP760 OS Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64) Memory 8GB Monitor(s) Displays 2 Dell 19" LCD Screen Resolution 1280x1024 Keyboard Dell Mouse Dell Optical Internet Speed 40meg System Manufacturer/Model Number HP ENVY 17-1150eg OS Windows 7 x64 Ultimate CPU 1.6 GHz Intel Core i7-720QM Processor Memory 6 GB Graphics Card ATI Mobility Radeon HD 5850 Graphics Sound Card Beats sound system with integrated subwoofer Monitor(s) Displays 17" laptop display, 22" LCD and 32" Full HD TV through HDMI Screen Resolution 1600*900, 1680*1050 and 1920*1080 Keyboard Logitech diNovo Media Desktop Laser (bluetooth) Mouse Logitech MX1000 Laser (Bluetooth) Hard Drives Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media Internet Speed 50/10 Mbps VDSL Other Info Windows 7 Ultimate Retail Full in English, additional Guest-user accounts in Finnish, German and Swedish (Working languages English & Swedish, Family language German, my own language, mother tongue, Finnish. I really need Ultimate to get to use Language Packs!) |
12-15-2010
|
#6 | | windows 7 professional & ultimate 64bit laptops |
great job !!!
still to afraid to play around | My System Specs | | System Manufacturer/Model Number Gateway/NV7923u & NV79C52u Laptops OS windows 7 professional & ultimate 64bit laptops CPU 2.27 boost to 2.53 & 2.53 boost to 2.80 Motherboard Mobile Intel® HM55 Express Chipset ??? Memory 4GB Graphics Card Intel® Graphics Media Accelerator HD Sound Card realtek High-definition audio support Monitor(s) Displays 17.3 " HD 1600 x 900 Hard Drives hatachi Travelstar 5400 500GB & west digital 500GB Internet Speed 35MB fios |
12-15-2010
|
#7 | | Windows 7 Ult x64 - SP1/ Windows 8 Dev Build x64 |
Nice work Kari | My System Specs | | System Manufacturer/Model Number 76~1.4 OS Windows 7 Ult x64 - SP1/ Windows 8 Dev Build x64 CPU Intel Core i5-750 3.84GHz Motherboard Gigabyte GA-P55A-UD4P, SATA 6Gb/s USB 3, f14 Memory 8GB (2X4GB) DDR3 1600 Corsair Vengeance CL8 1.5v Graphics Card XFX HD 5770 1GB DDR5 Sound Card Realtek HD Audio ALC889 Integrated Chip Monitor(s) Displays 22" LCD Dell Screen Resolution 1680x1050 Keyboard Logitech Wave Mouse CM Sentinel PSU Corsair HX650W Case Cooler Master Storm Scout Cooling Corsair H80 2x12cm Noctua NF P12 , 2x14cm case fans Hard Drives Intel X25 M 120GB SSD,
Seagate Barracuda 500GB SATA2 7200rpm 32MB cache, Seagate Barracuda 1TB SATA2 7200rpm 32MB cache, Internet Speed Dismal Other Info eSATA ports,
External eSATA Seagate 500GB SATA2 7200rpm,
External USB WD 500GB |
12-18-2010
|
#8 | | Windows 7 Ultimate 64 bit |
thanks brother... i hope it wud work.. gonna give this a try soon... 
rep added btw... | My System Specs | | OS Windows 7 Ultimate 64 bit |
12-18-2010
|
#9 | | |
Thanks, geeks.
Cpu11, about you hoping it would work: the screenshots above are from actual install process, so I would like to say it works  As always in computing, I can only say that if you'll do exactly as instructed, it's going to work.
Kari | My System Specs | | System Manufacturer/Model Number HP ENVY 17-1150eg OS Windows 7 x64 Ultimate CPU 1.6 GHz Intel Core i7-720QM Processor Memory 6 GB Graphics Card ATI Mobility Radeon HD 5850 Graphics Sound Card Beats sound system with integrated subwoofer Monitor(s) Displays 17" laptop display, 22" LCD and 32" Full HD TV through HDMI Screen Resolution 1600*900, 1680*1050 and 1920*1080 Keyboard Logitech diNovo Media Desktop Laser (bluetooth) Mouse Logitech MX1000 Laser (Bluetooth) Hard Drives Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media Internet Speed 50/10 Mbps VDSL Other Info Windows 7 Ultimate Retail Full in English, additional Guest-user accounts in Finnish, German and Swedish (Working languages English & Swedish, Family language German, my own language, mother tongue, Finnish. I really need Ultimate to get to use Language Packs!) Linux - Install on Windows 7 Virtual Machine using VirtualBox problems? All times are GMT -5. The time now is 04:27 PM. |  |