This tutorial will take you every single step of the way through installing Ubuntu Studio using VirtualBox for Windows. In other words, even your parents should be able to follow along.
1. Who this tutorial is for
2. Background
3. Setting up VirtualBox for Ubuntu
4. Installing Ubuntu Studio
5. Tidying up (adding sound and a CD/DVD-ROM)
This tutorial is for anyone with a PC running Windows (Windows 2000 SP3, XP or Server 2003) who is curious about Linux - specifically Ubuntu Studio, and has about an hour to kill (not including the time it takes to download Ubuntu). The great thing about installing Ubuntu Studio using VirtualBox is that if you decide you don’t like it, you can uninstall VirtualBox, delete its files and folders, and its like it never happened. You don’t have to worry about partitioning your hard drive (which when done incorrectly can delete your valuable files). That, and all of the software involved is entirely free.
The steps and screenshots used for this tutorial are specific to VirtualBox 1.3.8 and Windows XP SP2. With that said, they will be nearly identical if you have 2000, XP SP1 etc.
Ubuntu Studio is a free, open source Linux-based operating system. It’s referred to as the “multimedia creation flavor of Ubuntu”. Ubuntu Studio is aimed at the GNU/Linux audio, video and graphic enthusiast as well as professional. Their aim is to make it more accessible for new users to get into the tools that GNU/Linux has to offer for multimedia creation/production. For more information on Ubuntu Studio, visit https://wiki.ubuntu.com/UbuntuStudio.
VirtualBox is a general-purpose full virtualizer for x86 hardware. Targeted at server, desktop and embedded use, it is now the only professional-quality virtualization solution that is also Open Source Software. Download VirtualBox here.
Before you start - make sure to download Ubuntu from http://mirror.imbrandon.com/ubuntustudio/7.04/. The file you’ll want to download (as of 5/13/07) is ubuntustudio-7.04-alternate-i386.iso (use the bittorrent link if possible to help the mirror conserve bandwidth). Also, make sure VirtualBox is installed.
Setting up VirtualBox for Ubuntu
- During the installation of VirtualBox, don’t be surprised if you get a few “are you sure you want to do this” messages. Just click Continue Anyway when they pop up.
- Launch VirtualBox and click the New button.
- The Wizard will open - click Next to continue.
- Give your new virtual machine a name - it doesn’t matter what you call it, but something descriptive is a good idea. From the OS Type select Linux 2.6. Click Next to continue.
- Select the amount of RAM you want to dedicate to Ubuntu Studio. The amount you select should be at least 128MB, but you probably won’t want to select more than half of your actual PC’s RAM. If you have 512MB of RAM, select 256MB (give or take) for your virutal machine. Click Next to continue.
- Click the New… button to create a virtual hard drive.
- Click Next…
- Review the differences between a dynamically expanding image and a fixed-size image. Dynamically expanding image is a good choice. Again, click Next to continue.
- Give the Image File Name a name - again, it doesn’t matter what you name it, but something descriptive is always good. Then use the slider to determine how large to make your virtual hard drive. VirtualBox suggests at least 8GB, but you can get away with less (but going below 2 or 3GB isn’t a great idea). When you’ve selected an amount, click Next.
- Review the settings and click Finish when you’re ready.
- Now that your virtual hard disk is set up, click Next to continue.
- The wizard is now done. Click Finish.
- Back in the main VirtualBox window, click Settings
- Select the CD/DVD-ROM entry from the left navigation. Place a check in the box labeled Mount CD/DVD Drive, and then select ISO Image File.
- A Virtual Disk Manager will appear. Click the Add button.
- Navigate to your Ubuntu Studio ISO file, select it, and then click Open
- Once the ISO has been added, click Select.
- Your CD/DVD-ROM screen should look similar to the screenshot below. Click OK when you’re ready.
- Now it’s time to install Ubuntu Studio. Click the Start button to begin.
- You’ll probably be given a ‘warning’ that explains how to change the cursor and keyboard focus from the virtual machine to Windows. By default, use the right control (ctrl) key. Click OK.
- Watch as VirtualBox loads Ubuntu Studio…
- Click inside the VirtualBox window, make sure that Install Ubuntu Studio is highlighted, and hit Enter on your keyboard.
- Use the up and down arrow keys on your keyboard to select your language, and hit Enter when you’ve made your choice.
- Again, use the up and down arrow keys to select your Country, and hit Enter to continue.
- Use the left and right arrow keys to select Yes to auto-detect your keyboard layout. As always, hit Enter to continue.
- You’ll be prompted to press one of several keys on your keyboard. Click the appropriate key.
- Similar to the previous step, click the appropriate key on your keyboard.
- Use the left and right arrow keys to select Yes or No regarding the keys on your keyboard. Hint: if you’re using a US keyboard, select No. You’ll be prompted to repeat this step with various “keys” a number of times. Again, if you’re using a US keyboard, select No every time.
- Assuming Ubuntu detected the correct keyboard, make sure Continue is selected and hit Enter.
- Watch as Ubuntu detects your hardware..
- and loads additional components…
- and configures your network.
- Now enter a Hostname for your virtual machine. As usual, a short but descriptive name is a good idea.
- Once again Ubuntu will detect your hardware.
- Then it will start the partitioner.
- Select Guided - use entire disk and hit Enter.
- Hit Enter again.
- Watch as the partitioning finishes up.
- Select Yes and then hit - you guessed it - Enter.
- Your newly created virtual partitions will be formatted.
- Use the up and down arrow keys to select your time zone. Hit Enter when you’ve selected the appropriate one.
- Select Yes, hit Enter.
- Enter your name and hit Enter.
- Select a user name. This is the login/user name that you’ll use in Ubuntu. Note that user names can contain numbers (though it can’t start with one), and all letters must be lower case.
- Enter the password you want to use to login to Ubuntu.
- Re-enter the password.
- Ubuntu Studio will begin installing the base system. Go grab a cup of coffee. This will take a while.
- Review the packages that Ubuntu Studio can install.
- Select the packages you wish to have installed. Use the up and down arrow keys to move through the list, and use the Space Bar to select a package. Hit Enter after you’ve selected the packages you want installed.
- Grab yourself another cup of coffee. Again, this can take quite a while, but it depends on how many of the software packages you opted to install.
- Now you’ll select the resolutions you want available to Ubuntu studio.
- Use the up and down arrow keys to navigate through the list, and the Space Bar to select them. Keep in mind - if your video card and monitor don’t support a specific resolution, don’t select it.
- Watch as more software is installed.
- And finally, it’s done. Ignore the message about removing media from your CD-ROM, but if you have a floppy in your floppy drive, take it out. Select Continue and hit Enter.
- Watch as the pretty Ubuntu Studio boot screen loads.
- Enter your user name and hit Enter.
- Enter your password and hit Enter.
- To enter Full Screen mode, select VM from the top menu, and then Fullscreen Mode from the drop-down list. The first time you enter fullscreen mode, you’ll be given a ‘warning’ that explains how to exit and return to ‘windowed’ view.
- Ta-da! Have fun with Ubuntu Studio!

