Install Windows before Linux, as it uses an existing EFI partition, but we need to keep OSes fully separeted. An alternative is to backup and then delete and restore an existing EFI partition. Windows can also be safely reinstalled, given the original Windows' EFI partition left intact.
- Leave Secure Boot ON and TPM OFF
- Partitions: 128 MB EFI, 2GB-128MB /boot, 120 for w, 100 for s, the rest for the LUKSed system
sudo adduser $USER vboxusers && sudo adduser $USER disksudo VBoxManage internalcommands createrawvmdk -filename ~/VMs/windows.vmdk -rawdisk /dev/sda(orsudo VBoxManage internalcommands createrawvmdk -filename "~/VMs/windows.vmdk" -rawdisk /dev/nvme0n1 -partitions 1,2,3,4,5,6, refergparted)sudo chown $USER:$USER ~/VMs/windows*- Actually create a VM (Win10, 4096MB RAM, 3D Acceleration and 256 MB VRAM, EFI, mark drive as an SSD)
VBoxManage setextradata "Windows" "CustomVideoMode1" "1920x1080x24"VBoxManage setextradata "Windows" "CustomVideoMode2" "2560x1440x24"
- Secure Boot should be enabled;
- Check if the MOK is enrolled:
mokutil --list-enrolled - Import the certificate to enroll:
sudo mokutil --import /var/lib/shim-signed/mok/MOK.der rebootand enroll the certificate, the password has been set during the Mint 22.1 installation- Sign the driver:
sudo /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 /var/lib/shim-signed/mok/MOK.priv /var/lib/shim-signed/mok/MOK.der $(modinfo -n nvidia) rebootagain- Finall,
sudo modprobe nvidia - Test:
nvidia-smi
- For Intel WiFi driver on Win10
Win64\Installer\setup.xmlandWin64\Installer\wirelesssetup.exemust be moved toWin64\Installer\extensionsand started there. - Call to enable BitLoker without TPM, if needed. Go to
Run gpedit.msc > Computer Configuration > Administrative Templates > Windows Components > BitLocker Drive Encryption > OS Drives > Require additional authentication at startup, enable the polycy, ensure TPM is not required
- Must switch to the Ubuntu's Hardware Enablement kernel as of Mint 22.1 in June 2025
sudo apt install hplip- Run
pkexec /usr/bin/hp-pluginto install a plug-in for the actual device.
- Double Commander (
sudo apt install doublecmd-gtk) - ffmpeg (
sudo apt install ffmpeg) - Docker from PPA, not default repo: https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-22-04
- Ansible, better with modern Python
- PostgreSQL (https://www.postgresql.org/download/linux/ubuntu/)
vscode(https://code.visualstudio.com/Download)- dotnet:
sudo apt-get update && sudo apt-get install -y dotnet-sdk-8.0echo 'DOTNET_CLI_TELEMETRY_OPTOUT="true"' | sudo tee -a /etc/environment && source /etc/environment && echo "$DOTNET_CLI_TELEMETRY_OPTOUT"
- Rider (https://www.jetbrains.com/help/rider/Installation_guide.html#standalone_linux)
- Node Version Manager (https://github.com/nvm-sh/nvm):
- Install:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash - Re-start the terminal
- Do
nvm install 20.2.0or whatever version is needed
- Xray
- Install: https://github.com/XTLS/Xray-install
- Put
config.jsonto/usr/local/etc/xray - Enable:
sudo systemctl enable xray - Refer to: https://xtls.github.io/en/document/config.html
- Wireguard