Thursday, 16 July 2026

Complete Debian Installation Walkthrough: Boot Menu to First Login

// System Administration · Debian Linux · Installation Companion

Complete Debian
Installation Walkthrough

A screen-by-screen companion to the existing Debian Installation & Partitioning project document. This walkthrough is based on the Debian 13 trixie amd64 installer for normal 64-bit Intel/AMD PC-class systems.

ScopeBoot Menu → First Login
CoversDebian 13 trixie · amd64
InstallerDebian Installer / d-i
Reviewed2026
§ 01 - Project Alignment

About this Walthrough

Document boundary

Use this document for the installation workflow: what to click or select, what each installer question means, and which answer is normally right for a server, desktop, VM, laptop, offline install, or dual-boot machine. Use the original partitioning guide when the installer reaches Partition disks and you need detailed storage design.

Architecture scope

This companion is an amd64 walkthrough. It assumes the Debian 13 trixie installer for 64-bit Intel/AMD PCs, laptops, servers, and VMs. Other Debian architectures may use different boot media, firmware paths, kernel packages, device support, or installer details, so those installs should be checked against their own Debian architecture manual.

§ 02 - Source Baseline

Official Debian Documentation Baseline

The baseline for this guide is the official Debian GNU/Linux Installation Guide for the current stable release on amd64. At the time of this revision, the Debian stable installation manual identifies the target system as Debian GNU/Linux 13, codename trixie, for the 64-bit PC / amd64 architecture. The manual build referenced during review was 20250803+deb13u1.

Official AreaUsed ForProject Decision
2.1 Supported HardwareArchitecture, CPU, graphics, NIC, wireless, peripheral supportKeep amd64 as the normal PC/server target; explain firmware and wireless caveats.
2.4 Installation MediaUSB, DVD, network, hard disk, and Unix/GNU-system install pathsRecommend USB netinst for normal installs, DVD-1 for offline installs, PXE for managed fleets.
4 Obtaining Installation MediaOfficial images, USB preparation, checksum verificationKeep direct-image USB writing and checksum verification as mandatory preparation steps.
5 Booting the Installation SystemBoot menu behavior, graphical/text installer, boot parameters, rescue/expert optionsExplain Graphical install vs Install, Advanced options, and BIOS/UEFI boot-mode impact.
6 Using the Debian InstallerThe actual screen flow from localization through partitioning, APT, tasksel, GRUB, and finishUse as the main sequence for this companion guide.
7 Booting Into the New SystemFirst boot, GRUB, encrypted-volume prompt, loginInclude the first-boot checks and encrypted-volume expectations.
8 Next StepsDebian packaging orientation and immediate post-install careInclude APT, documentation, update, and system sanity checks.
Release naming rule

For a controlled installation guide, use the release codename trixie in examples instead of the moving alias stable. This avoids silent behavior changes after a future Debian stable release transition.

§ 03 - Complete Installation Map

The Debian Install in One Timeline

Debian Installer is modular. Not every module appears in every installation, but a normal netinst or DVD-1 install follows the same broad structure. Treat this as the mental map before going screen by screen.

1
Prepare hardware and mediabefore boot
Confirm CPU architecture, RAM, disk target, network path, firmware needs, UEFI/BIOS mode, and backup status. Download, verify, and write the install image.
2
Boot the Debian Installerscreen
Choose Graphical install or Install. Use Advanced options only for expert, rescue, automated, serial, special boot-parameter, or network-console workflows.
3
Localization and hardware detectionscreen
Set language, location, locale, keyboard, then allow the installer to detect installation media, storage, network devices, and any missing firmware.
4
Network, hostname, users, timescreen
Configure DHCP or static IP, hostname, optional domain, root/sudo behavior, first normal user, clock, and time zone.
5
Partition disksdestructive
Choose guided, guided LVM, guided encrypted LVM, or manual. This is the main irreversible design point. Review every disk name, size, format flag, and mount point before writing changes.
6
Install base system and configure APTmostly
The installer installs the minimal base system, kernel, and package manager configuration. With netinst, mirror choice is essential; with DVD-1, network mirror use is optional but normally beneficial.
7
Select tasks and install softwaretasksel
Choose desktop environment, SSH server, web server, standard system utilities, or no tasks for a very minimal system.
8
Install GRUB, finish, rebootfinal
Install GRUB to the UEFI ESP or BIOS boot path, remove installation media, reboot, unlock encrypted volumes if used, and log in.
§ 03A - Beginner Screen Decisions

Installer Choices Beginners Commonly Misread

The normal text installer is linear, but several screens ask questions whose consequences are larger than they first appear. Treat the following as the plain-English map for the screens between hardware detection and task selection.

Installer ScreenBeginner MeaningSafe Default
Configure the networkDHCP is easiest. Static addressing belongs to servers, labs, and networks where you already know IP, gateway, DNS, and domain policy.Use DHCP unless you have a written network assignment.
Configure the package managerA network mirror lets netinst download the desktop, server packages, updates, and security fixes during installation.Use a nearby Debian mirror or deb.debian.org when the machine has internet access.
Partition disksGuided - use entire disk is simple but destructive. Separate /home keeps user data on its own filesystem, but it is not a backup and does not protect against disk failure.Use guided partitioning for throwaway VMs; review disk names carefully on real hardware.
Software selectiontasksel installs broad roles such as a desktop environment, SSH server, or standard utilities; it is not a hardware-driver wizard.For servers, keep the desktop unchecked and select SSH only when remote login is needed.
§ 04 - Requirements

