Skip to main content

Ubuntu Linux: Kernel Development Package

Thru Ubuntu automatic updates notification, I upgraded the kernel of my Ubuntu Linux 5.1 VMware virtual machine this morning and, all of a sudden, my VMware shared folders disappeared from the /mnt/hgfs directory. I guessed it could be that the kernel upgrade package overwrote some essential file of VMware Tools so I went ahead reinstalling VMware Tools according to the instruction here. Things went fine until I was reported that this version of kernel (is too new and) is not supported by the installer. The installer then asked for a path of the kernel source files.

I didn't install a kernel development package and didn't really have enough patience to browse thru the Ubuntu package repository to find a proper package to install. After half an hour of trial-and-error plus Google search, from this JustLinux.com posting, here is how to install the latest kernel source code:

Logged on as root,
apt-get install linux-headers-`uname -r`
Note the grave-accent character, not an apostrophe, that surrounds "uname -r".

Keywords: , , , ,

Update: Jan 4, 06:Here are the important VMware Tools components that are buried in the /usr/bin folder:
vmstat
vmware-config-tools.pl
vmware-user
vmware-toolbox
vmware-uninstall-tools.pl

vmware-config-tools is particularly important if you want to reconfigure the screen resolution of X window graphical interface.

vmware-toolbox is used to configure the time-synchronization setting between Linux guest operating system and the Windows host, as well as to access the the Devices and Scripts settings and the virtual hard drive Shrink utility.

Comments

Popular posts from this blog

iTunes: Error 261 while Burning Data CDs/DVDs

Apple Discussions: 261 error while burning MP3 CD. I usually put an aphostrophe (') in the name of playlists and was having error 261 burning CD/DVD data discs since iTunes 5.1. Upgrading to iTunes 6.0 for Windows doesn't help. I was burning a music DVD this morning and had Error 261 again. So I went to Apple iTunes Discussions site and look for a thread on this. Viola! There are many people having the same problem as mine. The thread ends at a point where someone removing ampersands, the '&' symbols, from their playlists and could avoid this error. I tried removing aphostrophes from the name of my playlist because aphostrophe falls into the kind of non-alphabet characters that needs escaping in some programming languages. It works!! Keywords: itunes , windows

A Thought on a Reasoner-enabled Version of Del.icio.us (and perhaps Technorati)

I have been adding more bookmarks to my del.icio.us account and have begun tagging them with RDF-like object/datatype properties. Adding more and more object/datatype properties to the bookmark, a provoking thought popped up: It would be nice if tagging can be assisted by ontologies and a logic reasoner. Look at del.icio.us/thitiv . The _hasAffilication:CUPhoto property should be a subproperty of _hasAffiliation:Chula (provided that CUPhoto stands for Chula Photo Club .) Also, aticles on 'tagging' are subclass of articles on 'metadata'. But articles on 'metadata' are not essentially the articles on 'tagging'. 'Friends' versus 'people' is also another example. Bookmarks about my friends are of course bookmarks about people. But not all the people I know or found on the Internet (through search engines) are my friends. Ontology-assisted tagging sounds promising to solve this problem. In principle, this problem is partly related to...

Tips: Mac OS X: Full ANSI Color Support in Terminal.app

I'm trying to switch my Java development platform from Windows XP to Mac OS X Tiger. Wondering how to colorize the Terminal screen, I spent some time googling. From the discussions at the end of this page: macosxhints.com - Add full ANSI color support to Terminal.app Here's a summary of how to enable it: With bash shell as default, simply add export TERM=xterm-color [I prefer this for Linux compatibility] or export TERM=dtterm in the ~/.profile (single-user) or /etc/profile (system-wide) Color terminal is enabled. Use ' ls -G ' (the -G enables color output) to test. Add alias ls='ls -G' in the profile file for convenience. Keywords: mac-os-x , unix , terminal , shell , tips