Archive for the ‘Linux’ Category

Fix for slow performance of WD15EARS WD10EARS WD20EARS

March 29th, 2010

Long story short – need to create partition which starts from sector dividable by 8 – 48,56,64 etc.

Here is linux how-to:

# parted /dev/sdX
# Set units to sectors (in this case 512B):
(parted) unit s

(parted) rm
Partition number? 1

(parted) print
Model: ATA WDC WD10EARS-00Y (scsi)
Disk /dev/sdb: 1953525168s
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags

(parted) mkpart
Partition name? []?
File system type? [ext2]?
Start? 64
End? -1
Warning: You requested a partition from 64s to 1953525134s.
The closest location we can manage is 64s to 1953525071s.
Is this still acceptable to you?
Yes/No? Yes

(parted) print
Model: ATA WDC WD15EARS-00Z (scsi)
Disk /dev/sdb: 1953525168s
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags
1 64s 1953525134s 1953525071s

(parted) quit
Information: You may need to update /etc/fstab.

Original –


Linux ,

Fix for contacts problem in Pidgin for Sametime client on Linux

March 2nd, 2010

If your Sametime contacts appear/update slowly in Pidgin you probably need to update sametime library.

Christoph Lukas has compiled patched sametime library which can be found here:

Direct link to 32-bit .deb package
Direct link to 64-bit .deb package

Exit Pidgin and replace existing library. I replaced the symbolic link and left original library in /usr/lib

ar vx libmeanwhile1_1.0.2-3*
tar xvfz data.tar.gz
sudo cp usr/lib/ /usr/lib/
sudo ln -fs /usr/lib/ /usr/lib/

Start pidgin and your sametime should be fixed now


Linux , ,

Adobe flash player 64-bit on Linux

December 4th, 2009

1. Download Adobe Flash Player 64-bit from . Unpack the file. You will get

2. Remove existing version of flash player(s)

sudo apt-get remove -y --purge flashplugin-nonfree mozilla-plugin-gnash
sudo apt-get remove -y --purge swfdec-mozilla libflashsupport nspluginwrapper

3. Copy and link the plugin to browser(s) directories

sudo cp /usr/lib/mozilla/plugins/
sudo ln -sf /usr/lib/mozilla/plugins/  /usr/lib/xulrunner-addons/plugins/


Internet, Linux , , ,

How to install VMware Server 2.0.x on Ubuntu 9.10 Karmic Koala

November 25th, 2009

Original article:

How to install VMware Server 2.0.x on Ubuntu 9.10 Karmic Koala

After I have upgraded to Ubuntu 9.10 Karmic Koala I have noticed that VMware Server 2.0.1 or 2.0.2 fail to install using the default installer. I then thought that I should use again the install script I wrote for installing the server in 9.04. Wrong! Since the kernel had changed a bit, the modules from VMware Server failed to compile correctly. Browsing the VMware Communities forums, I have discovered a post that discusses using a new patch. The only patch that seems to work for the 2.6.31-14 kernel that is shipped with Ubuntu 9.10 is the one for 2.6.30-4.

The process, even if it was handled by a script, assumed the user should stop the install process in the middle, patch some files here and there and then recompile his modules keeping his fingers crossed. Because  I really do not like that kind of approach, I decided to build my own script based on that one that will automatically patch the files and lead you to the install without the need for you to stop until you are done.

How to

  1. Download VMware Server (2.0.1 or 2.0.2) – gz format, not rpm. For the 2.0.2 version you might need to wait a couple of hours until you will receive the license key. Whichever version you choose, keep the license key near.
  2. Download my script from here (right click, save as).
  3. Run the script with super user rights either in the same folder where you have downloaded the server archive, either by providing it the path to that folder. The script will download the needed patch from my server. Make sure the folder where you have downloaded the server’s archive doesn’t contain spaces in its path name or the script will exit (giving you this reason as an error message). You will reach to a point where a lot of warnings appear on your terminal. Do not worry unless the script exits. If it exists, it will give you a decent warning from which you should be able to tell what’s wrong. Also, the VSOCK module will not work (will fail to compile), giving you a hint that your kernel sources might not be the ones for your running kernel. This is not true, as the script takes care of this before doing the hard work. Anyway, VMware Server will work without it. Example:
    chmod +x
  4. When you are asked about adding users to the server, if you do not provide your own account, the user used for loging in the web console of the server will be root (maybe you should add yourself there).
  5. Provide the license key when asked about it.
  6. For the ones installing Windows guests in VMware Server, you must pick one of the following two solutions to avoid having problems with the mouse in the console:
    • you run this script in the terminal every time you want to launch a VMware Server console, but after you have installed the VMware plug-in for Firefox
    • you export this variable in the environment right after login such that it will be set before starting Firefox:

    Credit for this one goes to Holger.

  7. Drop me a Kudos line in here and one for Holger here. If the solution worked well for you please share this info wherever you can. :D

Until a new patch will appear or until VMware will start writing more better and actual code, this is the only way of installing VMware Server 2.0.x on Ubuntu 9.10 Karmic Koala. Best of luck to you all!


Linux ,