Virtualize Dual-boot Linux

Comparing with WSL2

  • Pro
    • Allow maximum performance when using physical machine
    • Have Native GUI which can be accessed using VirtualBox
    • Native disk operation performance under virtual machine
  • Con
    • No app optimization and support in Windows, e.g. vscode, cuda (but vscode has ssh feature, and you have native linux cuda under physical machine)
    • Mapped file in RAM is not managed by Windows, naturally, thus requiring a larger RAM (Your RAM stores mapped files from both host Windows and VM Linux now)
  • Even
    • Other performance under windows, e.g disk operation across systems (using SMB)

n2n

n2n is a solution for Virtual LAN.

With VLAN many things can be quite easy, e.g. SMB sharing across NAT.

系统盘迁移小记

帮舍友迁移系统(Win10)。新买的固态,需要把hdd上的C盘完整复制过去。

舍友电脑上没有ngff接口,所以买了sata口的固态,需要把原硬盘挪到光驱位,再把固态放到原硬盘位。

硬件搞定直接开机,还是从机械硬盘启动,给固态指定盘符然后测速——固态倒是没什么问题,但后来才意识到这一步正是作死第一步。