Hardware and Planning Requirements

For modern PC-class systems, choose the amd64 installer. That is the correct Debian architecture for normal 64-bit Intel and AMD desktops, laptops, servers, and VMs. The official Debian manual also lists other release architectures, but they are not the target of this amd64 walkthrough.

Architecture naming discipline

Use amd64 when choosing Debian installation images, reading Debian mirror directories, writing APT architecture filters, or checking dpkg --print-architecture. Terms such as x86-64, x64, and 64-bit Intel/AMD are useful hardware descriptions, but Debian's native architecture string for normal 64-bit PC-class installs is amd64.

Other Debian 13 architectures you may encounter

This walkthrough remains intentionally amd64-focused, but Debian 13 trixie is not limited to PC-class Intel/AMD hardware. Use this table to recognize when the amd64 instructions are the wrong starting point and the architecture-specific Debian manual should be checked instead.

ArchitectureCommon WhereInstall Note
amd6464-bit Intel/AMD PCs, laptops, servers, and most VMsThe target of this companion walkthrough.
arm6464-bit ARM servers, cloud ARM, many SBCs, Apple Silicon VMs, and modern ARM development boardsUse the arm64 installation manual and arm64 media; boot firmware and device-tree/UEFI behavior can differ from amd64.
armhfOlder 32-bit ARMv7 devices with hardware floating-point supportUse only for genuinely 32-bit ARMv7 hardware; prefer arm64 when the hardware supports it.
ppc64elIBM POWER little-endian systemsEnterprise/server architecture; installer and boot details are architecture-specific.
s390xIBM Z and LinuxONEMainframe/server architecture with its own installation path.
riscv6464-bit little-endian RISC-V systemsOfficial Debian 13 release architecture; hardware support is advancing but should be validated against the RISC-V installation notes.
i386Legacy 32-bit x86 userland compatibility on amd64Not a normal fresh Debian 13 PC install target; use amd64 for real PC installations where possible.
armelLegacy ARM EABI systemsUpgrade/legacy path rather than a normal new-install target in Debian 13.
Install TypeDebian Manual MinimumPractical Admin RecommendationNotes
No desktop512 MB RAM minimum, 1 GB recommended, 4 GB disk2 GB RAM, 20+ GB disk for a useful serverThe installer can work lower with swap, but updates and logs need headroom.
Desktop1 GB RAM minimum, 2 GB recommended, 10 GB disk4-8 GB RAM, 40+ GB diskGNOME and KDE Plasma are heavier; Xfce is better on low-end systems.
Graphical installerNeeds more memory than text installerUse text installer below roughly 1 GB RAMThe text installer reaches the same result with lower memory use.
Encrypted LVMSame base requirementsAdd time for disk erase and CPU crypto overheadSlow disks and large SSDs can make the erase step lengthy.
Offline DVDEnough disk for selected tasksDVD-1 plus a plan for updates after network is availableWithout a mirror, selected tasks must exist on the scanned media.

Information to collect before booting

  • 1
    Target disk identity: model, size, serial number, and whether it appears as /dev/sda, /dev/vda, or /dev/nvme0n1.
  • 2
    Boot mode: native UEFI is preferred for modern systems; avoid accidental CSM/legacy boot on a UEFI machine.
  • 3
    Network settings: DHCP is simplest; for static IP collect address, prefix/netmask, gateway, DNS, hostname, and domain.
  • 4
    Mirror policy: internet installs should normally use deb.debian.org; air-gapped installs need DVD/package planning.
  • 5
    Account policy: decide whether to enable root login directly or leave root disabled and use sudo through the first user.
  • 6
    Partition plan: simple root, LVM, encrypted LVM, RAID, or dual boot. Do not improvise destructive disk layout decisions.
Backup rule

Before installing on a disk that contains existing data, back up the data and verify the backup can be restored. Debian Installer asks for confirmation before destructive writes, but confirmation does not protect against choosing the wrong disk.

§ 05 - Firmware & Network

Firmware and Network Preparation

Most Ethernet adapters supported by the Linux kernel are usable in the installer. Wireless is supported in many cases, but it remains more fragile than wired Ethernet because firmware, authentication, and chipset support matter before the full installed system exists.

🔌
Preferred
Wired Ethernet + DHCP
  • Most reliable with netinst
  • Minimal authentication complexity
  • Mirror setup usually succeeds automatically
  • Best for servers and VMs
📶
Possible but fragile
Wi-Fi during installer
  • May require firmware
  • WPA/WPA2 personal networks are the practical target
  • Captive portals and enterprise Wi-Fi are poor fits
  • DVD-1 can avoid network dependency

Firmware handling in Debian 13

Starting with the Debian 12-era firmware policy and continuing in Debian 13, official Debian installer images can include packages from the non-free-firmware archive component. During installation, debian-installer detects firmware requested by drivers and can install matching firmware packages when they are present on the installation medium. This means the normal official Debian 13 netinst or DVD-1 image is the correct first choice for most systems; a separate emergency firmware USB is only a fallback for firmware that is still not available on the installer media, for netboot/minimal paths without firmware packages, or for unusual hardware.

# Recommended emergency firmware USB layout
# FAT-formatted USB stick:
/firmware/
  firmware-package.deb
  or-loose-firmware-file.bin

