I recently upgraded the harddisk in my Lenovo X60 T laptop/tablet PC from 80G to 500G.

I use a dual boot system with Windows XP Tablet and Debian GNU/Linux. (Usually I use Debian, and run Windows XP in VmWare, but it is sometimes conveniant to be able to boot Windows natively).

I copied the Windows XP Tablet partition to a similar partition on the new disk, and got that working flawlessy. I decided to reinstall Debian to get better support for the hardware. The soundcard was not reliable with "Sarge". So I installed "Lenny".

VmWare 6.0 would not install. Fortunatey  there was a free upgrade to VmWare 6.5 on www.vmware.com, and that installed without any prolems. But when I started virtual machines, the sound system would not work. I got a "Cannot connect virtual device sound..." error during startup. After doing some research, I found that VmWare depends on the Open Sound System, while Debian/Kde use Alsa.

To fix the problem run these commands as root:

# apt-get install alsa-oss
#
# modprobe snd-pcm-oss
# modprobe snd-mixer-oss
# modprobe snd-seq-oss

Then add the following lines to /etc/modules

snd-pcm-oss
snd-mixer-oss
snd-seq-oss

 That fixed the problem for me :)