# 灌ubuntu * 備份windows * http://blog.e-happy.com.tw/windows-不用ghost,教你快速備份整個windows系統/ * 修復windows: * 用windosw開機碟,自動修復 * https://www.maketecheasier.com/windows-10-failed-to-start/ * 製作開機碟 * windows: rufus * https://blog.xuite.net/yh96301/blog/301778407 * ubuntu 20.04 * 用legacy (非UEFI) * 在選normal installation/minimun installation的地方,勾選安裝顯卡驅動 * 應該也會把cuda裝好 * 空間配置 * /boot 2GB * /swap 4GB * / 80GB * /home 剩下的 * ==boot loader installation== : /dev/sdb (不是sda也不是sdb1,不知道為什麼windows boot loader好像在sdb) * reference: * https://www.itzgeek.com/post/how-to-install-ubuntu-20-04-lts/ * https://medium.com/isdanni/ubuntu-18-04-lts-dual-boot-with-win10-bios-legacy-mbr-c2d12308374c * sudo apt-get update && sudo apt-get install openssh-server * sshkey * https://blog.gtwang.org/linux/linux-ssh-public-key-authentication/ * zsh * https://max-everyday.com/2020/12/ubuntu-20-04-1-lts-oh-my-zsh/ * anaconda * 不要用sudo執行!! * 若已裝完zsh用zsh執行 * ```bash $zsh Anaconda3–XXXX.XX-Linux-x86_64.sh * nvidia-driver & cuda * https://www.cherryservers.com/blog/install-cuda-ubuntu * [deprecated] https://mikethreeacer.medium.com/ubuntu-18-04-安裝-cuda-cudnn-anaconda-pytorch-1f170b3326a4