# The installer also scans the root of the removable medium.
Installer behavior

If a driver requests firmware that is missing, the installer offers to scan available media. If a firmware package is loaded, it can be copied into the installed system and the APT source can be configured so firmware updates are available later.

§ 06 - Installation Media

Choosing the Correct Installation Media

Debian supports several installation paths. For a normal administrator workflow, the realistic choices are netinst USB, DVD-1 USB/DVD, live desktop media, PXE/netboot, or a debootstrap-style install from an existing Unix/Linux system.

MethodNetwork NeedBest ForPractical Recommendation
netinst ISO on USBRequired for normal package selectionServers, VMs, most desktops with internetDefault choice for clean installs.
DVD-1 ISOOptional but recommendedOffline/slow internet installsUse when the installer cannot reach a mirror.
Live desktop ISOOptionalHardware testing and desktop previewGood for testing; the Calamares installer is simpler but less flexible than d-i.
PXE / netbootRequiredFleet, rack, lab, automated deploymentUse when DHCP/TFTP/provisioning infrastructure already exists.
Hard-disk bootDependsSpecial rescue or no-removable-media casesUse only when USB/DVD/PXE are unavailable.
From existing Unix/Linux systemDependsAdvanced debootstrap installsFor experienced admins; outside normal d-i flow.
Default recommendation

Use the Debian 13 amd64 netinst ISO for normal installs with internet access. Use DVD-1 when you need the installer to succeed without a network mirror. Use PXE only when deploying multiple systems or installing remotely through managed infrastructure.

§ 06A - Automated Installation

Automation: Preseed, PXE, and FAI

The screen-by-screen path in this guide is the right mental model for a first installation or a one-off server. Fleet installation is different: the answers are moved out of the keyboard-driven installer session and into version-controlled infrastructure. Debian's native installer automation method is preseeding, where a preseed.cfg file supplies debconf answers for localization, networking, users, mirror selection, partitioning, package selection, bootloader installation, and late commands. Larger environments may instead use FAI (Fully Automatic Installation), which treats host classes, disk recipes, package lists, scripts, and post-install policy as deployment infrastructure.

ApproachHow It Changes the InstallBest Fit
preseed.cfgDebian Installer still runs, but many or all questions are answered from a file supplied by initrd, kernel parameter, USB media, HTTP, or PXE.Repeatable installs, lab systems, VM templates, and controlled server builds.
PXE / netboot + preseedFirmware starts the installer from the network; the preseed file and packages come from provisioning services and mirrors.Racks, remote sites, and environments where USB media is undesirable.
FAIUses class-based configuration, disk layout recipes, package sets, hooks, and scripts to build systems with minimal manual intervention.Large fleets, teaching labs, reproducible bare-metal deployments, and sites with mature provisioning infrastructure.
# Typical boot parameter pattern for a network preseed file
auto=true priority=critical url=http://provisioning.example.net/debian/trixie/preseed.cfg

# Common preseed areas to keep under version control
locale, keyboard, network, mirror, account policy, partitioning recipe, tasksel, bootloader, late_command
Automation safety boundary

Automated partitioning is intentionally dangerous if the wrong host receives the wrong recipe. Use stable host identity, explicit disk targeting where possible, tested backups, and a non-production rehearsal before enabling unattended destructive disk writes.

Preseed architecture boundary

Keep the boot media, installer kernel/initrd, mirror suite, package architecture, and preseed file aligned. A boot line such as auto=true priority=critical url=... can delay many questions until the preseed is read, but it cannot repair a mismatched architecture, wrong suite path, unreachable file, malformed directive, or recipe intended for a different disk layout. Those mistakes commonly make the installer fall back to interactive questions or repeat failed automated steps.

§ 07 - Verify & Write Media

Verify the ISO and Write the USB Correctly

The Debian image should be verified before it is written. After that, write the image to the whole USB device, not to a partition. On Linux, Debian documents the simple cp debian.iso /dev/sdX method for hybrid images; many administrators prefer dd because it provides progress reporting.

# 1. Identify the USB device before and after insertion
lsblk -o NAME,SIZE,MODEL,TYPE,MOUNTPOINTS

# 2. Verify checksum file signature if you downloaded SHA512SUMS.sign
gpg --verify SHA512SUMS.sign SHA512SUMS

# 3. Verify the ISO hash against Debian's checksum list
sha512sum -c SHA512SUMS --ignore-missing

# 4A. Debian documented direct-copy style. Replace sdX with the whole USB device.
sudo cp debian-13.x.x-amd64-netinst.iso /dev/sdX
sync

# 4B. Progress-reporting variant many admins prefer.
sudo dd if=debian-13.x.x-amd64-netinst.iso of=/dev/sdX bs=4M status=progress conv=fsync
Whole-device warning

Debian ISOs are complete disk images containing their own partition table and bootloader. Write the ISO to the entire USB device (for example, /dev/sdb), not to an individual partition such as /dev/sdb1. Before running cp or dd, use lsblk to confirm that you have selected the correct USB drive by checking its model and size. Writing to the wrong device (such as your internal SSD) will overwrite its contents.

Do not alter the image

Debian hybrid images are designed to be written directly. Avoid tools that unpack, rewrite, or modify the image unless you have a specific tested reason.

§ 08 - Firmware Setup

BIOS / UEFI Setup Before Booting the Installer

