baicai

白菜

一个勤奋的代码搬运工!

Debian slow installation solution

Title: "Solution for Slow Debian Installation"
Date: 2022-10-18T14:37:40+08:00
Slug: debian_install
Type: posts
Draft: false
Categories: ["Linux","Collection and Organization"]
Tags: ["debian","linux"]

Feasible Solutions for Slow Debian Installation:#

  • If using the DVD version of the ISO image, you can disconnect 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 Software Sources during Debian Installation#

During the Debian installation process, when selecting the desktop environment and software to install, press Ctrl+Alt+F2 to switch from the graphical interface to the tty command terminal. 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 modification, 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 cdrome source and select appropriate sources.
Then use the command dmesg to view the boot log.
Find out which firmware is not loaded 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
# Identify missing graphics card driver from dmesg
sudo apt-get install firmware-amd-graphics
# Identify missing rtl8168e-3.fw firmware from 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 obtained above
sudo apt-get install firmware-realtek
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.