21 November, 2008

Linux Hosts That Use the evdev Driver for Keyboards Do Not Map Keys Correctly in Any Guest in VMware

Some of the newest Linux distributions use Xorg 1.4, and the new evdev driver manages all devices, including keyboards. The evdev driver causes the keyboard to send different key codes. For example, the down arrow is key code 116, which other drivers understand to be Win+R. Consequently, keyboard mapping problems occur in all guest operating systems.

Solution - http://kb.vmware.com/selfservice/viewContent.do?externalId=1007439&sliceId=1

close ssh session

How does one close an ssh session, which has been disconnected from server ?
use the keycombo "~." , without quotes. For more info, do check man pages.

$ man ssh

Prologue

I was happily working on my system, trying to access my test box remotely. And then, there was darkness, or as most people would call it as power failure. Yes, I do not have a UPS as yet ( under repair ) and i ended up with a "hung" ssh session.

Barclaycard Waterslide spoof from specsavers !

Barclaycard Waterslide



and a spoof from unruly media and Specsaver



Yes, it's time for me to wear a specs.

recover partition table

oh no ! you deleted/overwrote/spilled coffee on your partition table ! what next ???
for everything (almost, but coffee) you can check out testdisk, part of Fedora, and follow the instruction on screen,




Prologue

One fine day, the birds were singing outside, a bright sunny day, and then I had install fedora on my a test box, on which I incidentally had installed a old hdd with lots of old pictures from my school/college days. And so, the saga began.

Working across three systems ( EeePC, my office laptop, and test box ), and was happily strolling along , clicking on next during install. And then, horror struck, as I realised I had clicked "Remove all partition ..." , and in an instant my hands were on Ctrl+Alt+BckSpc. Little did I know, the partition table was blow clean, and written with a new one. All I could do was reconcile in the fact that the disk was not formatted, and no new data was written.

Here begins my search for the magic to recover my disks partition table. I looked up gpart, which looked good, and downloaded the source. Alas, gpart failed to build, with trivial errors. Working through them one by one, I ended with "yum search ntfs", and on the last line I saw testdisk.

And I saw light, for i was saved, and testdisk unfolded it's magic and saved my data from being lost for eternity.

01 November, 2008

House

From Life

birthday blues

Yes, late by a bit, but something for us to remember by

From Life