James Selvakumar’s Blog

May 4, 2009

gOS on VirtualBox

Filed under: unix-linux,virtualization — James @ 12:44 pm
Tags: , ,

gOS or “Good OS” is an operating system based on Ubuntu. What makes gOS special is it’s “mac” like look and feel, out of the box support for google apps like Gmail, Google Docs, Picasa, Youtube etc through a special mozilla application called prism.

gOS also provides skype, wine in the default installation. Since gOS is based on Ubuntu, ubuntu users will feel right at home when using gOS. All these facts prompted me to go after gOS.

I downloaded gOS after a lot of struggle from their website. They call the operating system as gOS gadgets which really confused me. Only after figuring out the size of the iso, I was convinced that I’m downloading the operating system. Also the website seems less informative and not well organized.

Keeping those things aside, let us quickly see how to install gOS as an guest in VirtualBox. Follow these steps to install gOS as a virtual machine in your VirtualBox:

Download the respective “iso” image from the gOS download site.

  • Open VirtualBox, click “New” to add “gOS”as the virtual machine.
  • Choose “Linux” as the operating system and “Ubuntu” as the version.
  • Complete the rest of the virtual machine setup by giving appropriate details.
  • Mount the gOS “iso” image in the CD/DVD ROM section of the new virtual machine you just created.
  • Start the virtual machine and proceed with the installation.
  • Once the installation is complete, boot into your gOS virtual machine.
  • Once you boot into the gOS virtual machine, open the terminal and type “sudo apt-get install gcc make automake autoconf“. This will install the necessary build tools which is needed to install the virtualbox guest additions.
  • Now click “Devices -> Install Guest Additions” to install the guest additions for this virtual machine.
  • Once the guest additions are installed, restart your virtual machine. If the screen resolution of your virtual machine is still small, follow the steps mentioned in this tombuntu post and reboot your virtual machine.
  • You can still go and configure things like “enabling smooth fonts” etc to make your experience with gOS pleasant.

August 7, 2008

Stunning OpenSolaris running on VirtualBox

Filed under: opensolaris,unix-linux,virtualization — James @ 1:05 pm
Tags: , ,

With VirtualBox in hand, installing operating systems is just like installing firefox or 7zip. It’ so easy. Previously I use to shy away from trying linux, but now, I never miss to install my favourite linux distros in my windows xp machine. Thanks VirtualBox.

Having tried many versions of Ubuntu, Fedora, OpenSuse and PCLinuxOS, I thought of trying Solaris, but it was never easy. I ordered a free Solaris DVD from Sun but it would never install inside VirtualBox. I always viewed Solaris as something very complex to setup and needs extensive knowledge about it. My experience of installing it on VirtualBox reinforced it. I kept trying few times and eventually gave up.

But this is history now. As Sun took over VirtualBox from innotek, I hope the first thing they did was to provide excellent support for Solaris in it. Recently as I was pondering the VirtualBox website, I saw that they are providing good integration with Solaris in their latest version. What do you think I would have done…?

You are right. I straightaway dowloaded the latest version of VirtualBox along with OpenSolaris. (OpenSolaris iso image was only 686MB). What happened next was simply stunning…

(more…)

July 22, 2008

Easiest way to try linux on windows

Filed under: unix-linux,virtualization — James @ 2:25 pm
Tags: , ,

Ever had these questions in your mind..?

- You are a windows user but want to try linux

- You are interested in trying linux but don’t want to ditch windows either

- You want linux and windows in your machine without disturbing each other

- You are afraid of installing linux as it might make your machine unusable or might destroy your data

If your answer is “yes”, read further…

(more…)

February 24, 2008

Installing NetBeans 6.0 on Ubuntu-7.10

Filed under: netbeans,virtualization — James @ 4:40 pm

I followed the instructions mentioned in this NetBeans Wiki to install NB 6.0 on my ubuntu.

But I feel some more information can be added to this wiki.

