Installing Debian with Manual Partitioning

Last update: 07-24-2024

Installing Debian with manual partitioning can seem daunting, but it offers flexibility and control over how your system's storage is structured. Here's a comprehensive guide to help you through the process.

Step 1: Initial Setup

  1. Choose Language: Start by selecting the language for your operating system.
  2. Language Selection
  3. Select Country: Pick your country from the list provided.
  4. Country Selection
  5. Configure Keymap: Choose a keymap that matches your keyboard layout.

Step 2: Set Hostname and User Configuration

  1. Hostname: Enter a hostname for your computer. For this guide, we'll use 'Debian'.
  2. Domain Name: Leave the domain name blank unless you have a specific requirement.
  3. Root Password: Leave the root password blank to disable the root account. This will automatically add the first user to the 'sudo' group.
  4. User Account: Provide a full name for the user, a username for the account, and set a password.
  5. Full Name Dialog

Step 3: Manual Partitioning

  1. Partitioning Method: Select "Manual" to proceed with manual partitioning.
  2. Manual Partitioning Selection
  3. Disk Selection: Identify the disk to partition. If the disk has existing partitions, choose the disk itself to wipe everything and create a new partition table.
  4. Disk Selection
  5. Confirm Changes: Confirm that you want to create a new partition table, which will remove all current partitions.
  6. Create Partition Table Confirmation

Step 4: Create Partitions

With the new partition table created, you'll see only "free space" available on the disk. Let's create the necessary partitions one by one:

  1. EFI System Partition (ESP):
    • Select Free Space: Choose the free space to create the first partition.
    • Create a New Partition
    • Role: The EFI System Partition is crucial for booting the system. It stores boot loaders and other essential files.
    • Size: Allocate at least 300 MB (we'll use 1 GB for safety and future-proofing).
    • ESP Partition 1GB Allocation
    • Setup:
      • Name: ESP
      • Use As: EFI System Partition
      • ESP Partition with Name and Size
  2. Swap Partition:
    • Select Free Space: Again, select the remaining free space to create the next partition.
    • Role: The swap partition acts as overflow space for your system's RAM. If your physical RAM is full, inactive pages are moved to the swap space.
    • Size: For modern systems, 2 to 4 GB is usually sufficient. We'll allocate 4 GB for robust performance.
    • Setup:
      • Name: SWAP
      • Use As: Swap Area
      • Swap Partition with Name and Size
  3. Main Partition:
    • Select Free Space: Finally, use the rest of the free space to create the main partition.
    • Role: This is where Debian will be installed along with all your user files and applications.
    • Size: Allocate the remaining disk space to this partition to ensure ample storage for the operating system and user data.
    • Setup:
      • Name: Debian 12
      • Use As: EXT4 File System
      • Debian Partition with Name and Size

Step 5: Finalize Partitioning

  1. Finish Partitioning: Review your partition setup. Ensure that the ESP, SWAP, and main partitions are correctly configured.
  2. Finish Partitioning and Write Changes
  3. Write Changes: Confirm and write the changes to the disk.

Step 6: Installation

  1. Install Debian: The installation process will begin and may take some time.
  2. Default Options: During the installation, you'll be prompted with a few questions. It's safe to choose the default options for all of them.
  3. Completion: Once the installation is complete, restart your computer.

Congratulations, you've successfully installed Debian with manual partitioning!

Conclusion

Manual partitioning allows you to tailor your Debian installation to your specific needs. With these steps, you can confidently set up your system and take full advantage of Debian's robust capabilities. Thanks for following along!

StocksComparison.com ad
 

0 Comments

Add a new comment: