Fixing vmkernel symlinks

Posted on the July 30th, 2008 under Life by Christian

Since I do happen to be in the situation pretty often where the kernel inside a VM is newer than what VMware currently has in their tools (as in the SUSE kernel is newer than the binary modules built by VMware), here’s a quick reminder for myself on how to to fix the .ko symlinks.

1
2
3
4
5
for file in /lib/modules/$( uname -r )/misc/*.ko ; \
do
 rm $file && \
 ln -s /lib/modules/$( uname -r )/misc/${file/.ko/.o} $file \
done
Leave a Reply
XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="">