Use Physical Drive Partition in VirtualBox

sudo VBoxManage internalcommands createrawvmdk -filename /path/to/d.vmdk -rawdisk /dev/nvme0n1 -partitions 5 -relative

But, non-root user will be blocked as VERR_ACCESS_DENIED, resolve it like link below,

sudo usermod -a -G disk $USER

we must reboot to make it into effect.

Well, we need to know it is very unsafe.

refer to:
https://superuser.com/questions/451573/use-virtualbox-to-boot-a-physical-drive-partition
ILMostro_7 at https://unix.stackexchange.com/questions/284704/verr-access-denied-when-trying-to-add-a-raw-disk-to-virtual-box

Weekday of Date

import datetime
datetime.datetime.strptime("20230101", "%Y%m%d").weekday()

Make WinSxS Fit

Firstly, ensure service 'Windows Modules Installer' not disabled.

dism.exe /Online /Cleanup-Image /AnalyzeComponentStore
dism.exe /online /Cleanup-Image /StartComponentCleanup

refer to:
https://zhuanlan.zhihu.com/p/394593795

May not Delete in Task Scheduler

\Microsoft\Windows\TextServicesFramework		// or else ChsIME.exe will not start up.
\Microsoft\Windows\WCM
\Microsoft\Windows\WlanSvc
\Microsoft\Windows\WwanSvc

Install Nvidia Driver Manually

Reboot to Ubuntu Recovery,

sudo apt install build-essential linux-headers-generic gcc make
sudo apt install pkg-config libglvnd-dev
./NVIDIA-Linux-x86_64-535.54.03.run

sudo vi /etc/modprobe.d/blacklist.conf

blacklist vga16fb 
blacklist nouveau 
blacklist rivafb 
blacklist nvidiafb 
blacklist rivatv

refer to:
https://www.jianshu.com/p/e562752cdbee

Install Vmware In Ubuntu

sudo apt install build-essential linux-headers-generic gcc make
sudo ./VMware-Workstation-Full-17.0.2-21581411.x86_64.bundle

Vmtools iso,

/usr/lib/vmware/isoimages/

refer to:
https://www.vmware.com/go/getworkstation-linux