How to setup a minimal debian installation without bloat
- Make sure that an Ethernet cable is connected, the setup program will automatically configure the network configuration
- Select a hostname e.g. "debian-thinkpad"
- Domainname can be left empty
- Follow this guide to setup full disk encryption in combination with dual boot Windows 10/11
- Select install sources, select current country, stick with default server "deb.debian.org"
- Select "No" when asked for "Configuring popularity-contest"
- Do not install anything extra when asked (uncheck everything)
Not much to see, only darkness. And a command line.
If setup was performed without an Internet connection/network configuration, follow these steps.
Get the name of your network interface and write down its name:
ip address
Open the /etc/network/interfaces file as the root user:
sudo nano /etc/network/interfaces
Add the following lines to /etc/network/interfaces , replace <networkInterface> with respective name, save the file:
auto <networkInterface>
iface <networkInterface> inet dhcp
Start the interface:
ifup <networkInterface>
If setup was performed without an Internet connection/software repositories, follow these steps.
Edit the sources.list file:
sudo nano /etc/apt/sources.list
Add the following lines:
deb http://deb.debian.org/debian bookworm main non-free-firmware
deb http://deb.debian.org/debian-security/ bookworm-security main non-free-firmware
deb http://deb.debian.org/debian bookworm-updates main non-free-firmware
Update and upgrade packages:
sudo apt update && sudo apt upgrade -y
sudo apt update
sudo apt install gnome-core
sudo reboot
Now it's getting colorful
sudo rm /etc/network/interfaces
sudo reboot
# check resolv.conf
cat /etc/resolv.conf
sudo apt install systemd-resolved
sudo reboot
sudo apt install systemd-timesyncd
# without debian "standard system utilities" all tools in this block are missing
sudo apt install wget gpg bash-completion
# with debian "standard system utilities" following tools are missing
sudo apt install curl gnome-tweaks pip ssh vim
sudo apt remove yelp totem gnome-software gnome-characters gnome-contacts firefox-esr -y
sudo apt autoremove --purge
cat /etc/debian_version
Remove os-prober, if Windows shall be hidden from grub menu
sudo apt remove os-prober
Add custom background to grub boot manager menu
sudo cp /path/to/picture /boot/grub
Customize grub file
sudo nano /etc/default/grub
Make the boot process look nice with following line in /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
# "quiet" lets all command line text between "grub menu" and "decrytion prompt" disappear.
# "splash" makes the decryption prompt look nice.
Always update grub settings and make them active:
sudo update-grub