Notes of Dual Boot Debian 11 and Windows 11
August 30, 2022
Create Bootable USB Driver
BURN Tools: to create bootable USB drivers.
Live USB Driver: supports live driver, which means it can set persistence partition.
- Rufus (Support Live USB Driver)
- UNetbootin (Support Live USB Driver)
Free a Patition or Disk
You will need this space to store Debian OS and mounting file system.
Change Bios Settings
After burning the Debian image, you should go to the bios settings (looking for help from your vendor website) to set the priority of the computer boot item and make sure the USB driver is in the top order.
Finsh Setup Guide
Just follow the setup guide to finish the installation process. Be careful to mount the file system on disk or partition right, otherwise, you will never get those data back.
Setting Mirror Site
Just edit /etc/apt/sources.list file, you'd better backup it first.
Set Environment Variables
~/zshrc and append the following commands.
For Example, add JDK to PATH.
Questions & Answers
1 failed to load firmware rtl...(-2).
This question occurred while I using the Rufus to burn the image, it was disappeared when I used balenaEtcher.
2 failed to detect external monitor.
This is because the dual graphics card is not properly driven, there are two solutions.
- only use the discrete graphics card in bios settings if your computer vendor supports it.
- refer to NVIDIA Optimus
3 Restart failed after installing nvidia-driver package.
This can be solved by entering recovery mode (advance boot Debian with recovery mode).
first, you need to enable the network, you can check your network interface name by
ip link, and up the interface by
ip link set eno1 up, note modify the eno1 to yourself interface name that checked before this step. finally, use
dhclient eno1 to get ip address so that make network works.
the next thing you should do is run
apt purge nvidia-* and
apt install linux-headers-amd64 nvidia-driver firmware-misc-nonfree, these two commands can help you reinstall the nvidia driver.