On modern machines, boot in native UEFI mode unless you have a specific legacy requirement. The installer detects whether it was started in BIOS/legacy mode or native UEFI mode and installs the corresponding bootloader path. Accidentally booting the USB in the wrong mode is a common cause of post-install boot confusion.

SettingRecommended For New InstallsReason
Boot modeNative UEFIUses ESP + GPT and matches modern firmware behavior.
CSM / Legacy modeDisable unless neededPrevents BIOS-mode GRUB from being installed accidentally on a UEFI machine.
Secure BootCan remain enabledDebian includes the signed shim path needed for Secure Boot on typical PCs.
Boot menuUse one-time boot menu when possibleUsually F12, F11, F8, Esc, or vendor-specific key; avoids changing permanent boot order.
Windows Fast StartupDisable for dual bootPrevents Windows hibernation-style shutdown from leaving filesystems in an unsafe state.
# After booting the installer shell or installed system:
# UEFI mode if this directory exists:
ls /sys/firmware/efi

# In the installed system, this should show UEFI boot entries:
efibootmgr -v
Secure Boot module signing after install

If Secure Boot is enabled, Debian's signed shim, GRUB, and kernel path works for the normal boot chain, but locally built kernel modules are a separate trust problem. DKMS modules and custom modules must be signed by a key enrolled through MOK before the kernel will load them. Keep the private key protected, document where it lives, and re-sign rebuilt modules after kernel or DKMS rebuilds if your DKMS package does not automate signing.

# Check Secure Boot and enrolled Machine Owner Keys
mokutil --sb-state
mokutil --list-enrolled

# Create and enroll a local module-signing key
openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -out MOK.der \
        -outform DER -days 36500 -nodes -subj "/CN=Local module signing key/"
sudo mokutil --import MOK.der
# Reboot → MOK Manager → enroll the key → reboot again

# Sign a rebuilt module manually when needed
SIGN_FILE=$(find /usr/lib/linux-kbuild-* -path '*/scripts/sign-file' | sort -V | tail -1)
sudo "$SIGN_FILE" sha256 MOK.priv MOK.der /path/to/module.ko
modinfo -F signer /path/to/module.ko
§ 09 - Boot Menu

Booting the Debian Installer

A normal Debian installer boot menu offers Graphical install, Install, Advanced options, accessibility options, help, and speech synthesis. The graphical and text installers use the same underlying installer workflow; choose based on convenience and memory availability.

Boot Menu ChoiceUse WhenResult
Graphical installNormal desktop/server install with enough RAMSame backend as text installer, with mouse and graphical UI.
InstallServer, VM, serial-ish environments, low memoryText/newt frontend; same d-i components.
Advanced optionsExpert install, rescue mode, automated install, special parametersMore control and recovery workflows.
Install with speech synthesisAccessible installationStarts installer with speech support.
HelpNeed boot prompt syntax or parametersShows boot help screens and a prompt for options.

Common boot parameters

# Safer graphics fallback when display goes black or garbled
install nomodeset

# Serial console example for headless systems
install console=ttyS0,115200n8

# Lower-priority installer for more questions
install priority=low

# Low-memory mode override when needed
install lowmem=1
BIOS vs UEFI editing

At the installer boot menu, the key sequence for editing boot parameters differs between BIOS and UEFI boot. The important point is not the key sequence itself; it is that parameters must be attached to the installer boot command before the kernel starts.

§ 10 - Localization

Language, Location, Locale, and Keyboard

The first installer screens set language, country/location, locale, and keyboard. These choices control the installer interface and become defaults in the installed system. Choose carefully, especially before entering encryption passphrases later.

1
Select languagerequired
Determines installer language and the default language/locale direction for the installed system. If a translation is unavailable, the installer falls back to English.
2
Select locationrequired
Used later for time zone and mirror suggestions. Choose where the system is located or where it will be administered from.
3
Choose keyboard layoutpassphrase impact
Use the actual keyboard layout. This matters for root passwords, user passwords, and especially LUKS passphrases because symbols can move between keyboard layouts.
Encryption warning

Before entering a LUKS passphrase, be certain the keyboard layout is correct. A passphrase typed with a different layout at boot can become effectively unusable.

§ 11 - Network & Identity

Network Configuration, Hostname, and Domain

Netinst depends on a working network for a normal server or desktop install. The installer normally attempts automatic configuration first. If that fails, use manual network setup or switch to DVD-1/offline installation strategy.

ScreenNormal AnswerWhen To Override
Select primary network interfaceWired Ethernet interfaceMultiple NIC systems, VLAN/pre-provisioning, Wi-Fi-only laptops.
Configure network automaticallyYes, DHCPStatic server IP, no DHCP, isolated lab, provisioning network.
Manual IP detailsIP, netmask/prefix, gateway, DNSOnly if DHCP fails or static addressing is required.
HostnameShort machine name, e.g. deb-srv01Follow site naming convention.
Domain nameBlank for home/lab or your real internal domainManaged networks, AD/DNS environments, server fleets.
Wireless ESSID and passphraseUse WPA/WPA2 personal if neededAvoid captive portal and enterprise Wi-Fi installs where possible.
Proxy question

If the installer asks for an HTTP proxy and your network does not require one, leave it blank. In corporate networks, use the proxy URL supplied by the network team, for example http://proxy.example.com:8080/.

When network setup or mirror access fails mid-install

A netinst installation can usually be recovered without abandoning the whole install. Before rebooting, use the installer menus to retry network configuration, choose another mirror, enter or clear the proxy value, or continue with only the packages available on scanned installation media when that is acceptable.

Failure PointRecovery PathPractical Note
DHCP failsRetry DHCP, switch cable/NIC, or enter static IP, gateway, DNS, and prefix manually.For servers, confirm the switch port/VLAN before blaming Debian.
Wi-Fi cannot associateUse wired Ethernet, provide missing firmware from USB, or switch to DVD-1/offline media.Captive portals and enterprise Wi-Fi are poor installer targets.
Mirror test failsUse deb.debian.org, choose another country mirror, verify DNS/gateway, or correct the proxy.A bad local mirror does not imply the install is broken.
TLS/proxy problemRe-enter proxy details or choose a mirror/protocol combination that works with site policy.Corporate SSL interception and unauthenticated proxies commonly break installer downloads.
Packages unavailable from mirrorGo back to mirror selection, scan DVD-1/USB media, or install a minimal system and fix APT after first boot.Do not select large desktop tasks on an unreliable link unless you have local media.
§ 12 - Accounts & Time

Users, Passwords, Clock, and Time Zone

Debian Installer can either enable a root password or leave root login disabled and grant sudo access to the first normal user. For most administrator-friendly modern installs, the sudo model is convenient; for controlled server environments, a root password may still be deliberate policy.

Installer QuestionRecommended AnswerEffect
Root passwordLeave blank for sudo model, or set deliberately for root-login modelIf blank, root account is disabled for direct password login and the first user gets sudo.
Full name for new userHuman-readable owner/admin nameGECOS/comment field; not the login name.
UsernameLowercase login, e.g. debadmin or adminThe account used after first boot.
User passwordStrong unique passwordNeeded for login and sudo if sudo model is used.
Clock/time zoneUse detected location unless server policy says UTCCan be changed later with dpkg-reconfigure tzdata.
Hardware clock UTC/localUTC for Linux-only systems; local time for Windows dual boot if promptedPrevents time drift/confusion with Windows dual-boot systems.
# Post-install corrections if needed
sudo dpkg-reconfigure tzdata
sudo dpkg-reconfigure locales
sudo dpkg-reconfigure keyboard-configuration
§ 13 - Partition Disks

Choosing the Right Partitioning Path

This is the most consequential installer phase. The installer supports guided partitioning, guided LVM, guided encrypted LVM, and manual partitioning. The original project document should be used for deep storage design; this section tells you which path to choose.

Installer ChoiceWhat It DoesChoose It ForAvoid When
Guided - use entire diskCreates a direct partition layout on the selected diskSimple VMs, labs, disposable systemsServers needing future resizing or encryption.
Guided - entire disk with LVMCreates boot partitions plus LVM for main Linux filesystemsMost general servers and VMsStrict minimal appliances where LVM is unnecessary.
Guided - encrypted LVMCreates LUKS encryption containing LVMLaptops, portable systems, sensitive dataSystems needing unattended boot unless you design TPM/keyfile unlock separately.
ManualFull control over partitions, filesystems, mount points, RAID, LVM, LUKSProduction servers, RAID, dual boot, custom layoutsNovice installs without a written partition plan.

Guided partitioning scheme choices

SchemeCreated LayoutPractical Use
All files in one partition/ plus swapSimplest; good for small VMs and learning systems.
Separate /home/, /home, swapDesktop/laptop user-data separation.
Separate /home, /var, /tmpMore mount pointsServers where log/cache/temp growth should not fill root.
Server-oriented schemeSeparate service/data areas depending on recipeUseful only if it matches the workload.
Commit point

Nothing is actually formatted until you approve the final write. On the final summary screen, check every line marked for formatting. The wrong disk, wrong mount point, or wrong format flag is the mistake to catch before continuing.

UEFI requirement

If the installer was booted in EFI mode, an EFI System Partition is required. If you forget to create and format one in manual partitioning, partman blocks continuation until you fix it.

§ 14 - Base System & Software

Base System, APT Mirror, and tasksel

After partitioning is committed, Debian Installer installs the base system and kernel. It then configures APT package sources and asks which software tasks to install. This stage is where a minimal server, full desktop, SSH-enabled VM, or web server diverges.

Base system installation

During base installation, package unpacking and setup messages are available on another virtual console and are written to installer logs. On a normal installation, you usually let this stage complete without intervention.

APT mirror choice

ScenarioUse Network Mirror?Reason
netinst installYesWithout a mirror, you get only a very minimal system.
DVD-1 install with internetYesGets newer security/stable-updates packages and packages not present on DVD-1.
DVD-1 true offline installNoUse packages on the DVD; expect limited task availability.
Corporate proxy networkYes, with proxyEnter proxy only if required by the network.
IPv6-only networkMaybe manual mirrorDefault country mirror may not be reachable over IPv6.
Mirror failover rule

If a mirror fails during package retrieval, go back to mirror selection before rebooting. Try deb.debian.org, another country mirror, correct proxy details, or a DVD-1/local-media path. A netinst ISO can install a minimal base from its own media, but desktop tasks, SSH server, and many standard utilities normally require a working mirror unless they are present on scanned installation media.

tasksel choices

tasksel installs predefined collections of packages. Use the space bar to toggle tasks in the text installer. Do not select large tasks casually on slow links, because once package installation starts there is no simple cancel button.

TaskInstallsRecommendation
Debian desktop environmentGraphical desktop; GNOME by default unless another DE is selectedSelect for desktop/laptop systems only.
GNOME / KDE / Xfce / othersSpecific desktop environmentUse Xfce for lower-resource systems; use GNOME/KDE for full desktop experience.
SSH serveropenssh-serverSelect for servers, VMs, and remote administration.
Web serverCommon web server task, including Apache pathSelect only when the host should immediately act as a web server.
Standard system utilitiesPriority-standard admin/userland toolsLeave selected unless building an intentionally minimal system.
Debian Pure BlendsSpecialized package collectionsUse only when you intentionally need a Blend profile.
§ 14A - Desktop Login

Display Manager Choices After tasksel

A desktop environment is not the same thing as the display manager that presents the graphical login screen. tasksel normally pulls a suitable display manager through package dependencies, but mixed desktop installs, minimal Xfce/LXQt installs, legacy GPUs, and Wayland failures can leave users at a black screen or text login even though the desktop packages are present.

Display ManagerCommon PairingOperational Note
gdm3GNOMEFull-featured default for GNOME; may default to Wayland where supported.
sddmKDE PlasmaNatural fit for Plasma sessions.
lightdmXfce, MATE, lighter desktopsOften simpler on older hardware and lightweight desktop builds.
# Inspect and reconfigure the active display manager
systemctl status display-manager
cat /etc/X11/default-display-manager
sudo dpkg-reconfigure gdm3       # or lightdm / sddm

# Disable Wayland in GDM when legacy graphics require Xorg
sudoedit /etc/gdm3/daemon.conf
# Set: WaylandEnable=false
Desktop troubleshooting boundary

If graphical login fails after installation, first switch to a virtual console with Ctrl+Alt+F2, log in, update the system, verify firmware, and inspect journalctl -b. Do not reinstall Debian just because the display manager failed; the base system may be healthy.

§ 15 - Bootloader & Finish

GRUB Installation, Final Cleanup, and Reboot

On amd64, GRUB is the normal Debian bootloader path. In UEFI mode it installs to the EFI System Partition; in BIOS mode it installs to the BIOS boot path/boot record depending on the disk layout. The installer can also detect other operating systems, but multi-boot detection is not a substitute for a tested backup and recovery plan.

Boot ModeGRUB TargetWhat To Check
UEFIEFI System Partition, usually mounted at /boot/efiESP exists, FAT32, boot entry created, Secure Boot path works if enabled.
Legacy BIOS + MBRDisk boot recordCorrect disk selected, not a partition.
Legacy BIOS + GPTBIOS Boot Partition plus GRUB installTiny BIOS boot partition exists and has no filesystem.
RAID bootUsually each bootable disk needs attentionTest degraded boot and ESP synchronization if using multiple ESPs.
Finish behavior

At the end, Debian Installer prompts you to remove the USB/DVD installation media and reboots into the newly installed system. If the first boot fails, use rescue mode before assuming the installation must be repeated.

§ 16 - Install Profile

Profile: Minimal Server

This is the clean default for a Debian server, VM, or hypervisor guest. It avoids unnecessary desktop packages and gives you SSH plus standard administrative tools.

StageChoiceReason
Imageamd64 netinstSmall, current packages from mirror, clean package set.
NetworkWired DHCP or static IPReliable mirror and SSH access.
PartitioningGuided LVM or Manual LVMFuture resizing for /, /var, data volumes.
taskselSSH server + Standard system utilitiesRemote administration without desktop bloat.
Post-installUpdate, harden SSH, configure firewall/monitoring/backupsMake it production-ready.
# First server checks after login
cat /etc/debian_version
ip addr
systemctl status ssh
sudo apt update
sudo apt full-upgrade
§ 17 - Install Profile

Profile: Desktop or Laptop

A desktop install differs mainly at tasksel and hardware validation. You may prefer a live image first to test graphics, Wi-Fi, touchpad, suspend/resume, audio, and external displays, then install using netinst or DVD-1.

DecisionRecommendationNotes
Installer frontendGraphical installSame backend as text installer, easier for desktop users.
Desktop taskSelect Debian desktop + chosen DEGNOME default; KDE Plasma and Xfce are common alternatives.
FirmwareUse official Debian 13 image; keep firmware USB availableEspecially important for Wi-Fi and graphics.
PartitioningEncrypted LVM for laptopsProtects user data if the device is lost.
SwapPlan hibernation before installHibernation is simpler with swap sized appropriately during install.
§ 18 - Install Profile

Profile: Encrypted Laptop or Sensitive Server

Guided encrypted LVM is the fastest safe path for most laptops. Debian Installer creates an unencrypted boot path plus a LUKS encrypted area that contains LVM volumes for the main system.

  • 1
    Choose Guided - use entire disk and set up encrypted LVM when the whole target disk can be erased.
  • 2
    Use a long passphrase and verify keyboard layout before typing it.
  • 3
    Allow disk erase/randomization when your threat model includes old data remnants; expect it to take time.
  • 4
    Keep /boot unencrypted in the normal Debian Installer workflow. Fully encrypted /boot requires a manual design outside the standard path.
  • 5
    Store recovery notes: LUKS passphrase policy, disk layout, hostname, user account, and backup method.
First boot expectation

On reboot, you will be asked for the LUKS passphrase before the root filesystem is mounted. No asterisks may be shown while typing; that is normal.

§ 19 - Install Profile

Profile: Offline or DVD-1 Installation

Use DVD-1 when the installer cannot reach Debian mirrors. It contains the installer plus many common packages. It is not a full mirror, and it may not contain every package needed for every selected task.

QuestionOffline AnswerLater Action
Use a network mirror?No, if truly offlineConfigure APT when network becomes available.
Scan additional media?Yes, only if you have matching extra mediaKeep media from the same release/image set.
Select desktop task?Only if the packages exist on mediaInstall missing packages later from a mirror.
Security updates?Not available offlineRun apt update and apt full-upgrade immediately when connected.
Practical warning

A system installed offline may boot successfully but still be missing firmware, updates, localization packages, desktop packages, or drivers. Plan a controlled post-install update path.

§ 20 - Install Profile

Profile: Windows Dual-Boot

Dual boot is mainly a firmware, partitioning, and Windows-state problem. Debian can coexist with Windows, but both operating systems must agree on boot mode and the Windows filesystem must be cleanly shut down.

  • 1
    Back up Windows and create Windows recovery media before resizing partitions.
  • 2
    Disable Windows Fast Startup/Fast Boot before installing Debian.
  • 3
    Boot the Debian installer in the same mode Windows uses, normally native UEFI on modern systems.
  • 4
    Do not format the existing Windows ESP. Reuse it as the ESP mount point only if you understand the layout.
  • 5
    If Windows is not detected in GRUB, finish Debian first, then troubleshoot boot entries with efibootmgr, os-prober policy, and firmware boot menu.
§ 21 - First Boot

First Boot Checklist

After the installer reboots, do not assume the system is production-ready merely because login succeeds. Validate boot mode, mounts, APT, network, time, firmware, and logs.

# Identity and release
cat /etc/os-release
cat /etc/debian_version
uname -a

# Boot mode
[ -d /sys/firmware/efi ] && echo UEFI || echo BIOS

# Storage and mounts
lsblk -o NAME,SIZE,TYPE,FSTYPE,UUID,MOUNTPOINTS
findmnt
findmnt --verify --verbose  # fstab parsing/usability check, not a block-device audit
swapon --show

# Network and package manager
ip addr
ip route
sudo apt update
sudo apt full-upgrade

# Logs
journalctl -p warning..alert -b
ls /var/log/installer/
CheckGood ResultProblem Indicated
GRUB menuDebian boots without USB mediaBootloader installed to wrong disk/mode.
LUKS promptPassphrase unlocks and boot continuesKeyboard layout, passphrase, crypttab, or initramfs issue.
apt updateRepository metadata downloads cleanlyNetwork, DNS, mirror, proxy, or sources issue.
findmntExpected mount points presentfstab/mount-point/LVM/crypto issue.
findmnt --verify/etc/fstab is parsable and appears usableSyntax, mount-point, option, or currently resolvable source problem. Still confirm device identity with lsblk, blkid, and a real mount test after editing fstab.
journalctlNo critical boot failuresDriver, firmware, filesystem, service, or boot warning to address.
§ 21A - Network Stack

NetworkManager, ifupdown, and systemd-networkd

Debian can manage networking through more than one stack. Desktop installs commonly use NetworkManager, while minimal/server installs may leave interfaces under classic ifupdown and networking.service depending on installer choices and installed packages. systemd-networkd is also available, but it is a deliberate administrator choice rather than a magic fallback.

StackTypical Debian UseAdmin Caution
ifupdownMinimal/server-style static or DHCP interfaces via /etc/network/interfaces.Reliable and simple for wired servers; not a comfortable Wi-Fi roaming tool.
NetworkManagerDesktop/laptop networking, Wi-Fi, VPNs, roaming, nmcli.Install and enable it intentionally on servers that need Wi-Fi or NM-managed profiles.
systemd-networkdDeclarative server networking, containers, simple bridges/VLANs.Do not mix managers on the same interface; migrate cleanly and document ownership.
# Identify which network manager is actually active
systemctl status networking NetworkManager systemd-networkd
cat /etc/network/interfaces
nmcli device status
networkctl status

# Typical conversion direction when a minimal install later needs NetworkManager
sudo apt install network-manager
sudo systemctl enable --now NetworkManager
Avoid split ownership

A post-reboot network loss is often caused by assuming the desktop networking stack exists on a no-desktop server, or by configuring the same interface in multiple places. Before editing, identify whether the interface is owned by /etc/network/interfaces, NetworkManager profiles, or systemd-networkd units.

§ 22 - APT

APT Sources for Debian 13 trixie

Debian 13 systems may use Deb822-style source files under /etc/apt/sources.list.d/. The exact file generated by the installer depends on the installation method and answers given. The model below is a clean post-install reference, not something to paste blindly over a working site policy.

# Example: /etc/apt/sources.list.d/debian.sources
Types: deb
URIs: https://deb.debian.org/debian
Suites: trixie trixie-updates
Components: main contrib non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

Types: deb
URIs: https://security.debian.org/debian-security
Suites: trixie-security
Components: main contrib non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
Component policy

Add non-free only when you intentionally need packages from Debian's non-free component. non-free-firmware is commonly needed for firmware updates on real hardware.

Duplicate source definitions

