Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Operating Systems

Reply
 
LinkBack Thread Tools
Old 09-09-08   #1 (permalink)
4.0ghz
 
error10's Avatar
 
intel nvidia

Join Date: Sep 2008
Location: Manchester, New Hampshire
Posts: 9,737
Blog Entries: 4

Rep: 1166 error10 is a starerror10 is a starerror10 is a starerror10 is a starerror10 is a starerror10 is a starerror10 is a starerror10 is a starerror10 is a star
Unique Rep: 708
Folding Team Rank: 51
Hardware Reviews: 1
Trader Rating: 45
Cool Forget dual-booting! Virtualization 101

So let's say you want to try out this Linux thing people keep talking about but you don't want to commit to anything and you certainly don't want to risk losing all your important stuff trying to set up a dual boot system. Or maybe you want to run XP, Vista, Server 2003 and Server 2008 all at the same time because you're completely weird (like the rest of us).

I was completely shocked the other day when a very established user on the OCN forum said the other day that he'd never heard of virtualization, despite there being a setting for it right there in your BIOS. Virtualization is simply setting aside some of the resources of your computer (CPU, RAM, hard drive etc.) and running another operating system on them as if it were a complete physical machine. The virtualized OS is called the guest and the OS that's actually running directly on your metal is called the host.

Among other things you can do is run Linux inside a window on your Windows installation so you can try it out without disturbing your extreme gaming setup or repartitioning your disk or any of that lunacy. I use it on the rare occasions I have to run Windows on my native Linux setup. But you could run just about anything you want in the virtual machine. Some people have even run Mac OS X in a virtual machine, but I don't know anything about that....

Before you get started you should make some changes in your BIOS. For Intel desktops you should disable C1E and EIST (SpeedStep), for AMD you should disable Cool'n'Quiet. (Exception: if you're using a laptop leave these enabled in the BIOS and disable them from within your OS when you plan to run virtual machines. This will help save your battery life. Re-enable them when you're finished running your virtual machine.) For both you should enable virtualization (sometimes called "Vanderpool" in old BIOSes) if you disabled it due to some bad advice. You won't be able to run 64-bit guest OSes without it, and 32-bit guests could run slow.

Now there are several programs which allow you to run virtual machines, like VMware, QEMU, and some others. Linux has the most virtualization choices available so if you aren't a gamer you should consider using a Linux host and running Windows in a virtual machine. If you're starting out with virtualization I recommend VirtualBox. It runs on Windows, Mac OS X and Linux hosts so everyone can use it the same way. And unlike VMware it's free. I'll use VirtualBox to illustrate in the rest of this post.

You have to have a 64-bit CPU and host OS to run a 64-bit guest OS. Otherwise you can only run 32-bit guests. Download the AMD64 version of VirtualBox if you have a 64-bit CPU and host OS, otherwise download the i386 version.

After you install VirtualBox and start it up you'll get the VirtualBox window like this. Only you won't have any virtual machines listed. So click on New and we'll create one. It's a cute little wizard and I hope I don't have to explain "Back" and "Next" to you.



Choose a name for your new virtual machine and choose what type of OS it is (e.g. Red Hat, Ubuntu, Xandros, Windows Vista, etc.). If you don't see it listed, pick whatever seems closest. Then choose how much RAM you want the virtual machine to get. Aren't you glad you upgraded to 8GB?

Next you'll set up a virtual hard drive image. Click New and you'll get a second wizard to set up a virtual hard drive. Choose Dynamically expanding image, and choose how much space you want the virtual drive to use. I made an 8GB hard drive in this example. That's plenty enough to try out Ubuntu though if you're going to seriously use it you might want more space. Good thing 1TB drives are cheap now.



Then you'll go back to the first wizard and finish it. Your new virtual machine will be in the listing as "Powered off." Now I hope you already downloaded the installation media. Don't bother burning it, we'll just tell VirtualBox to use the ISO image directly. Just go ahead and click Start and VirtualBox will ask you to provide the installation media from a CD/DVD or an ISO image (or even a floppy disk if you're old-school enough to have one of those).



Then your OS will start installing and pretty soon you'll have a fully virtualized operating system running right within your existing OS. Once the installation is complete be sure to install the VirtualBox Guest Additions (it's on the Devices menu while the OS is running). This will improve the performance of the guest OS.

This should be enough to get you started with running virtual machines. Be sure to check out the VirtualBox Help menu and the user manual for lots more information, including setting up the Shared Folders feature to move files between your virtual machine and your host OS which you're sure to need sooner or later.