For example, when i ran the command “sudo apt-get install sun-java6-jdk“, ubuntu complained to me that this package is not found in its repositories.

The problem here is that the package sun-java6-jdk is available in the ubuntu “multiverse” repository which is disabled by default.

In ubuntu, the repositories are defined in the file “/etc/apt/sources.list”. Take a backup of this file, in case if you want.

Now open this file and uncomment the lines which define the “universe” and “multiverse” respoitories.

It should look something like this now:

# Line commented out by installer because it failed to verify:
deb http://us.archive.ubuntu.com/ubuntu/ gutsy universe
# Line commented out by installer because it failed to verify:
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy universe
# Line commented out by installer because it failed to verify:
deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates universe
# Line commented out by installer because it failed to verify:
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
# Line commented out by installer because it failed to verify:
deb http://us.archive.ubuntu.com/ubuntu/ gutsy multiverse
# Line commented out by installer because it failed to verify:
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy multiverse
# Line commented out by installer because it failed to verify:
deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse
# Line commented out by installer because it failed to verify:
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse

The job is not done yet.

Run the command “sudo apt-get update” in the terminal to instruct ubuntu to update the package details w.r.t the repositories we enabled just now.

The process might take some time. Wait patiently.

Once the update is done, ensure that the “sun-java6-jdk” package is available in the repositories, by issuing the command “apt-cache search sun-java6-jdk“. You might get something like this in the terminal window:

james@kuttima-gifty:/etc/apt$ apt-cache search sun-java6-jdk
sun-java6-bin - Sun Java(TM) Runtime Environment (JRE) 6 (architecture dependent files)
sun-java6-jdk - Sun Java(TM) Development Kit (JDK) 6
sun-java6-jre - Sun Java(TM) Runtime Environment (JRE) 6 (architecture independent files)

Now we are rest assured that our desired packages are available.

Now run the commmand “sudo apt-get install sun-java6-jdk” in the terminal. Depending on your connection speed, this might take quite some time.

Then just follow the instructions to complete the installation.

In the meanwhile, don’t forget to download the “netbeans 6.0″ installer from netbeans.org. Once you downloaded the installer, you can run it by navigating to the appropriate folder.

In my case, i needed to issue the following command:

sudo sh netbeans-6.0.1-ml-javaee-linux.sh

This will invoke the netbeans installer and just follow the instructions to complete the installation process.

That’s it, netbeans will install itself smootly on your machine.

February 23, 2008

Installing VirtualBox guest additions in OpenSuse

Filed under: unix-linux,virtualization — James @ 6:45 am
Tags: ,

I managed to install the VirtualBox guest additions for ubuntu without any problem. And as a result, I get some excellent features like “seamless mouse integration”, shared folder access etc, between my host (windows xp) and guest (ubuntu).

But when I tried to do the same for OpenSuse, I got into problem. I couldn’t run the VBoxLinuxAdditions.run from the terminal. I received an error messaage saying that “Please install GNU make, Please install GNU compiler”.

Then when I searched the web, I found this link quite useful.

As such, I executed this command in the OpenSuse terminal:

sudo zypper install gcc make automake autoconf kernel-source

It asked for my “root” password, and when i entered, it downloaded the necessary packages. (Though, i received an information that autoconf cannot be installed)

It took nearly 1 hour to download and install the necessary packages on my machine.

Then I ran the command:

sudo sh VBoxLinuxAdditions.run

after navigating to the appropriate “media” directory.

Then I was notified to restart the OS. And after that, I was able to use all the features I use with “ubuntu” as guest.

I also noticed that my OpenSuse resolution automatically increased to 1024×768 after installing the VirtualBox guest additions. (It was previously 800×600 only)

February 22, 2008

Sharing Windows XP folder with Ubuntu

Filed under: ubuntu,virtualization — James @ 4:06 pm

Since i’m new to ubuntu, all my files were basically residing in windows xp.
As i was working with ubuntu, i thought of relaxing a bit by viewing some photos taken recently. But all of them were sitting inside my xp and i need some way to access it.

