Successfully Install Windows XP on VirtualBox

A couple weeks ago I was complaining about how I got a Fatal error while starting VirtualBox in Ubuntu. About five days later I stumble upon claudio‘s page: VirtualBox: Install Windows XP using pbx boot. I followed his advice to install the binaries instead of the open source (OSE), which has failed me many times. Claudio has all the credits and without his tutorial, I will not be able to run Windows on my Ubuntu machine. Please, if you are reading this post, come by his page and give him some love…

Below is a tutorial based on Claudio’s tutorial, but I cut out the unnecessary stuff and add a section on how to assign user to group visually (for newbies and ultra-beginner like me).

Install VirtualBox in Ubuntu

  1. Download the .deb file here. Choose your appropriate OS and download. This is the binaries version and also a deb file so it would be very easy to install.
    Note: Do not use Synaptic to install OSE package. It did not work for me. The x86 version is for intel, and amd64 is for AMD chips.
  2. Double click on the .deb package to install. There will be several announcement makes during installation, but don’t worry, we will take care of it.
  3. We need to add users into vboxusers in order to use VirtualBox. Follow the instructions below. We can do it graphically.

Assigning Users to Group – Graphic

  1. System -> Administration -> Users and Groups
  2. Select Unlock.
  3. Enter your Password and click Authenticate.
  4. Select Manage Groups.
  5. Double click on vboxusers group or select it and click Properties to edit group.
  6. Check the members you would like to add to the group, make sure you are one of them.
  7. OK and close. You have added users into group.

You are now able to use VirtualBox. Below is a good youtube tutorial, check it out if you like.

How To Restore The Original Panel And Menu Bar in Ubuntu

New Solution

Note: The old solution no longer worked for me, I found a new solution and posted it here.

Open Terminal: Ctrl+Shift+T

Execute these three commands:

gconftool-2 --shutdown
rm -rf ~/.gconf/apps/panel
pkill gnome-panel

The panels should reappear without logging out.

Old Solution

Note: This no longer works for me, but I leave it here for those who would like to try. After all, this solution saved me once, and it once worked just fine.

Well, I deleted my top panel by accident today. When I create a new one, some of the original items such as wire network connection, PMC volume control, notification area, date and time… are not there any more. Some of them are no where to be found in the items listed for adding new items onto panels. Anyhow, a quick Google search let me to the solution, found here and quoted below.

Open Terminal: Ctrl+Shift+T

Execute these three commands:

gnome-session-remove gnome-panel
gconftool-2 --recursive-unset /apps/panel
gnome-panel &

Then logout and log back in, or restart you X server with CTRL+ALT+BACKSPACE , everything should be fine.

Note: During this process, all panels, including the top and bottom, will be deleted and restore to the default settings. So, if you delete the bottom panel, this also restores it.

Fatal Error in VirtualBox

I just installed Virtual box a few days ago to run Windows inside Ubuntu. But after messing with group permission and upgrades, there was an error similar to the one below.

Could not load the settings file ‘/home/MyUsername/.VirtualBox/OpenSUSE 10.3.xml’ (VERR_OPEN_FAILED).

FATAL ERROR: Unknown element ‘PXEDebug’

Whatever it was, I kept getting it after multiple removals and reinstallations. Ubuntu forum did not have a solution, or at least not the one that worked for me. So, I decided to come up with a solution myself and it was incredibly simple. The goal is to remove the .xml file and then reinstall VirtualBox.


  1. Entering Synaptic.
  2. Search for “virtualbox” and uninstall all VirtualBox packages.
  3. Then open your home folder,
  4. On the menu bar, select View -> Show hidden files and folder.
  5. Delete the folder called “.VirtualBox“. This will erase the annoying .xml file.
  6. Reinstall VirtualBox like usual. For instruction on how to install, visit Ubuntu community.

Worked like a charm. Try it out. Cheers.

Uninstall Google Desktop in Ubuntu

Well, I’m bored of Google Desktop already since I upgraded to Hardy. The new Tracker in hardy is better integrated into the system. I got the instruction from Google Desktop Help Center.

To uninstall Google Desktop:

  1. Open Terminal: Applications -> Accessories -> Terminal
  2. Enter:
  3. sudo dpkg -r google-desktop-linux

  4. Type in your password and hit Enter. You have uninstalled Google Desktop.