Tidying up (adding sound and a CD/DVD-ROM)
- After you’ve powered Ubuntu Studio off, select Settings from the top menu.
- Select the Audio entry from the left navigation. Place a check in the box labeled Enable Audio, and choose Windows DirectSound from the drop-down list.
- Next select CD/DVD-ROM from the left navigation, and change the Mount CD/DVD Drive from ISO Image File to Host CD/DVD Drive.
- The next time you start Ubuntu Studio, sound should work and you’ll have access to your CD/DVD-ROM.



















































































{ 17 trackbacks }
{ 35 comments… read them below or add one }
great walkthrough.
i assume VirtualBox will install ubuntu 7.04 and not only the studio version…
i will give this a try.
noobie -
Yes, VirtualBox will work just fine w/ Ubuntu 7.04 (Feisty Fawn). The step will be different because Feisty is a “Live CD”, but it’s very straight forward.
@ Ross
do you know if there is a walkthrough for that or maybe write down the steps?
I assume there’s little chance this virtualized Ubuntu Studio will use the native drivers of my M-Audio sound card?
What about detecting USB peripherals like TV cards, how well is that supported in Ubuntu Studio / Virtualbox?
With Virtualbox are we able to have the 3D acceleration enabled on Ubuntu?
AWSOME, it worked really well. that’s all there is to say it works and this really helped
Linux Nut -
Not sure - I don’t have an external TV/USB peripheral to try out. I suspect it will work as USB is supported via VirtualBox.
Inoxllor,
Sadly, no. Beryl/Compiz will not work w/ VirtualBox, Parallels or VMWare.
Hope this helps -
Ross
If you want to install Ubuntu 7.04 be sure to download the alternate desktop cd: ubuntu-7.04-alternate-i386.iso
This gives you the same text oriented menu as in Ubuntu Studio. There are a few extra steps such as language selection.
Hi.
I installed this in hopes of finding out how Ubuntu Studio works before installing a real copy of it. It was just so horribly slow I lost my patience and shut it down in the middle of the program updates after the install was complete (It didn’t move anywhere in 15 minutes). Now it wants me to run pkgd or something similar, but it wants administrative rights, which my own account doesn’t have. Root password doesn’t match the one I put as my own password, even if the program updater accepted my own password when it prompted for one.
How to fix this problem? I think I’m going to need the root password sooner or later anyway…
Oops, nevermind my earlier problem. All the necessary information was provided in the help menu.
But it’s still going so slowly, like trying to run WinXP on a 386. I’ll have to make test runs on a newer computer.
For some reason my networking wouldn’t work until I used the generic kernel instead of the low latency one. If anyone else has this trouble, press escape when Grub is loading and select the generic kernel. Everything else worked like a charm, great tutorial.
Sammie - this is Ubuntu through an emulator running on XP. Which means you’re not only running XP, but you’re running ANOTHER OS on top of it. Yeah, it’s going to be slower. You can’t expect full speed functionality when running on emulation! Heck, you can’t even expect full functionality when running a LiveCD, since it has to load everything from CD.
If you really want to know how well Ubuntu would work for you… I guess the only realistic way of knowing is by installing it.
Get the GParted LiveCD, make a small (10GB) partition, and install ubuntu on it (make sure you keep windows in the boot list - it should be automatic). Then, you can boot into Ubuntu and try it out. If you don’t like it… you can try installing something else.
Meh.
Hey folks!
Great Tut :)!
But is there some way to reach the internet from the virtualbox? I have a dsl internet subscription and i couldnt use it using vbox. How can i fix it? Or vitualbox doesnt allows you to use the internet?
HELP!
Thx in advance!
now that i got this far
can someone kindly explian
how do i get two way ip traffic
between guest and host
great tutorial
tom
Very complete walkthrough. I got my virtual machine into full screen and forgot how to get out. Was able to find out by looking at your walkthrough.
hello i tried the walkthrough but for a strange reason when i chose to install ubunu it came up with a grey dash in the top left hand corner, with a black backround does anyone have any ideas?
Same thing happens to me. I get a grey dash and black window around it…. Then It just sits…
If i were to use this to install Linux upon my computer, how high are the risks of me losing data(music, docs)or even my entire computer because i didn’t partition right?
Nice walkthrough for nOOB. Anyways, I tried installing Ubuntu Ultimate on Virtual box. Installation was smooth. But As soon as the installation is complete and its asking me to restart Ubuntu and then enter my login/password. It just keeps going back to the login/password window. Did I miss something? Ive done this installation three times. I still get the same thing.
Great walkthrough!
However, I’m not able to install any additional software or make changes to the configuration as I don’t know the root password. Is it asked during the installation? What am I doing wrong?
Great tutorial! I’m now using Ubuntu Studio 7.04 and updating it via VirtualBox.
Can I access my NTFS partitions in XP in Ubuntu Studio, so that I can play my videos/mp3’s?
pancho -
My immediate and absolutely not helpful answer is “I think so”. If it isn’t immediately obvious how to do it, shoot me an email.
Ross
I am trying to install the NVIDIA videocard drivers, but it says that I have to login as root. I don’t remember being asked a root password in the installation process, and I also tried to put the password that I entered during the installation process, but it wouldn’t let me! I tried to use the “su” command in the terminal, then entered my password, but to no avail. I know this sounds silly, but what password should I put?
Thanks!
pancho - can you use the sudo command? your default user probably isn’t in the group that can use su, but is in the sudo group. I can’t remember it’s been a while since I’ve last installed Ubuntu Studio, and I don’t remember if this is the same in Ubuntu. Anyway - try sudo. It should work. Once it does, you can add yourself to the su group.
And I could be totally wrong on this one, but I don’t think you’ll be able to do what you want w/ the nvidia drivers. If you’re using Ubuntu Studio inside Virtualbox, you won’t be able to use things like Compiz Fusion. 3D acceleration in virtual environments are coming along, but they’re not there yet. Parallels and VMWare Fusion (both $, but w/ free demos) both support some 3d accel in Windows.
Like a couple of other on here, when I start the installation in virtualbox, after the initial ubuntu screen and my selection to install, I just get a black screen with a cursor top left. I’ve tried two or three times and the happens each time. I’m on Vista, so I wonder if it’s that that is causing theis?
grub / lilo troubles with ubuntustudio install in virtualbox, ubuntu 7.10 as host system, using a fixed-size virtual harddisk of 16G. Everything seemed to work ok until it wanted to install grub; lilo didn’t work neither, any tips?
tutorial ubuntu
Great walk-through. This works with the 8.04 release as well.
One note: The article should have included the fact that you need to go into your Virtual Box settings->Advanced and Enable PAE. Otherwise you may get a boot error after initial install.
I can use linux in virtual box but my computer wont boot dvd even with a force boot floppy any ideas?
Oh i have xp service pack 2 if it helps?
Just two words: thank you!
I installed Ubuntu 7.10 on Virtual Box (on Vista) but the resolution goes only up to 800×600. Is this a compatibility issue on 7.10’s part or is it something else? Will 7.04 go fullscreen? Thanks.
Hi,
Thanks for the wonderful walkthrough. I could get vbox and ubuntu working together (needless to say was struggling to get it working earlier). However, I did not get the beautiful gui (login screen)on the screen, I just get a text version askign for logina nd password. Waht settings I need to select?
Thanks,
Shital
Thanks, its a very useful tutorial. Thanks again
when i do the formatting of the partition. i get the error that there is low memory, close any applications and then continue
HELP!!
Leave a Comment