Transferring them via usb is an option, but i wanted an even elegant solution. Then i came to know that VirtualBox supports “sharing” folders between “host” and “guest” operating systems.

I read in the VirtualBox manual, that “sharing” folders between “windows” host and “windows” guest is more or less seamless. But “sharing” between “windows” host and “linux” guest need some additional work.

But it’s not very tough.

First i needed to configure the shared folder in my VirtualBox. I clicked the menu “Devices->Shared Folders” to configure the sharing. And I choose a folder in my xp machine and gave a share name to that.

Then i opened the terminal in ubuntu and created a directory called share under “mnt” so it looks as “/mnt/share”. This required “admin” privileges.

Then i executed the command: sudo mount -t vboxsf myphotos /mnt/share
in the terminal. That’s it.

And this how it looked after that in the FileBrowser:

Increasing the screen resolution of Ubuntu-7.10 on VirtualBox

Filed under: ubuntu,unix-linux,virtualization — James @ 3:25 pm
Tags: , ,

Oops…finally i managed to configure my ubuntu screen resolution to the fullest.

I have a Dell Vostro 1400 laptop with Windows xp professional. Ubuntu runs on my machine on top of VirtualBox.

But I never enjoyed working with ubuntu, since all i was able to view the ubuntu desktop at the resolution “800×600″ only.

After searching through the web, I finally managed to get the full resolution supported by my notebook. (1280×800).

These are steps i followed:

- installed the virtual machine add-ons provided by VirtualBox
- opened the /etc/X11/xorg.conf file and added the the resolutions “1280×800″ and “1024×768″ under the “Screen” section…

So here is how my xorg.conf file looks now…

———————————————————————————————-
# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type “man xorg.conf” at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section “Files”
EndSection

Section “InputDevice”
Identifier “Generic Keyboard”
Driver “kbd”
Option “CoreKeyboard”
Option “XkbRules” “xorg”
Option “XkbModel” “pc105″
Option “XkbLayout” “us”
EndSection

Section “InputDevice”
Identifier “Configured Mouse”
Driver “vboxmouse”
Option “CorePointer”
Option “Device” “/dev/input/mice”
Option “Protocol” “ImPS/2″
Option “ZAxisMapping” “4 5″
Option “Emulate3Buttons” “true”
EndSection

Section “InputDevice”
Identifier “Synaptics Touchpad”
Driver “synaptics”
Option “Device” “/dev/psaux”
Option “Protocol” “auto-dev”
Option “HorizEdgeScroll” “0″
EndSection

Section “InputDevice”
Driver “wacom”
Identifier “stylus”
Option “Device” “/dev/input/wacom”
Option “Type” “stylus”
Option “ForceDevice” “ISDV4″ # Tablet PC ONLY
EndSection

Section “InputDevice”
Driver “wacom”
Identifier “eraser”
Option “Device” “/dev/input/wacom”
Option “Type” “eraser”
Option “ForceDevice” “ISDV4″ # Tablet PC ONLY
EndSection

Section “InputDevice”
Driver “wacom”
Identifier “cursor”
Option “Device” “/dev/input/wacom”
Option “Type” “cursor”
Option “ForceDevice” “ISDV4″ # Tablet PC ONLY
EndSection

Section “Device”
Identifier “Generic Video Card”
Driver “vboxvideo”
BusID “PCI:0:2:0″
EndSection

Section “Monitor”
Identifier “Generic Monitor”
Option “DPMS”
EndSection

Section “Screen”
Identifier “Default Screen”
Device “Generic Video Card”
Monitor “Generic Monitor”
DefaultDepth 24
SubSection “Display”
Modes “1280×800″ “1024×768″ “800×600″
EndSubSection
EndSection

Section “ServerLayout”
Identifier “Default Layout”
Screen “Default Screen”
InputDevice “Generic Keyboard”
InputDevice “Configured Mouse”

