baicai

白菜

一个勤奋的代码搬运工!

Slow Installation Solution for Debian

Feasible Solutions for Slow Debian Installation:#

  • If you are using the DVD version of the ISO image, you can unplug the network cable before installation and perform an offline installation, which will be much faster.
  • Choose "expert" during installation and do not select "security updates".
  • Modify the software sources during the installation process.

Download Debian CD/DVD images via HTTP/FTP: https://www.debian.org/CD/http-ftp/

amd64 DVD version: https://cdimage.debian.org/debian-cd/current/amd64/iso-dvd/

Modifying the Security Source Address in the Software Sources During Debian Installation#

When you reach the step of selecting the desktop environment and software to install in the Debian installation process, press Ctrl+Alt+F2 to switch from the graphical interface to the tty command terminal, and press Enter.
Here, modify the software sources configuration file:

nano /target/etc/apt/sources.list

Modify the debian-security source address to http://mirrors.ustc.edu.cn, which seems to be the fastest.

#deb http://security.debian.org/debian-security bullseye-security main
deb http://mirrors.ustc.edu.cn/debian-security bullseye-security main

After modifying, press Ctrl+X to exit and save.

Then exit the terminal and re-enter the interface to continue the installation by pressing Ctrl+Alt+F5.

Updating Hardware Drivers After Debian Installation#

In Settings -> About -> Updates -> Software Sources, remove the cdrom source and select appropriate sources.
Then use dmesg to view the boot log.
Find out which firmware is not loading properly and install the corresponding drivers accordingly (e.g., missing graphics card driver and wireless network card driver).

# Update sources
sudo apt-get update
dmesg
# Find missing graphics card driver in dmesg
sudo apt-get install firmware-amd-graphics
# Find missing rtl8168e-3.fw firmware in dmesg
# Search for firmware information
sudo apt search  rtl8168e-3.fw
# Sorting... Done
# Full-text search... Done
# firmware-realtek/stable,now 20210315-3 all [installed]
#   Binary firmware for Realtek wired/wifi/BT adapters
# Install the driver package firmware-realtek based on the information found above
sudo apt-get install firmware-realtek
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.