ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

How-To Install Ubuntu, Steam & TF2 under VirtualBox on Windows to get Linux Tux Promo

Updated on February 18, 2013
Tux Linux promotional TF2 item
Tux Linux promotional TF2 item

So Steam is finally on Linux, Valve has announced that if you launch Team Fortress 2 between February 14th 2013 and March 1st 2013 on Linux you will receive a unique Linux Tux in-game TF2 item.

If you are interested in getting Tux but do not want to install a new operating system then here is a how-to guide for you. Using VirtualBox it is possible to safely install Ubuntu inside your current Windows install and run Ubuntu in a virtual environment. To save time we are going to install a pre-made image of Ubuntu 12.10. If you wish can also use VirtualBox to install Linux from an installation iso, it is good practice, but takes more time and is beyond the scope of this guide. After installing everything we will run TF2 to acquire the Linux Tux promotional item, unfortunately it appears that TF2 doesn’t appear work to under VirtualBox for the moment, however you can still obtain Tux by launching TF2 for a few minutes before it crashes.

Update: Excellent video tutorial of this guide has been created by failureandersenboi, big thanks to him for recording all the steps in an easy to follow video. A couple of notes before you watch, LXDE installation is optional and it maybe required to properly rename the .gcf files to make each first letter of each word capital. Refer to the text version of this manual for more information about each step, or check the comments if you run into problems. Thanks again to failureandersenboi for making this video.

Step 1: Get Ubuntu. Go to http://virtualboxes.org/images/ubuntu/ and download Ubuntu 12.10 x86 VirtualBox Image, the file should be called: ubuntu-12.10-desktop-i386.7z you will require 7zip or WinRAR to uncompress the 7z archive file. The VirtualBox image is 613 MB compressed and 3.0 GB uncompressed. After you have downloaded the file, uncompress it somewhere. It should contain 2 files: ubuntu-12.10-desktop-i386.vbox & ubuntu-12.10-desktop-i386.vdi, move them in to a folder somewhere on your hard drive and remember the location. You can also remove the compressed 7z archive, it is no longer required.

Step 2: Get VirtualBox. Go to https://www.virtualbox.org/wiki/Downloads and download VirtualBox, click [x86/amd64] under VirtualBox 4.2.6 for Windows hosts. In my case the file is “VirtualBox-4.2.6-82870-Win.exe”, after the download is complete simply start the install and follow the default install procedure. You do not need to change anything, just click next during the installation. At some point during the Network Interfaces install you will get a few pop-ups about certain devices that want to be installed, just click install on all of them.

Step 3: Configure VirtualBox. Click New, a Create Virtual Machine window will show up. Fill out the first screen based on the screenshot below and click Next.

I only have 3GB of RAM so I will only offer the virtual machine 1.5GB, but if you can spare more it would be beneficial, do not go past the red zone or your main operating system may run out of ram.

For Hard Drive, select Use an existing virtual hard drive file and locate the .vdi file you downloaded/ uncompressed earlier and click Create.

Right click on Ubuntu 12.10 and select settings. Under Display, Video Tab move the slider for Video Memory to as far as you can. In my case the max is 128 MB for an ATI HD4870 512MB video card. Also make sure to select Enable 3D Acceleration.

Recommended Step: If you have TF2 installed you can add the Steam Folder to Shared Folders Tab to avoid redownloading most of the major TF2 GCF files. Click OK to exit the settings.

Optional but Recommended Step: The 20GB limit on the VirtualBox .vdi image may not be enough space, so I recommend increasing the size of the partition first in Windows by issuing the following commands from command prompt (modify the paths if they are different). To access the cmd click start and in either run or inside the search field type cmd a terminal like application will open, after that type out the 2 commands below.

cd “C:\Program Files\Oracle\VirtualBox\”

then issue the second command:

VBoxManage modifyhd "C:\ubuntu-12.10-desktop-i386.vdi" --resize 40000

This will resize the vdi disk from 20GB to 40GB.

Then use a GParted LiveCD iso: http://gparted.sourceforge.net/download.php which I mounted from within VirtualBox under the Settings > Storage > CD/DVD Drive. Then boot under the CD. You can click enter on any of the questions GParted will ask you during boot. Once the GParted boots use the graphical partition manger to resize the partitions.

Mount the GParted iso file as a CD/DVD.
Mount the GParted iso file as a CD/DVD.

resize extended to fill all of the unallocated space

resize linux-swap to go to the far right of the disk, but keep it 754 MB

resize extended to go to the far right as far as you can

resize ext4 to fill remaining unallocated space

You will have a couple of 1 MB unallocated clusters remaining, not much can be done about that, click Apply to finish. After the process is complete click Exit and choose Shutdown, the virtual GParted disk should unmount/eject automatically.

Step 4: Start Ubuntu, select Ubuntu 12.10 and click the Start arrow, this will start Ubuntu in a new window. It may take a while to load, so wait. When the system loads you will be in the login screen, login with (username/password): ubuntu/reverse

Congratulations you now have a working Ubuntu 12.10 system installed as a virtual machine under Windows. I noticed the keyboard layout is set to Italian under this virtual image, so you just click the top Ubuntu start launcher button and type keyboard, find keyboard settings and add English (US) instead. Here is a video in case you are stuck on changing the keyboard settings.

Optional Step: The default Ubuntu desktop under Unity is very slow for me, so I am going do a system update first and then install LXDE instead. You can keep Ubuntu as it is, if it works well under VirtualBox, but if the system is lagging like it is for me I recommend you switch to LXDE. To update the system open the terminal, by using the Ubuntu start launcher and searching for terminal.

The command to update the system is:

sudo apt-get update

The command to install LXDE is:

sudo apt-get install lxde

You can then logout and relogin under LXDE for a faster desktop experience.

Step 5: Install Steam, go to: http://store.steampowered.com/about/ and download steam.deb, by default it will be in /Home/Downloads folder if you are using Firefox, simply run and click install.

Recommended Step: If already have TF2 installed on your Windows install, and you did the automount option mentioned earlier you can access your VirtualBox shared folder. But before you can open it you need to run the following command: (if you don’t you will get access denied):

sudo usermod -G vboxsf -a ubuntu


Please not if you are using a different username other than ubuntu you need to change the last line of this command to your username > sudo usermod -G vboxsf -a yourusername

Now logout and relogin and you should find your Windows steam folder under /media/sf_Steam

Copy the following .gcf files to /home/ubuntu/.steam/steam/SteamApps/

Note: .steam folder is hidden, enable hidden folders to see it! (Press CTRL + H or Show Hidden Files under View)

Source 2007 Shared Materials.gcf

Source 2007 Shared Models.gcf

Source 2007 Shared Sounds.gcf

Sourceinit.gcf

Source Materials.gcf

Source Models.gcf

Source Sounds.gcf

Team Fortress 2 Client Content.gcf

Team Fortress 2 Content.gcf

Team Fortress 2 Materials.gcf

Important: On Windows these files will all be lowercase, when you are done copying them you will need to rename them to have each first letter of the world to be uppercase as shown above. For example, Windows will have source materials.gcf, Linux should have it renamed to Source Materials.gcf