# Uncomment if you have a wacom tablet
# InputDevice “stylus” “SendCoreEvents”
# InputDevice “cursor” “SendCoreEvents”
# InputDevice “eraser” “SendCoreEvents”
InputDevice “Synaptics Touchpad”
EndSection

——————————————————————————————-
And the only change i made was here:

Section “Screen”
Identifier “Default Screen”
Device “Generic Video Card”
Monitor “Generic Monitor”
DefaultDepth 24
SubSection “Display”
Modes “1280×800″ “1024×768″ “800×600″
EndSubSection
EndSection

I just added “1280×800″ “1024×768″ under the SubSection “Display”.

Fortunately this worked for me.

(Note: I actually got this information from a VirtualBox forum thread and I sincerely thank the guy who provided this information. Thank you very much really)

Whatmore, if you choose the “Full screen mode” in VirtualBox, you get a feeling of just running ubuntu…

Ya, now i feel, i can slowly leave behind windows xp behind me…

More Ubuntu articles

Convert audio files in Ubuntu with Sound Converter

Convert video files in Ubuntu with FormatFactory

February 21, 2008

Fedora 8 added to my Linux armour

Filed under: unix-linux,virtualization — James @ 4:10 pm
Tags: , ,

First ubuntu, then open suse, now fedora….

Yes, now I have Fedora 8 installed on my machine, courtesy VirtualBox.

One interesting thing is they all have a fairly similar user interface. And all the three look very promising and very interesting.

Interesting times ahead…

(I would like to explore solaris next. If you have installed solaris on top of VirtualBox, please offer your suggestions to me)

February 19, 2008

OpenSuse 10.3 on VirtualBox

Filed under: unix-linux,virtualization — James @ 2:59 pm
Tags: ,

Impressed by ubuntu and being helped by VirtualBox, I decided to explore further into the linux world.

So I thought of installing openSuse 10.3 on my VirtualBox. I downloaded the gnome “live cd” (iso image) from opensuse.org. The download size was around 643 MB and it took quite some time to download the image.

Then I started VirtualBox and added a new empty virtual machine named “OpenSuse-10.3″ along with the necessary virtual hard disk. I decided to give 8 GB and 512 MB RAM for opensuse.

Then i mounted the downloaded “iso” image to the virtual machines cd drive and started the empty virtual machine. So the open suse live cd booted (much like ubuntu live cd environment) and then i clicked the “install” icon on the live cd’s desktop.

To my surprise, the installation was very very fast and amazingly simple. I would say that my opensuse installation experience was better than what I experienced with ubuntu.

Though ubuntu installation is also quite easy and smooth, opensuse installation was like installing a normal windows application. Great work.

I had to make only very few configurations to proceed with the install and the installation took less than 15 minutes.

Then i unmounted the live cd from the virtual cd drive and then restarted the virtual machine.

Wow, opensuse booted up quite beautifully and now it asked for some minor configurations like username and password.

Great. My opensuse installation was completed in notime.

And did you know what was the first activity I did after installing it? Blogged about it.

Ya. I’m writing this blog from within the opensuse running on top of my VirtualBox.

February 18, 2008

MS Virtual PC vs VirutalBox

Filed under: unix-linux,virtualization — James @ 4:11 pm
Tags: ,

Working on ubuntu running on top of Microsoft Virtual PC 2007 started giving me lot of problems. Some of them are:
1. Need lots of tweaking during installation of ubuntu in virtual pc to provide even basic mouse integration. Need to enter additional parameters (i8042.noloop) during boot up and then need to configure some system settings to make the mouse work in ubuntu running under virtual pc.
2. No smooth mouse integration. You need to click inside the virtual operating system for the mouse to be effective inside and need to press “Right Alt” key to come out of virtual os.
3. No mouse scrolling support at all.
4. In a nutshell, virtual pc bothers least about linux environments. No addons, nothing. ( Please correct me if I’m wrong here. Thank you)

So, I started looking for alternatives.

Read the rest of this post from SolitaryGeek.

The Rubric Theme. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.