I am still trying to install Google Gadget. Check it out if you are interested. Pretty messy though.

Restart Your X…

I just learn about how to restart my X session today. To Restart your X session:


This will kill your current session, log you out and restart. It is much quicker than rebooting your computer – two seconds vs one minute, anyone? Also, restarting your X session will allows certain changes to take effect and it will sometimes compensate for rebooting your machine.

I love this. I wish Windows have this kind of option instead of asking me to restart my computer every ten minutes after an update. Honestly, if Windows allow some similar way without rebooting, I will have no problem with those annoying alerts and very happy to restart.

And, another benefit of this is it kills everything. Yes. Remember those times when you are trying to get the Task Manager or System Monitor to start so you can kill some applications but it takes forever? Yeah, with the almighty buttons, I can KILL everything, without any manager or monitor. Awesome. Buwahhaha.

Have fun.

Hardy and GeForce 7200

Note: Geforce and Hardy now work on my computer perfectly. See this post. All I did was downgrade to 7.10 and then upgrade back into 8.04. And everything was fine. I assume that the new upgrade has something to do with it. But no guarantee.

I finally upgraded to Hardy, thinking that it was finally my time to catch up to the rest of the world. As I suspected, the new driver for my GeForce 7200 did not work at all. After the installation and a reboot, no graphic card was detected and my display went back to low resolution. I was ticked off big time since I’m one of those people paying attention to details and appearance. This is almost as upsetting as the time when I found out about the memory leak problem with Compiz on nVIDIA graphic card.

There was no solution for this issue that worked for me. So I decided to uninstall the new driver package and to stick to 2D display, which was not too bad at all. The only loss is that I would not be able to run Compiz, which was already problematic by itself. Oh, there are many other “pretty” software that require 3D acceleration. But I guess I can live without them… Maybe.

Sorry that I failed to provide a solution and I did nothing but to whine about it. If you do get problems after installing the new driver, I offer a solution to roll back in Hardy. It’s 1 am. in the morning so there won’t be much graphic here because I’m too tired to edit those snapshots. Now, since I am not sure what is really going on, I can’t guarantee that my solution will work on all Ubuntu machines.

Problem: Install the new NVIDIA driver in Hardy – package nvidia-glx-new – but after reboot there was an error announces that no graphic card was detected and the display goes back to low resolution. The error persists after enabling the driver and reboot. Below is how to roll back.


  1. Enter Synaptic: System -> Administration -> Synaptic Package Manager.
  2. Hit Ctrl+F to search or click on the binocular icon. Search for glx.
  3. Remove nvidia-glx and nvdia-glx-new by clicking on them and select “Mark for complete removal.” Note that this means you will not have any 3D acceleration at all.
  4. Restart the computer.
  5. Enter Recovery mode when Grub starts. This mode in Hardy will provide some basic options.
  6. Select Repair packages and then Repair X sever. I’m not sure why but it worked.
  7. Hit Esc or select Resume to boot back into Ubuntu.
  8. Everything should look fine now.

Well, I can live without 3D acceleration. How about you?

Failed To Initiate HAL – Solution: Reinstall Gutsy

When I was trying to install Google Gadget, which was a horrible failure, I encountered the “Fail to initiate HAL” error right after a reboot. It took five minutes to boot into the system, where the error message pop up. The damage was terrifying for me. It cut out the internet!! I felt like I was on an Island with no one around. I know Ubuntu screws up alot, but cutting out the internet leaves me clueless. I had no idea what to do…

I borrow a computer from a friend to look for the solution, it took me two hours and the problem was not solved still. Well, my rule of thumb is if any error takes me more than 2 hours to fix, a complete OS reinstallation is the best solution. (This applied to Windows too -> and I got the idea from Get it done Guy). It took me 20 minutes to be back online. Lovely. See, that was so much easier.

So, the lesson is, if you have a major error that took so much time to fix, a complete reinstallation may serve you better and ensure your productivity.

Installing Google Desktop in Ubuntu

Last night, I was listening to Loaded on Cnet. Google Desktop is now working on linux. Google Gadgets is now working on Linux while Google Desktop has been on Linux for years. Google Desktop has never been my favorite gadget, but I still want to check it out. The installation process is super easy, there aren’t much to put here. But below is the tutorial anyway. There is a new tutorial on how to uninstall Google Desktop and I added that new section below too.

