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

"Microsoft.ACE.OLEDB.12.0 provider is not registered on the local machine" Error on Windows 7 (64-bit) + Office 2010 (64-bit) + Visual Studio 2010

If you use (1) Windows 7 (64-bit), and (2) Office 2010 (64-bit), and  (3) Visual Studio 2010 to write an ASP.NET code to connect to Access or Excel database using the Microsoft.ACE.OLEDB.12.0 provider and consistently get the "Microsoft.ACE.OLEDB.12.0 provider is not registered on the local machine" error, try installing the 2007 Office System Driver: Data Connectivity Components , which is basically a Microsoft Access Database Engine 2007 Redistributable for Windows (32-bit) from http://www.microsoft.com/download/en/details.aspx?id=23734 Many forums suggested by Google Search suggest installing the Microsoft Access Database Engine 2010 Redistributable for Windows (32-bit, 64-bit) downloadable from http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=13255 but it wouldn't help because Visual Studio 2010 is a 32-bit application; what you need is a 32-bit Data Connectivity component. The 2010 download will not allow you to install i...

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

Lenovo IdeaPad S10: Annoying Fan Noise Fix and Heat Conduction Upgrade

Here's a repost of my message on the Lenovo.com board: I would like to thank Slash (on Lenovo.com board) so much for his messages on this thread: http://forums.lenovo.com/lnv/board/message?board.id=IdeaPad_Netbook&message.id=1183#M1183 I decide today (February 28, 2009) to walk into a Lenovo Service Center inside a computer mall in downtown Bangkok because I cannot tolerate the constant grinding noise from my S10 anymore. I bought my S10 in late November 2008 and I started to hear some grinding noise in late December 2008. I have been using the S10 as my primary computer both for work and for home. At work, this noise has embarrassed me many, many times. At home, I left the S10 with Vista in High Performance mode on overnight so that it can complete the maintenance tasks, e.g., HDD Defrag and Indexing, but the fan noise from high CPU temperature woke me up at 4:45 in the morning! I learned from Slash's picture http://i41.tinypic.com/25alq3d.jpg that Lenovo chose to use chea...