And yes, if you have enough RAM and overclocked your CPU far enough, you really can run XP, Vista, Server 2003 and Server 2008 all at the same time on the same box. Enjoy!
Attached Thumbnails
Forget dual-booting! Virtualization 101-screenshot-sun-xvm-virtualbox.png   Forget dual-booting! Virtualization 101-screenshot-create-new-virtual-disk.png   Forget dual-booting! Virtualization 101-screenshot-first-run-wizard.png  

System: Underground
CPU
Core i7 920
Motherboard
ASUS P6T6 WS Revolution
Memory
3x2GB Corsair Dominator DDR3-1600
Graphics Card
EVGA 9800 GT SC 512MB
Hard Drive
4x MBA3147RC RAID5
Sound Card
Intel ICH10 HD Audio / ADI Codec
Power Supply
BFG ES-800
Case
Thermaltake Armor VA8003BWS
CPU cooling
TRUE Lapped + Scythe Slip Stream 1900
GPU cooling
Stock
OS
Fedora 10 x86_64
Monitor
HP w19b
3 Million+ Folding at Home points

Last edited by error10 : 09-24-08 at 08:58 PM
error10 is offline I fold for Overclock.net Overclocked Account error10's Gallery   Reply With Quote
Old 09-09-08   #2 (permalink)
Case Modder
 
Ducky's Avatar
 
intel nvidia

Join Date: Feb 2007
Location: Toronto, Canada
Posts: 2,671

Rep: 161 Ducky is acknowledged by manyDucky is acknowledged by many
Unique Rep: 139
Folding Team Rank: 685
Hardware Reviews: 2
Trader Rating: 4
Default

Something new I had no idea about, rep+ and a great read!

System: Current Rig
CPU
Core2Quad Q6600
Motherboard
EVGA 750i FTW
Memory
4gig OCZ SLI Edition PC28500
Graphics Card
EVGA 9800GTX+
Hard Drive
Seagate 500gb
Sound Card
Asux Xonar DX
Power Supply
Corsair 620HX
Case
.. GPU doesn't fit, it's on my desk.
CPU cooling
GeminII
OS
XP Home
Monitor
LG 19" LCD, Samsung 17" CRT
Ducky is offline I fold for Overclock.net   Reply With Quote
Old 09-09-08   #3 (permalink)
4.0ghz
 
error10's Avatar
 
intel nvidia

Join Date: Sep 2008
Location: Manchester, New Hampshire
Posts: 9,737
Blog Entries: 4

Rep: 1166 error10 is a starerror10 is a starerror10 is a starerror10 is a starerror10 is a starerror10 is a starerror10 is a starerror10 is a starerror10 is a star
Unique Rep: 708
Folding Team Rank: 51
Hardware Reviews: 1
Trader Rating: 45
Cool

I figure running virtual machines is a more interesting way to stress your CPU than Prime95...

System: Underground
CPU
Core i7 920
Motherboard
ASUS P6T6 WS Revolution
Memory
3x2GB Corsair Dominator DDR3-1600
Graphics Card
EVGA 9800 GT SC 512MB
Hard Drive
4x MBA3147RC RAID5
Sound Card
Intel ICH10 HD Audio / ADI Codec
Power Supply
BFG ES-800
Case
Thermaltake Armor VA8003BWS
CPU cooling
TRUE Lapped + Scythe Slip Stream 1900
GPU cooling
Stock
OS
Fedora 10 x86_64
Monitor
HP w19b
3 Million+ Folding at Home points
error10 is offline I fold for Overclock.net Overclocked Account error10's Gallery   Reply With Quote
Old 09-09-08   #4 (permalink)
Audiophile
 
F3t1sh's Avatar
 
intel ati

Join Date: Oct 2006
Location: Gatineau, Quebec
Posts: 893
Blog Entries: 4

Rep: 40 F3t1sh is acknowledged by some
Unique Rep: 29
Folding Team Rank: 1002
Hardware Reviews: 1
Trader Rating: 0
Default

Nice guide but i keep getting the same error:

__________________



31D8M4a1r1k



..:: My Quad ::..

