.

VirtualBox: Kör XP/VISTA/7 i Ubuntu [karmic KOALA BIBLE # 25]

English Engelska (change)
  • Digg
  • Twitter
  • Technorati
  • del.icio.us
  • Facebook
  • MySpace
  • Reddit
  • StumbleUpon
  • LinkedIn
  • email

Lägg till Windows och andra system med VirtualBox

Ubuntu karmic koala

Här är hur man använder VirtualBox för att installera och tävla virtuella operativsystem som körs i Linux. Starta Windows, till exempel, ganska lik en annan ansökan, utan omstart krav. Hej, Windows även laddar snabbare än i verkligheten (inte att det är svårt.) Eller jämför alternativa operativsystem. Du kan lägga till så många du vill.

Dubbla eller flera uppstart är allt gott och väl, men för många vanliga uppgifter, du behöver bara växla mellan, säg, Karma och annat OS i några minuter och sedan gå tillbaka. Vilket slöseri med tid att starta om datorn, två gånger, för det.

Cue VirtualBox.

Set Up & Enhance Ubuntu 9,10 .. Karmic KOALA BIBLE

I enkla copy / paste steg .. från noll till hjälte.

Bläddra nedåt för hela serien index.

Vakna upp och lukta på Ubuntu! Hoppas det hjälper. The_guv

Enkelt uttryckt är detta bina-knäna. Vissa kan frestas att kalla det för hundens danglies eller Billy Bollocks (ingen av dem, för övrigt var Ubuntu utgåvor). Den ger näst none Windows virtualisering, och är öppen källkod. Sun of a Gun, det är en Sun Microsystem sak. Den stöder hölje mest OS'es.

Låt mig säga mer ..

Installera och kör gäst OS apps nästan sömlöst. Med Windows, starta upp, stänga av och starta om det på bråkdelen av den tid det tar normalt att lasta eller lossa i en dual boot system eller på egen hand (eftersom ett rack av dessa meningslösa tjänster inte får cranked upp). Med VB - och särskilt den nyligen lanserade VB3 - Du kan ju fråga sig varför i all världen någon skulle bry sig om dual boot längre, eller apps som vin (som i rättvisans namn har förbaskat hands i det förflutna och, faktiskt, fortsätter jag att använda alltför ).

Jag använder Virtualbox för att köra icke-Linux-apps som hittills har ingen lika, som Photoshop och Camtasia, och för att testa Linux webb och inställningar skrivbordet. Jag testade tidigt karmiska Koala Desktop release kandidater på den, till exempel, innan portning senare bygger på en partition.

Notera Dynamic Kernel Module Support (DKMS) som installeras tillsammans. Det är så att när vi uppgraderar till en ny Ubuntu kärna, VB är inte sned upp av den uppdaterade moduler.

För att installera virtualbox, därför gör vi så här: --

sudo aptitude install virtualbox-3.0 dkms

The latest version of VirtualBox is 3.0.12. I haven't tried, but you could try using sudo aptitude install virtualbox-3.0.12 dkms rather than sudo aptitude install virtualbox-3.0 dkms . Then again, most likely it's not yet available in Ubuntu's repositories.

Notes on Installing Virtualbox

Installation is dead simple, just follow the prompts.

Regarding the RAM allocation , it depends how much you've got to spare but, bear in mind, the RAM will only be allotted to the guest while it's running.

Re. Disc space , again, it depends how much you can afford, or need, to give.

For instance, of my Linux host's 4gB RAM, 128 mB video card and 500gB disc space, I allocate 512 mB, 36mB and 30gB respectively to guests.

One config screen will tell you a new user group is being set up, called "vboxusers" and, of course, you need to be a member of that group. No worries ..

When installation has finished, pop open a Terminal and type:-

sudo usermod -G vboxusers -a username

.. where username is your Linux username. So now you are a member of the Virtualbox group.

To start Virtualbox, goto Applications > System Tools > Sun Virtualbox

Installing Guest Operating Systems with Virtualbox

Once installed, open the app and click on "New", and follow the instructions to install your OS, just as you would normally.

F'rinstance, if it's Windows XP, you can use my Perfect Windows PC Install to ensure security.

Restore Your Old Virtual Machines in Virtualbox

If you're reinstalling VB, you needn't bother reinstalling operating systems if you don't want to. Just use the machine states from a previous Virtualbox installation, and save serious time.

Check out this cute-as tip:-

Restore Old Windows XP/Vista/7 in New VirtualBox Install

Installing Guest Additions

Guest Additions improve the performance of the guest OS, in a bunch of ways. Say, you want full screen? Course you do! Install Guest Additions.

To install them open Virtualbox, then one of the guest operating systems. The virtual OS dialogue appears:-

  • In the top left menu, goto Devices > Mount CD/DVD-ROM > choose your disc drive
  • Goto Devices > Mount CD/DVD-ROM > CD/DVD-ROM Image...
  • Up pops the Virtual Media Manager, possibly already displaying the file VBoxGuestAdditions.iso . If not, find it in somewhere like /usr/share/virtualbox/VBoxGuestAdditions.iso
  • Select the file and it's mounted on your guest OS, triggering the image's autostart
  • Follow the setup procedure

Creating Shared Folders

This is handy, for instance, if you want to create an image in Photoshop (via Virtualbox/Windows), before adding it to your local Linux-based web files.

If your guest Windows system is running:-

  • Goto Devices > Shared Folders > press the 'Insert' button or click on the '+' icon
  • Type the folder path or browse for it
  • There are options for 'read only' and whether you want the share to be permanent or temporary

If the guest OS isn't running:-

Open Virtualbox > click on Settings > click on Shared Folders .. and follow the above procedure

Now, use your guest as normally you would, were it a primary system, and switch back and forth between the host Linux and however many guest systems.


If you liked that ...
  • Set Up Previous VirtualBox Machines in Minutes

    Problem: After a fresh install of VirtualBox, perhaps in a new Linux installation, how can you seamlessly restore previous virtual operating systems, working as before? Here is how .. This works for VirtualBox [...]
  • How to Disable Windows XP Services

    Microsoft is well-known for bloating it's operating systems with a bunch of, well, crap that noone seems to need. Then there are all those functions that someone needs, only not you! Called services, these [...]
  • Get the Damn Windows Key Working

    So you've got Linux Ubuntu and wonder how to have that Windows key do something useful, or just do anything. Here's how to set it up. Let's make that Windows key do something useful, (other than just openly [...]
  • Perfect Windows PC Install

    Want a fast, cheap-as-chips, bullet-proof dream machine? Here's how... The Perfect Windows PC Install may involve a bin, buying a Mac instead and using that. Else installing Linux. Then again, for many reasons a [...]
  • Dividing the Hard Drive: Food for Thought

    Pre-OS-install, mapping out data/system demands for optimal disk segmentation saves headaches down the road. Here's a heads-up to help. You don't have to, but it is a mighty good idea to put pen to paper, [...]
  • INTRODUCTION: The 25-Part Ubuntu KARMIC KOALA BIBLE

    Detailing every aspect over 25 parts, this reference helps you to set up, enhance and use the ultimate installation of Ubuntu's superb new operating system. Stepped out in easy-read copy/paste detail, these how-to [...]
... maybe you'll like these?

.