Install Ubuntu 21.04

to maintain Windows installed:

1. disable BitLocker (Impostazioni->Aggiornamenti Sicurezza->Crittografia->Disabilità)
2. disable Secure Boot (from BIOS)
3. re-order the booting devices (from BIOS)
3. use a USB to boot the ubuntu 21.04

Possible issues

Backlight / nomodeset

In case you are using a laptop with intel i7 gen. 11th and iRIS XE graphics you should use kernel 5.11.0-16-generic A possible solution is to add the following lines in /etc/default/grub:

GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true

Then reboot the system, select Opzioni avanzate per Ubuntu and Ubuntu, con Linux 5.11.0-16-generic. You must do that only once to save your preferences.

Wi-fi

To install the correct drive you should follow these command (and might read the discussion at this [link](https://forum.ubuntu-it.org/viewtopic.php?t=637471)):

1. Make sure you have a proper build environment and dkms installed.
2. sudo su
3. apt install bc module-assistant build-essential dkms
4. m-a prepare
5. apt install rtl8821ce-dkms

HP Z640

* https://blog.frehi.be/2022/05/04/updating-hp-bios-firmware-from-linux/