System: lolz
CPU
Q6600 GO @ 3.7 1.48v (412*9)
Motherboard
Abit IP35 Pro
Memory
Crucial Ballistix 4x1GB
Graphics Card
HIS Radeon 3870x2
Hard Drive
RAID0 - Seagate Barracuda 160GB
Sound Card
AuzenTech Auzen Prelude
Power Supply
GameXStream 700W
Case
Ultra Aluminus
CPU cooling
Fuzion
OS
Vista HP 64Bit
Monitor
Samsung 225BW
F3t1sh is offline I fold for Overclock.net F3t1sh's Gallery   Reply With Quote
Old 09-09-08   #5 (permalink)
4.0ghz
 
error10's Avatar
 
intel nvidia

Join Date: Sep 2008
Location: Manchester, New Hampshire
Posts: 9,737
Blog Entries: 4

Rep: 1166 error10 is a starerror10 is a starerror10 is a starerror10 is a starerror10 is a starerror10 is a starerror10 is a starerror10 is a starerror10 is a star
Unique Rep: 708
Folding Team Rank: 51
Hardware Reviews: 1
Trader Rating: 45
Default

Quote:
Originally Posted by F3t1sh View Post
Nice guide but i keep getting the same error:
Did you try the 2.0.0 version?

System: Underground
CPU
Core i7 920
Motherboard
ASUS P6T6 WS Revolution
Memory
3x2GB Corsair Dominator DDR3-1600
Graphics Card
EVGA 9800 GT SC 512MB
Hard Drive
4x MBA3147RC RAID5
Sound Card
Intel ICH10 HD Audio / ADI Codec
Power Supply
BFG ES-800
Case
Thermaltake Armor VA8003BWS
CPU cooling
TRUE Lapped + Scythe Slip Stream 1900
GPU cooling
Stock
OS
Fedora 10 x86_64
Monitor
HP w19b
3 Million+ Folding at Home points
error10 is offline I fold for Overclock.net Overclocked Account error10's Gallery   Reply With Quote
Old 09-09-08   #6 (permalink)
Audiophile
 
F3t1sh's Avatar
 
intel ati

Join Date: Oct 2006
Location: Gatineau, Quebec
Posts: 893
Blog Entries: 4

Rep: 40 F3t1sh is acknowledged by some
Unique Rep: 29
Folding Team Rank: 1002
Hardware Reviews: 1
Trader Rating: 0
Default

Quote:
Originally Posted by error10 View Post
Did you try the 2.0.0 version?
Yeah, same error...
__________________



31D8M4a1r1k



..:: My Quad ::..

System: lolz
CPU
Q6600 GO @ 3.7 1.48v (412*9)
Motherboard
Abit IP35 Pro
Memory
Crucial Ballistix 4x1GB
Graphics Card
HIS Radeon 3870x2
Hard Drive
RAID0 - Seagate Barracuda 160GB
Sound Card
AuzenTech Auzen Prelude
Power Supply
GameXStream 700W
Case
Ultra Aluminus
CPU cooling
Fuzion
OS
Vista HP 64Bit
Monitor
Samsung 225BW
F3t1sh is offline I fold for Overclock.net F3t1sh's Gallery   Reply With Quote
Old 09-09-08   #7 (permalink)
4.0ghz
 
error10's Avatar
 
intel nvidia

Join Date: Sep 2008
Location: Manchester, New Hampshire
Posts: 9,737
Blog Entries: 4

Rep: 1166 error10 is a starerror10 is a starerror10 is a starerror10 is a starerror10 is a starerror10 is a starerror10 is a starerror10 is a starerror10 is a star
Unique Rep: 708
Folding Team Rank: 51
Hardware Reviews: 1
Trader Rating: 45
Default

Quote:
Originally Posted by F3t1sh View Post
Yeah, same error...
I dunno, it's Windows. Maybe take the install log over to the VirtualBox forums where the real experts hang out. Or post it here, I don't care, but I probably can't answer it. I use Linux, where stuff either works, or at least tries to tell you why it doesn't

System: Underground
CPU
Core i7 920
Motherboard
ASUS P6T6 WS Revolution
Memory
3x2GB Corsair Dominator DDR3-1600
Graphics Card
EVGA 9800 GT SC 512MB
Hard Drive
4x MBA3147RC RAID5
Sound Card
Intel ICH10 HD Audio / ADI Codec
Power Supply
BFG ES-800
Case
Thermaltake Armor VA8003BWS
CPU cooling
TRUE Lapped + Scythe Slip Stream 1900
GPU cooling
Stock
OS
Fedora 10 x86_64
Monitor
HP w19b
3 Million+ Folding at Home points
error10 is offline I fold for Overclock.net Overclocked Account error10's Gallery   Reply With Quote
Old 09-09-08   #8 (permalink)
Windows Wrangler
 
amd nvidia

Join Date: Jan 2007
Location: Philly, PA
Posts: 161

Rep: 6 sfdxsm Unknown
Unique Rep: 6
Trader Rating: 0
Default

I was using this on Windows to try out various Linux builds and attempting to do the Ubuntu/Windows merge in reverse mode with wubi....still in the works lol.

System: AM2
CPU
Athlon 64 X2 3800+ Windsor (65w)
Motherboard
Abit NForce4 Ultra KN9
Memory
4gb OCZ Platnium DDR2 800
Graphics Card
BFG 9800GTX OC 512MB DDR3
Hard Drive
WDC 120gb SATA3g + Seagate PATA 300gb/80gb
Sound Card
OnBoard 8 Channel Realtek
Power Supply
Antec SmartPower 2.0 500w
Case
AeroCool AeroEngine 2.0
OS
Windows Vista Ultimate 64bit / Linux Mint 6 -64bit
Monitor
Sony 17 LCD
sfdxsm is offline sfdxsm's Gallery   Reply With Quote
Old 09-10-08   #9 (permalink)
4.0ghz
 
error10's Avatar
 
intel nvidia

Join Date: Sep 2008
Location: Manchester, New Hampshire
Posts: 9,737
Blog Entries: 4

Rep: 1166 error10 is a starerror10 is a starerror10 is a starerror10 is a starerror10 is a starerror10 is a starerror10 is a starerror10 is a starerror10 is a star
Unique Rep: 708
Folding Team Rank: 51
Hardware Reviews: 1
Trader Rating: 45
Default

Quote:
Originally Posted by sfdxsm View Post
I was using this on Windows to try out various Linux builds and attempting to do the Ubuntu/Windows merge in reverse mode with wubi....still in the works lol.
I don't trust wubi yet. And anyway it's a dual-boot setup which means rebooting, and virtualization gets you away from having to reboot.

System: Underground
CPU
Core i7 920
Motherboard
ASUS P6T6 WS Revolution
Memory
3x2GB Corsair Dominator DDR3-1600
Graphics Card
EVGA 9800 GT SC 512MB
Hard Drive
4x MBA3147RC RAID5
Sound Card
Intel ICH10 HD Audio / ADI Codec
Power Supply
BFG ES-800
Case
Thermaltake Armor VA8003BWS
CPU cooling
TRUE Lapped + Scythe Slip Stream 1900
GPU cooling
Stock
OS
Fedora 10 x86_64
Monitor
HP w19b
3 Million+ Folding at Home points
error10 is offline I fold for Overclock.net Overclocked Account error10's Gallery   Reply With Quote
Old 09-10-08   #10 (permalink)
Hate console ports on PC
 
Ecchi-BANZAII!!!'s Avatar
 
intel nvidia

Join Date: May 2007
Location: Gensokyo
Posts: 7,488

Rep: 261 Ecchi-BANZAII!!! is a proven memberEcchi-BANZAII!!! is a proven memberEcchi-BANZAII!!! is a proven member
Unique Rep: 200
Trader Rating: 0
Default

What's wrong with VMWare/PC2007?
__________________
   __  
 /'´   ヽ     Oh and as for the Man-Erin i was tempted to post that also lol. For some reason i want to call it "Marin"
●lカノノル ピノ●     It has cost $60 million to produce Gran Turismo 5                     ತ_ತ
 从 ゚ ヮ゚ノソ         Don't you love when someone
⊂ [] 二[]つ        deletes your post without noticing you.     
  /  V \          You end up searching for that post in vain and anger...
 /____ \           I hate Autotunes
  (/ (/             Smiley of the year:

System: Server-BANZAII!!!
CPU
P4 HT 524 EMT64 G1 @ 4.868GHz
Motherboard
ASUS Striker II Formula A2
Memory
1x1GB Dominators 1066Mhz
Graphics Card
XFX 8600GT w/ Zalman VF700-CU
Hard Drive
Samsung Spinpoint 400GB+1TB
Sound Card
Supreme FX II
Power Supply
Corsair HX450W
Case
CMS Stacker STC-T01
CPU cooling
Noctua NH-U12P w/ Nexus 120mm
GPU cooling
Zalman VF700-CU
OS
Windows 7 RC x64
Monitor
Samsung 245B 24'
Ecchi-BANZAII!!! is offline Overclocked Account Ecchi-BANZAII!!!'s Gallery   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -4. The time now is 10:50 PM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.23517 seconds with 9 queries