Vmware workstation for ubuntu 20.04
- #Vmware workstation for ubuntu 20.04 install#
- #Vmware workstation for ubuntu 20.04 upgrade#
- #Vmware workstation for ubuntu 20.04 password#
- #Vmware workstation for ubuntu 20.04 download#
#Vmware workstation for ubuntu 20.04 password#
Import the public key to the system’s MOK list:Ĭhoose a password you’ll remember for the MOK key enrollment, since the next step is rebooting and enrolling it in your UEFI firmware. $ sudo /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256. Sign the modules using the generated key: $ openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj "/CN=VMware/" Generate a key pair using the openssl to sign vmmon and vmnet modules: You’re sure to get just as familiar with the process as I am before long.įor systems using secure boot, regarding the additional steps, they may only be necessary when changing release version of kernel, but not point version – so 5.8.0-19 to 5.8.0-21 might not need a mokutil update, but 5.6.2 to 5.8.0 definitely would. Sometimes, but not always, updates to Workstation will require it, too.
#Vmware workstation for ubuntu 20.04 upgrade#
Note: Keep in mind that if you upgrade your kernel you’ll absolutely have to go through this process all over again.
You can disable secureboot if you’d like to make this process easier for next time, but if not – here’s some additional steps you’ll have the pleasure of performing over and over. If you notice vmware-modconfig complaining about errors / failing, you’re probably booted under secureboot. If all goes as planned, you should be able to run Workstation now. $ sudo vmware-modconfig -console -install-all tar files to /usr/lib/vmware/modules/source/ run this command:
$ sudo cp -v vmmon.tar vmnet.tar /usr/lib/vmware/modules/source/Īfter copying the. Then copy them to the modules source directory for Workstation (as root): At the time of writing there is nearly 700 releases to choose from (indicating that this has probably been a major issue for a long, long time… )Īfter downloading the release, unzip or untar it and it’ll create a folder called:Ĭd into this folder and try making the. Thankfully there’s plenty of releases to find one that’ll work for your setup.
#Vmware workstation for ubuntu 20.04 download#
You’ll see filenames available for download that look like w15.5.5-k5.7 – you want to match the first 3 numbers to your Workstation version, and the last two to your kernel – this example would be for Workstation 15.5.5 and an OS with 5.7 kernel.
#Vmware workstation for ubuntu 20.04 install#
$ sudo apt update & sudo apt install -y linux-headers-$(uname -r) linux-modules-$(uname -r)įirst, you’ll have to download the kernel extensions. Make sure you have the headers and modules for your kernel – this oneliner will refresh your package cache and install them if you don’t have them: I had to write a post about it since after doing it for the umpteenth time I realized this might be a problem for a lot of people that isn’t well documented and might be exceedingly confusing for first-time users. Get used to it, because every time you upgrade your kernel, you’ll have to do this again (unless you create a hook for apt … I’ll have to put that in a later post). It’s missing some essential kernel extensions that are only available from GitHub. It’s compiling kernel extensions for vmmon and vmnet – and Workstation tries to compile them out of the box, but it never works. There’s another step to the setup after running the installer that might as well be documented as part of the installation process. Sometimes the installer will install the kernel modules it requires in the installer, other times it won’t. VMWare Workstation on Ubuntu requires another step to run.