Start Steam and install TF2, if you copied the files like mentioned above your install will be minimal compared to a full install.

Step 6: Starting TF2


You can start TF2 now, the game will probably not work. You will get a black screen and possibly hear background music. However you should receive the Tux item regardless.

You can also try running TF2 from the terminal, by typing in the following command:

steam -applaunch 440 -novid -textmode -nosound -noipx -nopreload -nojoy -sw -maxplayers 2 +sv_lan 1 +map "itemtest"

Textmode doesn’t appear to work completely either after a few minutes it will hang, but both methods will work to acquire the promotional item. Good luck.

Scout with Tux attached to the misc slot.
Scout with Tux attached to the misc slot.

If this guide worked for you or if you managed to get Team Fortress 2 to work under Linux or VirtualBox please share your experience. Thank you for reading.

Comments

    0 of 8192 characters used
    Post Comment

    • profile image

      THANKS 4 years ago

      THANKS, YESTERDAY I HEAR THE NOTICE AND I SAY: POOT A TUX HERE, LOL

    • profile image

      Kef 4 years ago

      Very nice! detailed and easy!

    • profile image

      Anon 4 years ago

      I love you!

      Thanks so much.

    • profile image

      iPaul 4 years ago

      Where i put commands like

      sudo apt-get update

      or

      sudo apt-get install lxde

    • profile image

      NOO 4 years ago

      Guy, when I go to cmd, and write VBoxManage modifyhd "D:\ubuntu-12.10-desktop-i386.vdi" --resize 50000, he says is not recognized as an internal or external command, operable program or batch file PLEASE HELP ME

    • profile image

      ipaul 4 years ago

      i solve the problem of the terminal but when i put "sudo usermod -G vboxsf -a ubuntu" the programns ask for the password and i put then NOTHING HAPPENS WELP ME

    • profile image

      wdwdd 4 years ago

      i don't understand the Then use a GParted LiveCD iso part help

    • profile image

      Ben 4 years ago

      How do I boot under CD?

      "Then boot under the CD. You can click enter on any of the questions GParted will ask you during boot. Once the GParted boots use the graphical partition manger to resize the partitions."

    • profile image

      Ben 4 years ago

      iPaul, you put those commands in terminal. Go to the Ubuntu start button, type in terminal, press enter.

      NOO, you have to modify the directory if your file path is different. Look at where you put the vdi file and use that file path.

    • Benjamin Hwang profile image

      Benjamin Hwang 4 years ago

      How do I boot under CD?

    • profile image

      Noll 4 years ago

      Thanks a lot! Detailed and simple!

    • profile image

      alan 4 years ago

      i'm having the same problem as NOO..and i already changed the path accordingly but still get the same error..any help is appreciated

    • profile image

      Lawie 4 years ago

      after logging in, I only get the error message: The application Compiz has closed unexpectedly... please help :'(

    • profile image

      Anthal 4 years ago

      Why not use symlinks to link the gcfs instead of copying them over? Would save time and disk space.

    • profile image

      alex 4 years ago

      all i get is the application Compiz has crashed message then nothing happends plz help

    • profile image

      alex 4 years ago

      acutally that is not the problem it opens fine but then it gets to the desktop screen and it doesn't come up with anything else like the task bar D:

    • profile image

      World 4 years ago

      Also confused as to what boot under the CD means, I have it set up the same as the author and arrive at this screen on boot http://puu.sh/233so

    • profile image

      World 4 years ago

      Oh wait you just boot under the first option and it brings you to this screen, http://puu.sh/233w2 where you then select Gparted and continue as instructed.

    • profile image

      Greg 4 years ago

      After copying the .gcf files to the ubuntu steam folder I am no unable to start Steam... I'll click on it and nothing happens. So I uninstalled it and am now unable to re-install it. :( Any ideas?

    • profile image

      Sam 4 years ago

      When I try to download anything on it, it asks me to open the file with something. I have no idea what to use to open the files with, shouldn't it do it anyway?

      It says: File to be opened: Debian Package.

      I haven't done anything different from the tutorial except install the GParted LiveCD and not finish everything it asked, but that was because the second command you said I should enter apparently didn't exist. It also didn't ask me for a login or a password when I started it up, which I thought was odd.

    • profile image

      Anonym 4 years ago

      Complicated

    • profile image

      PHR 4 years ago

      FYI, the Guest Additions on the pre-installed VDI are outdated, and won't work on newer versions of VirtualBox. Guide to installing GA properly here:

      https://forums.virtualbox.org/viewtopic.php?t=1567...

      Also, the VDI seems to use a European keyboard -- A-Z is unaffected, but symbol characters are all over the place. Might be better to make a Ubuntu virtual machine from scratch, like me. :)

      I didn't get any sound or video, and both the "normal" and "console" launches of TF2 crashed with no error messages after about 5 seconds. It didn't work too well when I tried Steam on Fedora yesterday, either, so it's probably an issue shared with ALL Linux guest OSs in VB.

      Still, though it feels unfair, I got mah Tux. Thanks for the guide, bro. :)

    • profile image

      Delphi 4 years ago

      Thanks - worked for me! An additional bit to add could be to explain how to set up a scp server on the windows side so you can just scp the gcf files across. It's what I had to do as the shared filed wouldn't mount in the Linux image.

    • profile image

      roger 4 years ago

      im having the same problem s "ipaul, i solve the problem of the terminal but when i put "sudo usermod -G vboxsf -a ubuntu" the programns ask for the password and i put then NOTHING HAPPENS WELP ME"

      nothing hppens I NEED SOME ASISTNCE

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      Are you using a different username for the account rather then ubuntu?

      sudo usermod -G vboxsf -a placeyourusernamehere

    • profile image

      Kyle 4 years ago

      When launching TF2 in VM, I get a "This game is currently unavailable" error.

      Are there any ways to fix this?

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      @Kyle check to make sure you have enough space left over on the Ubuntu hard drive.

    • profile image

      Kyle 4 years ago

      And how would I go about doing that?

      (not good at tech stuff)

    • profile image

      Ben2 4 years ago

      Can't find where the .gcf files are to be able to copy them, any help please?

    • Benjamin Hwang profile image

      Benjamin Hwang 4 years ago

      Syslink would make sense.

      Ben2, the .gcf files are in the Steamapps folder.

    • profile image

      Ben2 4 years ago

      Thanks, realised that I had the steam folder that is inside the Steam folder on my hard drive set for the shared folder...

    • Benjamin Hwang profile image

      Benjamin Hwang 4 years ago

      alexmk, could you tell me how to boot under CD?

    • profile image

      Monkey 4 years ago

      http://imgur.com/Sb1MQYP It won't let me type at all.

    • profile image

      @monkey 4 years ago

      sudo password is all hidden, type password then press enter, and it should work

    • profile image

      Mike 4 years ago

      When I try and install Steam it says "Package does not exist" then the software center crashes.

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      If you are having issues with starting TF2 with "game is unavailable" error try the following:

      1. Check the hard drive space of the system, make sure there is enough space. You can use Disk Utility from Ubuntu, or open a terminal and type df -h it should display your space usage. If you don't have enough space, you need to follow the part of the tutorial that talks about increasing .vdi space using cmd and GParted Live CD.

      2. Make sure you allocated enough RAM when creating the Ubuntu virtual system in VirtualBox. You will probably need at least 1GB for the virtual machine, but even with 1.5GB the system for me was slow so I had to install LXDE. You can expand the size of the allocated ram from VirtualBox.

      3. Try deleting your steam user directory, it will be re-created when you try to start TF2 again.

      The folder will be /home/ubuntu/.steam/steam/SteamApps/YOURUSERNAME -- remove this folder

      4. Try restarting Ubuntu.

      I cannot troubleshoot every single problem, but I wish everyone luck. Try reading the specific errors you get and use Google, a lot of Linux problems have been solved on various forum posts and online articles.

      Good Luck.

    • Benjamin Hwang profile image

      Benjamin Hwang 4 years ago

      The .gcf files are actually in

      /media/sf_Steam/steamapps

    • profile image

      hiddenboy 4 years ago

      my VirtualBox suddenly can't have internet anymore, but it had before when i was updating Ubuntu and downloading steam

    • profile image

      Lolotov 4 years ago

      Looks like Valve caught on... they won't let you run Steam in VBox with 3D acceleration enabled...

    • profile image

      Torian 4 years ago

      Can you explain a little better on how to enlarge the virtualbox to 40gb? I don't understand what you mean.

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      @Benjamin Hwang: yes /media/sf_Steam/steamapps is where the .gcf files are and /media/sf_Steam/ is the main steam directory.

      @hiddenboy: Try restarting, if not you would need search on Google or check Ubuntu forums. There are many reasons why this may occur, also make sure you have enough hard drive space and ram allocated to the Virtual Machine.

      @Lolotov: This is not true, the method still works. Valve hasn't done anything.

      @Torian: You need to follow the cmd tutorial first to enlarge the vdi file inside Windows, you just need to run the 2 commands, first one to cd (cd command enters or change folder location) into the directory of VirtualBox and the next is to use VBoxManage to enlarge the vdi file, make sure you modify the paths (location of the directory and files) correctly depending where the vdi file of your VirtualBox main install is.

      Then you need to grab the GParted Live CD, mount it inside VirtualBox as a CD/DVD device and then start the Ubuntu virtual machine. Because CD/DVD device is set to boot first inside VirtualBox it will start GParted in a Live environment you can then interact with the virtual Ubuntu hard drive to resize the partition tables so Ubuntu can properly recognize the new 40GB size of the virtual disk. You basically want to get the extended and swap partition to the far right by resizing and then resize ext4 partition to fill the available space. This could be tricky, so just use common sense and think it through. I have a discription how this can be done in the tutorial, read carefully. After that you simply restart the virtual machine, VirtualBox will unmount (eject) GParted Live CD by default and when you boot again it will reload Ubuntu with properly resized hard drive so you have more space for Steam & TF2 install.

      Read the instructions carefully, examine any errors you get and try to understand the process. Hope this works out for some of you, you do need a little bit of basic computer understanding to get everything working.

    • profile image

      anon 4 years ago

      yo ive done all the steps but when i boot up ubuntu after i log in there is no desktop icons

    • profile image

      guest 4 years ago

      I have already selected 'Show Hidden' but i can't find .steam folder?!

    • profile image

      hiddenboy 4 years ago

      hi again, i fixed my internet problem, the only problem left is the game unavailable, i only have like 5 mb of space left, how much space do i need?

    • profile image

      Sam 4 years ago

      Can anyone help me? I open Ubuntu fine and enter the password all fine. But after I enter the password it just leaves me with the background. Do I just have to wait? And if so, how long would suffice? I've left it like that for like ~10 minutes before cancelling thinking something was wrong. My PC is pretty powerful so I wouldn't have thought it would take that long.

      Anyone know how to fix it / what's actually wrong?

    • profile image

      Ryan 4 years ago

      When I go into the sf_steam folder and press CTRL + H, it says

      "The folder contents cannot be displayed."

      "You do not have permissions necessary to view the contents of "sF_Steam."

      CAN ANYONE HELP PLEASE??

    • profile image

      Ryan 4 years ago

      Nevermind my comment above, but when i try to type: sudo usermod -G vboxsf -a ubuntu, it works but then it says: "[sudo] password for ubuntu:", so I try to put the password in but nothing comes out, when i type the screen freezes for a sec then nothing comes out. Please help!

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      @hiddenboy You should have at least of 1 GB, 5 mb is not enough. You will need to resize the vdi to increase space before it will work.

    • profile image

      hiddenboy 4 years ago

      i can't CD it to the VirtualBox folder, it won't change, it's still C:\users\*username*

    • profile image

      hiddenboy 4 years ago

      no nvm, fixed it.

    • profile image

      Ryan 4 years ago

      Yo, alexmk, when i type in the terminal, and it asks for my password, i try to type in the password and nothing comes out. I can't type anything. Help please? I really want this.

    • profile image

      Klepto 4 years ago

      It's not even letting me download Steam, it says authentication as the super user is required. I didn't setup any password, I logged in as guest, I can't login as ubuntu, because I don't know the password. I tried the sudo passwd and it won't let me do that.

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      Username is ubuntu & password is reverse

      @Ryan just type the password when it asks you, it will not show you typing anything and once you have typed it press ENTER. This is a protection mechanism inside the terminal so someone looking over your shoulder won't see the length of your password.

    • profile image

      Klepto 4 years ago

      Thanks alexmk! That did it, I was about going crazy here trying to figure that out.

    • Benjamin Hwang profile image

      Benjamin Hwang 4 years ago

      Do we just delete the Ubuntu 12.10 VM and it will delete everything?

    • profile image

      hiddenboy 4 years ago

      how are we supposed to move the extended and linux swap to the far right?

    • profile image

      Panda 4 years ago

      I typed in sudo usermod -G vboxsf -a ubuntu , it then asks for password so i enter it press enter, then logout and login, exactly like it says, i go to media folder and the only thing there is ubuntu, there is no sf_Steam folder anywhere. What the hell am i doing wrong. Steam is shared in vbox :(

    • profile image

      Mutt 4 years ago

      What password am I supposed to put in in the terminal when trying to do something? Help me!

    • profile image

      Mutt 4 years ago

      also when I try to download steam it asks me for an authentication password what is the password?

    • profile image

      Tux 4 years ago

      After you do the first command, you have to path the second command to wherever ubuntu-12.10-desktop-i386.vdi is.

      Example: VBoxManage modifyhd "C:\Users\JohnDoe\Documents\ubuntu-12.10-desktop-i386.vdi" --resize 40000.

      The .vdi was in Documents so I pathed the second command to it.

      Hope this helps!

    • profile image

      Astro Nit 4 years ago

      @Mutt the password for both is the same one you used to log in, reverse

    • profile image

      Guest 4 years ago

      Same problem with some other people. I get to the screen where you log in but once i enter the password, only the background loads. Waited for half an hour then tried again but nothing works. Help?

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      That's a complex issue, I mentioned that checking the ram is a possible solution. If that doesn't work check Google and Ubuntu forums, it may be related to compiz failing to start.

    • profile image

      CatCookie 4 years ago

      I am having problems with the keyboard and don't understand how to fix it, all i really need to put in is @

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      If you are getting the blank screen with the mouse after Ubuntu 12.10 boots try this, possible solution has to do with an update:

      Source: http://seasidetea.blogspot.ca/2012/10/ubuntu-1210-...

      1. While at the blank screen with the mouse cursor, hit Ctrl+Alt+F1. This should bring up a terminal.

      2. Log in with the credentials you set at install

      3. Type: sudo apt-get update

      4. Type: sudo apt-get upgrade (given this few of days since the release, I saw a few updates for Compiz)

      5. Reboot. Type: sudo shutdown -r now

      Problem should be fixed

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      Find keyboard settings in Ubuntu and change it to English (US), this is a silly problem by the author of the vdi it's set by default to Italian.

      Here is a video guide: http://www.youtube.com/watch?v=ByR3uTWe1yI

    • profile image

      Mick 4 years ago

      After I click start on VirtualBox, all I get is a black screen with [Ok] in the top right, and it sits there doing nothing. I skipped the optional step of increasing the VDI file size, would that have affected it? I'm not sure how to get past this.

    • profile image

      Bigdunk15 4 years ago

      It works perfectly! Great tutorial, it was really easy to follow. I am using a Mac and I can confirm it works exactly the same.

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      @Bigdunk15, awesome, congrats.

      @Mick, not sure why that is happening, my only advice is to try restarting and check that you have enough ram and video memory allocated in VirtualBox settings. Also try restarting the Virtual Machine a couple of times.

    • profile image

      Ye 4 years ago

      I got all sorted, just one thing

      When im at this terminal, i type the sudo thingy to get acsess to my folders, all that, couldn't be arsed typing it. And it says "Sudo: Enter password" When i try to write something, nothing is happening! Halp me :c

    • profile image

      88Titan88 4 years ago

      Thanks for the guide, it works perfectly. :)

      The game freezes, but I got the Tux no problem.

    • profile image

      Panda 4 years ago

      Hours and hours and hours trying to fix the shared folders and all i had to click was automount. FML

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      @Ye: I've mentioned this a quite a few times

      You password is still being entered it simply doesn't show it, it's a security feature so people don't see the length of your password if someone is looking over your shoulder.

      Simply enter the password and press enter, it won't show you entering anything but the password is being entered.

      @88Titan88: Yeah it's impossible to play TF2 in VirtualBox atm, the issue is that there is no support for the video driver atm from Steam. Similar problem with people who install Ubuntu but have an integrated card for the moment. But you will still get Tux if you start TF2! Which is what this guide was meant for. :)

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      Yeah it's mentioned in the guide, you need to have automount enabled. Glad you finally got it to work.

    • profile image

      Robson 4 years ago

      It worked, but instead of doing the automount step i downloded the tf2 again XD. i was lazy....but anyway this guide really helped and i hope you do more guides in the future. thanks dude! :)

    • profile image

      Victor 4 years ago

      Simple easy, thanks.

      P.S. If you don't know where you have to type commands like this:

      sudo usermod -G vboxsf -a ubuntu

      You just have to open terminal :)

    • profile image

      imhappy 4 years ago

      Thanks a lot !

      i followed all the things you wrotte and it worked for me :D

      And i didn't even need to expend the part to 40 GB

      Man, thanks a lot you deserve a medal ;)

    • profile image

      Popler 4 years ago

      "resize extended to fill all of the unallocated space

      resize linux-swap to go to the far right of the disk, but keep it 754 MB

      resize extended to go to the far right as far as you can

      resize ext4 to fill remaining unallocated space"

      I resized partitions before with programs like Minitool but I don't know how to do it with Gparted, I can't increase extended to use allocated space, only can make it smaller. Need some brief explanation please.

    • profile image

      Mark 4 years ago

      Seems really good, but when I'm prompted to 'Use an existing virtual hard drive file' its tells me the files are inaccessible. Any thoughts?

    • profile image

      Psycho 4 years ago

      But how do I access the shared folder? I don't understand...

    • profile image

      alextdang 4 years ago

      when i downloaded and opened it, it said the archive is corrupt.

      im using google chrome and winrar

    • profile image

      Jerry 4 years ago

      hey i get through all steps smoothly but when i type in password for user login to ubuntu i don't get no desktop icons just blank , any help

    • profile image

      gui 4 years ago

      steam don't install :3

    • profile image

      gui 4 years ago

      steam = package does not exist

    • profile image

      gui 4 years ago

      nvm just downloaded it now

    • profile image

      GUI 4 years ago

      heeelp, when i click to open the steam, opens a Package Installation window

    • profile image

      bob 4 years ago

      Do i have to download ubuntu from that virtualbox website?

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      @GUI: Open a terminal and type steam

      Then it will ask you to install an extra package, install that and steam should run.

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      If you get an error "Fatal Error: Steam does not run in VirtualBox with 3D acceleration enabled" when starting steam the issue has to do with the newer guest additions tools and

      possibly with xserver-xorg-video-vmware. I had to revert back to VBoxGuestAdditions 4.2.2 to get everything working again. This fix worked for me under a manual install of lubuntu 12.10 in VirtualBox, if you used the VDI from this manual it already has the older 4.2.2 version so it should work already.

      Here are the steps I took, they are a bit complex.

      Steps 1 & 2 are used to remove all versions of VBoxGuestAdditions you may have installed and to also remove xserver-xorg-video-vmware

      1. Run in terminal: sudo apt-get purge xserver-xorg-video-vmware virtualbox-guest-additions virtualbox-guest-x11 virtualbox-guest-utils virtualbox-guest-dkms

      Explanation: You need to remove xserver-xorg-video-vmware, so the virtualbox-guest driver can take it's place. We are also going to remove a bunch of other virtualbox-guest packages in case they exist, they probally don't unless you installed them.

      2. sudo /opt/VBoxGuestAdditions*/uninstall.sh

      Explanation: Remove new version of VBoxGuestAdditions if you installed it through mounting, you can check /opt/ directory by doing cd /opt/ and ls command to make sure that there are no VBoxGuestAdditions installs left over.

      3. Run in terminal: sudo apt-get install build-essential linux-headers-$(uname -r) dkms

      Explanation: You need to install build-essential, the correct linux-headers and dkms

      4. Run in terminal: cd ~/Desktop

      Explanation: Just want to switch to Desktop directory so we can download the iso using wget.

      5. Run in terminal: wget http://download.virtualbox.org/virtualbox/4.2.2/VB...

      Explanation: Download VBoxGuestAdditions_4.2.2.iso on to Desktop

      6. Run in terminal: sudo mkdir -p /mnt/vboxguest

      Explanation: Create a vboxguest directory in /mnt/ so we can mount the iso

      7. Run in terminal: sudo mount -o loop VBoxGuestAdditions_4.2.2.iso /mnt/vboxguest

      Explanation: Mount VBoxGuestAdditions_4.2.2.iso in to /mnt/vboxguest

      8. Run in terminal: cd /mnt/vboxguest

      Explanation: Go into /mnt/vboxguest directory so we can run VBoxLinuxAdditions.run

      9. Run in terminal: sudo ./VBoxLinuxAdditions.run

      Explanation: This will install VBoxGuestAdditions 4.2.2

      10. Restart the VirtualBox

      11. Run Steam from shortcut or open terminal and type steam

      Hopefully this will work for you as well.

    • profile image

      4 years ago

      somereason i can't copt the .gcf files over to the ubuntu?

    • profile image

      quack! 4 years ago

      I still keep getting an empty desktop with only a wallpaper and the mouse cursor even after the fix you commeneted :/

    • profile image

      David 4 years ago

      Everything works up until I try and launch the game, where it then says "The game is currently unavailable. Please try again later." Any fix for this?

    • profile image

      Jake 4 years ago

      In case anyone is wondering, TF2 install from scratch is ~11GB.

      In Quantal64 I found 24GB VDI works with a couple GB to spare, that's just a base install with updates and steam/TF2.

      Later, I saw Steam 64 bit in the Ubuntu Software Center.

      During resizing one catch I had was needing to clone without snapshot in order to use VBoxManage.exe because snapshots are not supported. I found it easier to rename from the VDI image directory rather than from the %PROGRAMFILES%\Oracle\Virtualbox and then double quote the VDI if it has [space] Clone" in the name. I used two rounds of gparted to get rid of those 1MB remnants. I guess all these rough edges is the reason for the promo. Good game!

    • profile image

      Giulio97 4 years ago

      How to open the terminal in the start launcher?

    • profile image

      super 4 years ago

      Popler 11 hours ago

      "resize extended to fill all of the unallocated space

      resize linux-swap to go to the far right of the disk, but keep it 754 MB

      resize extended to go to the far right as far as you can

      resize ext4 to fill remaining unallocated space"

      I resized partitions before with programs like Minitool but I don't know how to do it with Gparted, I can't increase extended to use allocated space, only can make it smaller. Need some brief explanation please.

      ^I have the same problem! Help?

    • profile image

      Andrew 4 years ago

      I installed Steam and TF2 on ubuntu 12.10 (Virtual Box). When I start TF2 I see a black screen, but I can hear the sounds of the video. When the video ends TF2 crashes. No error system does not display. Plz help me.

    • profile image

      super 4 years ago

      Well, i kinda got it to work and got the items, thanks

    • profile image

      telolets 4 years ago

      Works perfectly! Got a little problem here and there but can be done with a little search..

      Thank you very much alexmk

    • profile image

      Wesley 4 years ago

      I don't know the password o.o I can't log in the ubuntu user.

    • profile image

      aznpanda141 4 years ago

      can't seem to find the .steam folder :/

    • profile image

      Lucas 4 years ago

      Hi can you help me? I installed the steam, but it does not open when opening appears: "Fatal error: Steam failed to load: *steamstartengine(0xbff188b0)failed error 1: A Steam engine instance alterady exists"

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      g: Do you have everything properly mounted? Re-read the guide about mounting your steam directory and make sure you have it set as automount shared folder under VirtualBox.

      quack!: I'm not sure then, but the issue is related to compiz. Perhaps someone on Ubuntu forums has found a solution, try searching Google and let us know if you find a fix that works. Thanks.

      @David: Only thing I can suggest is to make sure you have enough hard drive space and ram on the virtual machine. Also try restarting and trying again.

      @Jake: Thanks for the info, you can also try removing stuff like Libre Office to get more space in case you run out with a 20GB HD vdi.

      @Giulio97: Click the Ubuntu logo Start/Dash button on top left, type terminal and click to open the search result for Terminal.

      @super: Read the guide carefully, it's difficult for me to explain but the idea is to move swap/extended to the right side and expand ext4 to fill the empty space before swap/extended. You need to just try it out, to get the hang of GParted. Good luck, also you can check YouTube for videos of using GParted, it's not too difficult.

      @Andrew: You will not be able to play TF2 in VirtualBox or even in a full Ubuntu install. TF2 has problems with integrated intel cards, because of missing functionally in opengl. At the moment I don't know of any fix, you will still get Tux. Check your invetory.

      @super: Awesome, thanks for reading my guide and congrats.

      @telolets: Thank you, and glad that it worked for you!

      @Wesley: Read carefully, password is reverse

      @aznpanda141: .steam folder is hidden press ctrl + h in your home directory or show hidden files under view to see it.

      @Lucas: Looks like like you might be running steam twice, restart virtualbox and try again.

    • profile image

      Mike 4 years ago

      Got it all working and earned my Tux mascot! When I launched TF2 in VB, I got a black screen, heard the Valve logo music as it loaded, then it unceremoniously dropped back to the desktop. Had to go back into Windows and launch TF2 to see that I got the item.

      Thanks!

    • profile image

      Liam 4 years ago

      You are a gentleman and a scholar. Linux Represent!

    • Alec Bladykas profile image

      Alec Bladykas 4 years ago from Seminole, Florida

      Hey, thanks sooo much for the guide, it's working great, but I'm having a major problem: I got to the part where it says I need to access my Steam files by typing "sudo usermod -G vboxsf -a ubuntu" in the terminal, but whenever I do, I get the error "usermod: group 'vboxsf' does not exist". Can you please help me with this? Thank you very much.

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      Are you installing through VirtualBox because vboxsf is a group to access VirtualBox shares. Have you also auto-mounted your steam directory?

      You can try sudo adduser (username) vboxsf, if you used the vdi the username would be ubuntu, so sudo adduser ubuntu vboxsf.

    • Alec Bladykas profile image

      Alec Bladykas 4 years ago from Seminole, Florida

      Ok, thanks, I'll give it a try later

      For the record, I'm using VB, and I auto mounted Steam

    • profile image

      Andersen 4 years ago

      I recorded a video walkthrough of this, if anyone is interested. I've got no intent of claiming this guide as my own, which I've also stated in the description.

      http://www.youtube.com/watch?v=zPMFaHKRy0Q

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      @Andersen: Good job, you want me to link it in the article itself? I can cite your name or nickname to provide credit for the recording. Let me know.

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      @Andersen: Just watched the whole thing, very well executed install. You even installed LXDE which is cool, but it seems you could run Ubuntu quite well in Unity, compared to my lagging computer.

      There is something I noticed which is kind of odd and I am surprised it worked. You didn't seem to rename the gcf files and it still worked for you. I installed TF2 on a real Linux install, I noticed all the gcf files had capitalization and I know that Linux is very iffy about that because it's case sensitive. So I assumed and read elsewhere that the gcf files are mandatory to be renamed properly, but I guess that's not the case? Interesting, perhaps steam has a way to compensate by checking for both, but I wonder if under a real Linux install you might run into problems if you tried to play the game. Not quite sure what to make of it.

      Anyway great video guide, let me know if you want me to link it in the article and what to cite you as.

    • profile image

      Andersen 4 years ago

      @alexmk: It would be cool if you linked to it or embed it in the article itself. You don't have to cite me, as I didn't record this for anything else than helping people out. Otherwise, use my rather lame username: failureandersenboi.

      About the renaming step, I didn't even notice myself. I didn't skip this step on purpose. I simply forgot. Oh well, I'll add an annotation and info in the description. Perhaps you could mention it as well, if you link it?

      Thank you for this awesome guide! :)

    • Alec Bladykas profile image

      Alec Bladykas 4 years ago from Seminole, Florida

      Ok, so I tried "sudo adduser Ubuntu vboxsf" but it said "adduser: The group 'vboxsf' does not exist". Any other ideas?

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      Alec Bladykas are you using the VDI file from this tutorial? The group vboxsf should exist, unless you are using an ISO install and didn't install guest additions tools.

    • Alec Bladykas profile image

      Alec Bladykas 4 years ago from Seminole, Florida

      I used Ubuntu 12.04 rather than Ubuntu 12.10. Is that ok?

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      This would be the problem, it probably doesn't have guest addition tools installed so there is no vboxsf user group.

      It would work but will require a ton more steps, search the comments for the mini-guide I have on installing VBoxGuestAdditions 4.2.2

    • profile image

      ProbablyABumbler 4 years ago

      How simple is removing all traces of VirtualBox and Ubuntu from one's computer after using this method?

    • Nicolas Chatelain profile image

      Nicolas Chatelain 4 years ago

      I have a problem.

      In virtualbox, at the step 4, I have the window ubuntu in dark.

      It's normal?

    • profile image

      sergiu 4 years ago

      Hi! I have a problem. I have installed ubuntu, steam and all that. But when i try to download tf2 is says Disk space available: 9898 mb, disk space required:10958. How do i fix that?

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      @ProbablyABumbler: You can remove the Ubuntu Virtual Machine from within VirtualBox and then uninstall VirtualBox itself. VirtualBox has a pretty clean uninstall, it may leave a few registry entries but they can be removed with regedit if needed. Overall VirtualBox removes relatively cleanly and easily on par with any other good software.

      @Nicolas Chatelain: Sorry I don't understand what you mean by Ubuntu in dark? Can you explain.

      @sergiu : Looks like you ran out of space, TF2 takes up anywhere from 12GB to 14GB or so. You need to follow the step on increasing the VDI size, or watch the excellent video created by failureandersenboi, he accomplishes this very well.

    • profile image

      ProbablyABumbler 4 years ago

      Excellent. Thank you so much for taking the time to help us all!

    • profile image

      Sef 4 years ago

      I've managed to get Ubuntu to work, but it never loads the desktop itself. It just has the background and nothing more. I also skipped changing the partition step, if that helps at all.

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      Sef: I posted a possible solution earlier in the comments, try this: http://seasidetea.blogspot.ca/2012/10/ubuntu-1210-...

      If it's doesn't work then I am not sure, check Ubuntu forums/Google for blank screen after boot.

    • profile image

      Lucas 4 years ago

      @alexmk I follow the tutorial, but it's time to run the steam it opens and closes quickly. please help.

    • profile image

      Jeremy 4 years ago

      When I try to run Steam with 3D acceleration on, it says there is a "FATAL ERROR". Please help?

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      @Lucas: Try opening terminal and type steam and press enter.

      @Jeremy: Did you use the VDI from this tutorial?

    • profile image

      Phophs 4 years ago

      Hooray! :D Never thought it would be quite so simple!

    • doreato profile image

      doreato 4 years ago

      It never asks me to create a password, so what do I use as a password to log in?

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      doreato: Read the guide please, username is ubuntu password is reverse

    • profile image

      llama hobo 4 years ago

      THANK YOU SO MUCH IT WORKED

      mine had a few issues but i got it working and.............penguin

    • profile image

      A Concerned Citizen 4 years ago

      What about this Wubi installer for windows I saw on the Ubuntu website?

      Does that work?

    • profile image

      Kalamalja 4 years ago

      I can't seem to get the shared folders to appear in the Ubuntu. I've checked the auto-mount and chosen the correct steam folder, yet there's no media directory to be found on the ubuntu.

      Or am I just blind?

    • profile image

      Equius 4 years ago

      Yes hello. When I start to run the window, I am given a purple-reddish backround and there and no icons on screen. If I leave it for a while it says it finds a problem and that I can report it. Any help, please?

    • profile image

      Sef 4 years ago

      The fix didn't work, nothing has changed. I'm getting the exact same problem as Equius. I've done everything right (as far as I know) and I'm completely out of ideas.

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      Are you using Wubi or something?

    • profile image

      Sef 4 years ago

      Nope, just VirtualBox. All I see is the default background after I log in. I can still open up the terminal with Ctrl+Alt+F1 and carry out commands, so it looks like a graphical problem to me.

    • profile image

      Enyoyable 4 years ago

      Did not work, there was nowhere to go once i started Ubuntu, no menu or anything. And the second time i try it no longer opens. From this experience i would not recommend this guide to friends and family.

    • profile image

      Enyoyable 4 years ago

      Ahem, some of my mad is gone now.

      It seems to be more stable now at least but i still can´t get a start menu to appear when i start Ubuntu. I would appreciate some help.

      Sorry about the harsh previous message.

    • profile image

      The Noob Jentleman 4 years ago

      Thank you, i get my Tux.

    • profile image

      Milshake 4 years ago

      VBoxManage modifyhd "C:\ubuntu-12.10-desktop-i386.vdi" --resize 40000

      After scribe that, error : failed to create the virtualBox object!

      error: Code CO_E_SERVER_EXEC_FAILURE 0x80080005 - Server executionfailed extended info not available

      error: Most likely, the VirtualBox COM server is not running or failed to start.

      HELP !

    • profile image

      Enyoyable 4 years ago

      Okay i got it working now.

      What i did was that i downloaded the 12.04 version of ubuntu.

      I read a post saying it was less finnicky. Thank you for your guide, while i did get lost a couple of times i was able to pull through thanks to rudimentary knowledge of compootis.

    • profile image

      Andrew1 4 years ago

      When i am launching ubuntu, there is one password-protected account.What is password?

    • profile image

      senor hernandez 4 years ago

      Very easy tutorial. thanks a lot dude, now i have a tux in my ass :)

    • profile image

      Sef 4 years ago

      Andrew, it's Reverse.

      I tried what Enyoyable mentioned, trying 12.04 instead... It gives me an error message when I load Ubuntu saying: This Kernal requires an x86-64 CPU but only detected a i686 CPU.

      I can run 64 bit, and this is the Ubuntu version I downloaded. Nothing works right -.-

    • profile image

      Milshake 4 years ago

      In the terminal, when they ask me the password of unbuntu, it say sorry, try again

      HELP !

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      Sef: You cannot run 64 bit under VirtualBox, even if you have a 64 support. Since VirtualBox can only emulate a 32bit cpu. So looks like you are using a 64bit install?

      Milshake: The password is reverse

      Make sure CAPS-LOCK is not on, and you are typing only the password then press enter.

    • profile image

      David 4 years ago

      Help me!

      Whenever I run Ubuntu 12.10, it says that the graphic card is broken or something and i have to reconfigure it myself. PLEASE I NEED HELP! :(

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      @David: You need to post the exact error.

    • profile image

      Sef 4 years ago

      Okay, I've got it to work with 32 bit Mint instead. Thanks for the help though!

    • profile image

      Jacob 4 years ago

      Steam wont run... First it was libsteam.so not found, now its something with Segmentation failed. =C

    • profile image

      r3coil 4 years ago

      So I open up Steam and it asks me whether I want to log in with my account, PSN or create a new one. I select to log in to an existing account and what happens is that the window then becomes less than a quarter in size and I can only see the name of it: "Steam ...", and top half of the Steam logo. No scroll, no nothing. And since I can't see the fields, I can't log in. Any ideas?

    • profile image

      JonWhoa 4 years ago

      I did this and it worked, but after the TF2 client exited, I couldn't open steam or TF2. It keeps getting up a window saying "Package Install" and not opening steam. Even when it does, it crashes before I can do anything, or playing TF2 gives me an error saying "This game is currently unavailable". Do I need to reinstall everything, or do I just need to delete some corrupted files?

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      JonWhoa: Open a terminal and type steam and press enter, see if it will start up from terminal.

    • profile image

      Engie 4 years ago

      Look at this: http://i.imgur.com/KoDJrIa.png?1

      The steam window is too small and non-resizeable.

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      @JonWhoa: Try opening terminal and installing jockey-common, the command is sudo apt-get install jockey-common

      @Engie: That's odd. You can try steam -applaunch 440

      This will start steam and try to start up tf2, you might be able to get the item that way. But yeah looks like there was some issue with steam install or configuration or driver problem, hard to say.

    • profile image

      Jacob 4 years ago

      I had the problem JonWhoa had, but it never opened steam. I did install jockey-common after, and Now im having the Segregation problem...

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      Looks like an odd issue, not sure why it's happening. I have not been able to replicate it myself.

      The only other thing I would suggest is a full system update via sudo apt-get update

      Also make sure enough ram and space is available for the virtual machine.

    • profile image

      Jacob 4 years ago

      Yep. Updated the system, 4gb of ram, and 80gb hard drive. I wonder if it is because i have a 64 bit os, trying to run a 32 bit VM idk.

    • profile image

      fr334al 4 years ago

      i don't understand step 5 D:

    • profile image

      JonWhoa 4 years ago

      Ok, so I just found out that it needs 100 more MB of free space to update Steam. how do I do that?

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      @Jacob: Yeah could be something weird like that, no idea. Technically 32bit applications should be supported, but could be a bug or something. No idea. I guess you can try install lubuntu 12.10 from ISO or ubuntu 12.04 from ISO into virtual box instead.

      @fr334al: Watch the video or read carefully, also check comments.

      @JonWhoa: Follow steps to increase virtual hard drive space using the cmd and GParted or remove applications like Libre Office from Ubuntu Store or Synaptic Package Manager.space is what you will need.

    • profile image

      Milshake 4 years ago

      Sorry one more time i call you, and thx for last answer its very helpful, so now when i start the game team fortress 2 they say me : "This game is currently unvailable, please try ugain"

      Some Help thank u :)

    • profile image

      JonWhoa 4 years ago

      Ok, I tried using GParted, but the cmd prompt command "\Program Files \Oracle\VirtualBox\VBoxManage modifyhd "C:\ubuntu-12.10-desktop-i386.vdi" --resize 40000" comes back saying stuff like "Could not find file for the medium ''C:\ubuntu-12.10-desktop-i386.vdi" (VERR_FILE_NOT_FOUND)" and other errors. Sorry for the difficulty, and thanks so much for responding to these questions.

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      @Milshake: Make sure you have enough space.

      @JonWhoa: Make sure the path for the vdi is correct, is it located in C:\ubuntu-12.10-desktop-i386.vdi? If not modify the path so it's correct.

    • profile image

      Robin 4 years ago

      I have the same problem as JonWhoa when I type in

      VBoxManage modifyhd "C:\Users\Wong\Desktop\ubuntu-12.10-desktop-1386\ubuntu-12.10-desktop-1386.vdi

      It gives me this: http://prntscr.com/tnw9a

      (I was following the video created by failureandersenboi, and I know that I put the vdi file on my desktop)

    • profile image

      Collin 4 years ago

      I follow your instructions exactly but I can't get past the boot screen. Could this be an architecture or windows 8 issue?

    • profile image

      David 4 years ago

      It says the system is running in low graphics mode. It says my screen, graphic card, and input settings could not be detected and I will have to configure these myself. When I press OK, it gives me 4 options:

      "run in low graphics mode" which doesn't work XD

      "reconfigure graphics" which i don't know how to do.

      "troubleshoot error" which doesn't work as well

      and "exit to console login" which I don't know what it does

      Thanks for the help :)

    • profile image

      Andersen 4 years ago

      @Robin: It's "ubuntu-12.10-desktop-i386" and not "ubuntu-12.10-desktop-1386". I hope you found my video useful. :)

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      @Andersen: Good catch.

      @Collin: Sorry I have no idea about Windows 8, it could be. I have tried this under Windows XP and Windows 7, and people have told me this guide works under OSX. If you get a specific error let me know I will take a look into it.

      @David: This is an odd issue, something is wrong. Are you sure you allocated enough MB for the video card under VirtualBox? If you can get to a terminal or use the reconfigure option you can try:

      sudo dpkg-reconfigure xserver-xorg

      followed by:

      sudo reboot

      However if it's a setting issue this will not work, I would check over the virtual machine settings first. Also which OS are you using to run VirtualBox?

    • profile image

      Milshake 4 years ago

      "@Milshake: Make sure you have enough space."

      I'm sorry but can you tell me how get more space in my ubuntu, thank u !

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      If you are using VirtualBox take a look at Step 3 of this guide, or check the video guide.

    • profile image

      JonWhoa 4 years ago

      OK, so now it says "Cannot register the hard disk 'C:\whateverpath\ubuntu-12.10-desktop-i386.vdi' because [that hard disk] already exists

    • profile image

      MattiieG 4 years ago

      i get this error when i try starting ubuntu, any help? (Failed to open a session for the virtual machine Ubuntu.

      VT-x features locked or unavailable in MSR. (VERR_VMX_MSR_LOCKED_OR_DISABLED).

      Result Code: E_FAIL (0x80004005)

      Component: Console

      Interface: IConsole {db7ab4ca-2a3f-4183-9243-c1208da92392}

    • profile image

      David 4 years ago

      I think I used the same amount of MB in the guide. I tried to use the reconfigure option but it didn't work. I don't know how to check over the settings of the virtual machine so... yea... And the Operating System I use is Windows 7.

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      @David: If you right click on the Ubuntu virtual machine inside of VirtualBox you can click settings. Look through all the tabs and let me know, how much RAM and Video Card Memory you have allocated to Ubuntu. I haven't been able to replicate your problem, I tried a couple of times not sure. It's possible it's a bug or a setting or something went wrong like you missed a step or messed up a command.

      @JohnWhoa: Perhaps try this:

      http://www.bradleyschacht.com/virtualbox-cannot-re...

      @MattieG: I read that it may have something to do with a feature inside your PC inside your BIOS. You may have Hardware Virtualization either disabled or unavalible. Some people suggest that Dell computers are prone to having Hardware Virtualization disabled by default. In some cases you may need to update your BIOS or figure out how to enable this feature. This is sort of complicated not sure if it's worth it, but maybe look into it. At least let us know which system you use, like a model number of the computer if it's not custom built. Without Hardware Virtualization enabled, you would not be able to use VirtualBox or VMware.

    • profile image

      David 4 years ago

      @alexmk It says I have 1541 MB of RAM used for this Virtual Machine and for video card memory I have used 128 MB. If it helps, I can show you a few screenshots if needed.

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      Yeah that should be more then enough. It's an odd problem, I would start from scratch or try installing a default install using ISO and then install Virtual Guest Tools 4.2.2. Sorry not sure how to help you otherwise, but good luck.

    • profile image

      FamusJamus 4 years ago

      A note for multi-HD users:

      When using cmd.exe to change the size of the partition, you must identify the drive you installed VirtualBox on before using the cd command (e.g. Type "E:" without quotes and pressed enter before you use cd "E:\blahdeblah\").

      At least, that's what Google told me to do.

    • profile image

      JonWhoa 4 years ago

      Ok, so now when I do it, when I try to open VirtualBox, it gives me this error: Failed to open a session for the virtual machine Ubuntu 12.10.

      No error info.

      Result Code: E_FAIL (0x80004005)

      Component: ProgressProxy

      Interface: IProgress {c20238e4-3221-4d3f-8891-81ce92d9f913}

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      @JonWhoa: Disabling network booting up the vm and shutdowning, enabling it again appears to be the solution based on this post: https://forums.virtualbox.org/viewtopic.php?f=6&am...

    • profile image

      Marx 4 years ago

      The sudo apt-get update command does nothing for me. Just sits there.

    • profile image

      JonWhoa 4 years ago

      Ok, I have that done, now when I try to run steam, it gives me an error and it says to install jockey-common. However, when I try to install it, it gives me the message: "Could not get lock "whateverlockitis" Resource temporarily unavailable" and it says "is another process using it?"

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      @Marx: After you enter the command it should ask you for your password and then begin updating. If it's not working I'm not sure, perhaps the virtual machine is damaged in some way. Sorry couldn't help more, but it's rather difficult without having access to the machine myself.

      @JonWhoa: I would try restarting, seems like you might have steam running already because another process is locked on to it.

    • profile image

      Pauli 4 years ago

      Hi there, i also got some Problems like some other people :

      All I see is the default background after I log in. I can still open up the terminal with Ctrl+Alt+F1 and carry out commands.

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      Like I mentioned earlier, you can try to do an update via sudo apt-get install.

      I'm not really sure what is causing this problem, but I have a feeling you guys might be running a 64 bit system? Could be a bug.

    • profile image

      Stranger 4 years ago

      Thx!

    • profile image

      //// 4 years ago

      Anybody else having Steam randomly shut down while installing? I got to about 85% downloading TF2, but periodically Steam shuts itself down. Wasn't much of a big deal because the download still kept going but once it hit 85% and shut down, when I reopened, it for some reason started again at 0%. I'm starting to think I'll run out of time.

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      Never came across this issue, are you certain you have enough space?

      I would recommend downloading the files on Windows and then moving the gcf files to the Virtual Machine.

    • profile image

      FireStarter101 4 years ago

      i can't get steam to start up i see it launch at the bottom and then it closes

    • profile image

      dylan 4 years ago

      Great tut

      Everything is good until I get to --resize40000. Cmd tells me it failed to create..... "Most likely, the VirtualBox COM server is not running or failed to start." Any solutions?

      Also, I started Ubuntu without this step and tried to find the gcf files, but they are hidden and ctrl+H doesn't work. So if I install TF2 from scratch, will it still run?

    • profile image

      FireStarter101 4 years ago

      @dylan

      cd C:\Program Files\Oracle\VirtualBox

      VBoxManage modifyhd C:\........\ubuntu-12.10-desktop-i386\ubuntu-12.10-desktop-i386.vdi --resize 40000

      this is the line i used just put the rest of your path in the middle

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      @FireStarter101: If you open a terminal and type steam, it will try to start it up. If it fails it will provide an error inside of the terminal.

    • profile image

      dylan 4 years ago

      @firestarter

      I just misspelled a bunch of times. thanks for help tho!

    • profile image

      FireStarter101 4 years ago

      this is what i am getting

      ubuntu@ubuntu-VirtualBox:~$ steam

      Running Steam on ubuntu 12.10 32-bit

      STEAM_RUNTIME is enabled automatically

      Installing breakpad exception handler for appid(steam)/version(1361807486_client)

      Looks like steam didn't shutdown cleanly, scheduling immediate update check

      Installing breakpad exception handler for appid(steam)/version(1361807486_client)

      [2013-03-01 06:10:41] Checking for update on startup

      [2013-03-01 06:10:41] Checking for available updates...

      Installing

      breakpad exception handler for appid(steam)/version(1361807486_client)

      [2013-03-01 06:10:41] Download complete.

      [2013-03-01 06:10:41] Verifying installation...

      unlinked 0 orphaned pipes

      Gtk-Message: Failed to load module "overlay-scrollbar"

      Installing breakpad exception handler for appid(steam)/version(1361807486_client)

      [0301/061043:WARNING:proxy_service.cc(646)] PAC support disabled because there is no system implementation

      Installing breakpad exception handler for appid(steam)/version(1361807486_client)

      Installing breakpad exception handler for appid(steam)/version(1361807486_client)

      Installing breakpad exception handler for appid(steam)/version(1361807486_client)

      /home/ubuntu/.local/share/Steam/steam.sh: line 700: 1989 Segmentation fault

      (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$PLATFORM/$STEAMEXE" "$@"

      ubuntu@ubuntu-VirtualBox:~$

    • alexmk profile image
      Author

      alexmk 4 years ago from Canada

      Looks to me like a steam update problem, I would try removing steam and re-installing.

      You can remove steam with:

      sudo apt-get remove steam

    • profile image

      Wolfeye 4 years ago

      Thank you very much for the guide and the help. It took me a few hours because of an old computer but I managed to get the tux.

    • profile image

      J~ 4 years ago

      I hope someone can help me, I recently followed most of the guide (didn't do some of the optional) but aside form that I followed it to a T. Anyhow once I start up the machine and log in it seems to just sit there and refuse to load up the desktop icons and such and just show the (admittedly nice looking wallpaper) but nothing else.

    • profile image

      J~ 4 years ago

      Nvm It's because I run a 64 bit computer, is there anyway to still install linux through the VA and get the penguin?

    • profile image

      some guy 4 years ago

      is it still possible cuz its been 1st of march???

    • alexmk profile image
      Author

      alexmk 3 years ago from Canada

      Sorry for the late response, Tux is no longer obtainable. However it may become tradable at some point.

    • profile image

      nevelshute 3 years ago

      Sorry to be so pedantic, but just a correction to your English.

      You wrote:

      "If you are interested in getting Tux but do not want to install a new operating system then..."

      The correct form is:

      "If you are interested in getting Tux but do not want to install an operating system then..."

    • profile image

      iyanriana 2 years ago

      Dear alexmk, thank you for your tutorial. It's very useful. And also I created my own tutorial in Bahasa, here we go: http://iyanriana.com/tech/ubuntu/tutorial-cara-ins...

    Click to Rate This Article