Install Google Desktop

  1. Download your Google Desktop package here. For Ubuntu users, download the .deb package.
  2. Double click on the .deb package, there will be an install button if you haven’t installed Google Desktop yet.
  3. Click install. Then wait
  4. Close the Package Installer window.
  5. Your Google Desktop launcher is located at Applications -> Others -> Google Desktop.
  6. And if you log out and log back in, the Google Desktop option will be right in your Applications.

Have fun, you must download the gadgets separately. Google Desktop only allow search index. I will post a tutorial on how to install Google Gadget; the steps are more troublesome than I expected.

Update: installing Google Gadgets is a pain in the a**. After 9 hours of trying, I finally gave up. For those of you who wanted to try, visit this page for an easy compilation or this page for detail installation. This is still in beta and there are numerous bugs, so it’s not for the faint of heart (is that even a right phrase in American English? oh well.)


To access preferences, right click on the Google Desktop Icon. Your browser will open up to the Preferences page.

Problem: I just encountered a problem while trying to access Google Desktop Preferences. The Preferences windows will not appear. So to edit preferences for google desktop, you are going to do it manually with your web browser.

  1. Open your internet browser, navigate to
  2. Chose more -> Desktop
  3. Select Desktop Preferences
  4. There you go, select your options.

Now, this is a way to work around this problem, it is not a good solution, if you know any other (better) way, please let me know.

Uninstall Google Desktop

To unistall Google Desktop:

  1. Open Terminal: Applications -> Accessories -> Terminal
  2. Enter:
  3. sudo dpkg -r google-desktop-linux

  4. Type in your password and enter. You have uninstalled Google Desktop.

Restoring Grub.

Just a few minutes ago, I got a HFS+ Partition Error while trying to boot into my OS X. So, I decided to mess with it a little bit. Actually, I reinstalled OS X and messed around some more (the whole process took 3 hours). Somehow, my Grub was gone after the reinstallation. There went my beloved boot manager, who had saved me so many times. I went right to the first stage of grief, denial. I put my Ubuntu live CD in, loaded Firefox on and search for the solution. Folks at had found the solution years ago. So I just summed everything up, it’s all their credits. (If you are not a member of join now! it’s awesome.)

Restoring Grub with a Ubuntu Live CD.

You are going to need the Ubuntu Live CD.

  1. Insert the Live CD and boot into Graphic Mode.
  2. Open Terminal: Applications -> Accessories -> Terminal
  3. Enter the Grub Shell.

    sudo grub

  4. Look for your grub files location.

    find /boot/grub/stage1

  5. The returned value from the command above is used for the command below. Scan the partition.

    root (hd?,?)

  6. Substitute the returned value into (hd?,?) above. For instance, if my returned value is (hd0,2), I will enter:

    root (hd0,2)

  7. Now, we reinstall Grub.

    setup (hd0)

  8. Quit Grub.


  9. Close Terminal and Restart. Grub will starts back again.

I took a snap shot of this whole process. Take a look.

Mounting And Unmounting ISO Images In Ubuntu.

I just found a very simple way to mount ISO images in Ubuntu without having to install any complicated software. A throughout tutorial is provided at In fact the tutorial is so good that I felt guilty to copy it over. Sorry. Follow the instructions, you will get it. Below is a brief instruction on how to mount ISO images using scripts. Again, this is totally from, so make sure you give them some credits. (and yes, I felt guilty for doing this, but I just didn’t want you to stop by for nothing.)

Using Nautilus Scripts

  1. Download 2 scripts: Mount ISO images and Unmount ISO images.
  2. Save the files to your Home directory because my codes below will prefer to that directory.
  3. Open Terminal: Application -> Accessories -> Terminal
  4. We need to change the permission to use the scripts downloaded above.
    Note: substitute your username into “username.”
  5. sudo chmod +x /home/username/

    sudo chmod +x /home/username/

  6. Now we need to move them to nautilus scripts
  7. sudo mv /home/username/ ~/.gnome2/nautilus-scripts/

    sudo mv /home/username/ ~/.gnome2/nautilus-scripts/

    Now, every time you right-click, there will be an option named Scripts. You can mount and unmount ISO images by selecting the options.