Deb822 .sources files and legacy .list/sources.list entries can coexist, but do not define the same Debian repository target twice across both formats. If the same URI, suite, component, architecture, and package type are active in both places, apt update will warn that targets such as Packages or DEP-11 are configured multiple times. Disable or remove the duplicate entry instead of keeping parallel definitions for the same repository.

# Find active Debian source definitions before editing
grep -RhsE '^(deb|Types:|URIs:|Suites:|Components:)' /etc/apt/sources.list /etc/apt/sources.list.d
sudo apt update
Firmware and tasksel boundary

Debian 13 separates redistributable firmware into non-free-firmware. When firmware is needed and enabled during installation, the installer can carry that policy into the installed system's APT sources. tasksel then installs selected roles from enabled repositories; it does not silently convert a system into a proprietary graphics-driver configuration. Add non-free only when a site policy or hardware requirement explicitly calls for packages from that component.

# Validate package sources after editing
sudo apt update
apt-cache policy

# Common first packages on a server
sudo apt install sudo vim curl ca-certificates openssh-server systemd-timesyncd
§ 23 - Troubleshooting

Installer Troubleshooting Reference

Debian Installer keeps useful logs and exposes rescue/debug paths. Use them before restarting from scratch. Many installer failures are mirror, firmware, boot-mode, partition, or tasksel issues rather than unrecoverable installation failures.

ProblemLikely CauseAction
No network with netinstDHCP failure, missing firmware, unsupported Wi-Fi, proxy issueUse wired Ethernet, manual network config, firmware USB, DVD-1, or PXE with correct drivers.
Mirror selection failsDNS, gateway, proxy, TLS, captive portal, bad mirrorTest network, use deb.debian.org, enter proxy correctly, or install from DVD-1.
Disk not visibleStorage mode, controller driver, firmware, VM disk presentationCheck firmware settings, controller mode, VM storage controller, and installer logs.
Partitioner will not continueNo root mount point, no ESP in UEFI mode, invalid storage layerEnsure / exists, ESP exists for UEFI, and LVM/RAID/LUKS layers are completed.
Desktop task downloads too muchnetinst + desktop task + slow mirrorUse DVD-1/live media, choose Xfce, or install minimal first and add desktop later.
Black screen after installGraphics firmware or mode-setting issueTry nomodeset, switch VT with Ctrl+Alt+F2, install firmware package after login.
LUKS passphrase rejectedKeyboard layout mismatch or typoVerify layout, use recovery key/passphrase if configured, boot rescue mode if needed.
System boots only with USB insertedGRUB installed to wrong target or firmware boot entry issueUse rescue mode, chroot, reinstall GRUB to correct disk/ESP, check efibootmgr.

Installer logs and shell

# During installation, switch consoles on most PCs:
# Left Alt+F2: shell
# Left Alt+F4: package/setup messages
# Left Alt+F1: installer UI

# Logs during installer session:
ls /var/log
nano /var/log/syslog

# Logs after successful installation:
ls /var/log/installer/
Shell caution

The installer shell is for diagnostics and recovery. Manual changes from the shell can confuse the installer state. For partitioning, swap activation, LVM, RAID, and encryption, prefer the installer menus unless you intentionally know why you are overriding them.

§ 24 - Source Trace

Official Source Trace Used for This Companion

This section records the official Debian pages used to build and verify the content. The URLs are kept visible so the document can be revalidated during future Debian point releases or the next stable transition.

AreaOfficial URLUsed For
Installation Guide indexhttps://www.debian.org/releases/stable/amd64/index.en.htmlRelease, architecture, table of contents, chapter scope.
Supported hardwarehttps://www.debian.org/releases/stable/amd64/ch02s01.en.htmlamd64 support, supported architectures, graphics, NIC, wireless notes.
Installation mediahttps://www.debian.org/releases/stable/amd64/ch02s04.en.htmlUSB, optical, network, hard disk, Unix/GNU-system install methods.
Obtaining mediahttps://www.debian.org/releases/stable/amd64/ch04.en.htmlOfficial images, USB preparation, TFTP/netboot, verification topics.
USB preparationhttps://www.debian.org/releases/stable/amd64/ch04s03.en.htmlHybrid image writing, whole-device warning.
Integrity verificationhttps://www.debian.org/releases/stable/amd64/ch04s07.en.htmlSHA256/SHA512 checksum workflow.
Booting the installerhttps://www.debian.org/releases/stable/amd64/ch05s01.en.htmlBoot menu, graphical installer, expert/rescue options, boot parameters.
Using d-i componentshttps://www.debian.org/releases/stable/amd64/ch06s03.en.htmlLocalization, network, accounts, partitioning, base install, APT, tasksel, GRUB, logs.
Missing firmwarehttps://www.debian.org/releases/stable/amd64/ch06s04.en.htmlFirmware prompts, FAT USB firmware directory, installed-system firmware behavior.
Preseeding appendixhttps://www.debian.org/releases/stable/amd64/apb.en.htmlAutomated installation, preconfiguration files, boot parameters, and example preseed syntax.
First boothttps://www.debian.org/releases/stable/amd64/ch07.en.htmlGRUB first boot, encrypted volume prompts, login.
Debian Deep Dive · Complete Installation Walkthrough Boot Menu → First Login · Debian 13 trixie · Reviewed 2026-07-16

No comments:

Post a Comment

Complete Debian Installation Walkthrough: Boot Menu to First Login

// System Administration · Debian Linux · Installation Companion Complete Debian Installation Walkthrough A screen-by-scree...