Installing Debian Bookworm on an Old Compaq Evo N1020v Laptop: Hard Disk Partitioning
In this article, we will walk you through the process of installing Debian Bookworm on an old Compaq Evo N1020v laptop, specifically focusing on hard disk partitioning. This guide assumes that your laptop does not have a usable CD/DVD drive, which is common in older laptops. We will cover the key concepts and provide detailed instructions to help you complete the installation successfully.
Preparing the Installation Media
Since the CD/DVD drive on your laptop is not working, you will need to create a bootable USB drive with the Debian Bookworm installation image. You can download the image from the official Debian website and use a tool like Etcher to flash the image onto a USB drive.
Booting from the USB Drive
To boot from the USB drive, you will need to restart your laptop and press the appropriate key (usually F10 or F12) to enter the boot menu. From there, select the USB drive as the boot device and press Enter.
Partitioning the Hard Disk
Once you have booted from the USB drive, you will be presented with the Debian installer. Select the "Manual" partitioning method to gain full control over the partitioning process. The following steps will guide you through partitioning your hard disk:
- Create a new partition table. Choose "GUID Partition Table (GPT)" if your hard disk supports it; otherwise, select "Master Boot Record (MBR)."
- Create a small EFI system partition (if using GPT) or a boot partition (if using MBR) of about 100-200 MB. Set the partition type to "EFI System" (GPT) or "Bootable" (MBR).
- Create a root partition of at least 10 GB. Set the partition type to "Linux filesystem" and choose the ext4 file system.
- Create a swap partition of at least 2 GB. Set the partition type to "Linux swap."
- Optional: Create a home partition for user data. Set the partition type to "Linux filesystem" and choose the ext4 file system.
# Example partitioning layout using fdisk (MBR)
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 206847 204800 100M 83 Linux
/dev/sda2 206848 20971519 20764672 10G 83 Linux
/dev/sda3 20971520 41940991 20969472 10G 82 Linux swap / Solaris
# Example partitioning layout using parted (GPT)
(parted) unit MB
(parted) mklabel gpt
(parted) mkpart EFI system fat32 1 200
(parted) set 1 esp on
(parted) mkpart primary ext4 200 12000
(parted) mkpart primary linux-swap 12000 22000
(parted) quit
Installing the Base System
After partitioning the hard disk, you can proceed with the installation of the base system. Select the root partition you created earlier as the installation target and continue with the installation process. Make sure to include the "Standard system utilities" package to ensure that your system is fully functional after the installation.
In this article, we have covered the process of installing Debian Bookworm on an old Compaq Evo N1020v laptop, focusing on hard disk partitioning. By following the steps outlined in this guide, you should be able to successfully install Debian Bookworm on your laptop, even without a usable CD/DVD drive.