Debian, Tutorials/Tips

Debian 6 installation and disk partitioning guide

If the second option is selected, the installer will create three partitions. The home partition, where your home directory will be located, gets the bulks of the available disk space. When more than one partition is created, the installer always allocated 10 GB to the root partition.

One thing you should take note of is that the installer does not create a separate partition for /boot. /boot only gets its own partition if you opt to use LVM.
debguide4

And if you choose to create a separate partition for all the major file system directories, the installer will create and allocate disk space as shown in the image below. While this and other examples in previous images look good, I will not recommend them. Why? Because as noted earlier, they are not based on LVM,
debguide5

Related Post:  17 alternatives to your default image viewer on Fedora

The next set of images will show how the installer partitions a disk if you choose LVM. In the image below, you can see that the installer creates a separate partition for /boot of about 250 MB. The rest of the available disk space is then used to create Logical Volumes. By the way, the partitions and logical volumes shown in the image are the ones created if you choose to install all files under one partition.
debguide6

On the other hand, if you choose to have your home directory under a separate Logical Volume, the picture changes slightly. An extra logical volume will be created for /home. Notice that as in the other examples, the bulk of the available disk space is allocated to /home. This is okay when using a traditional partitioning scheme. If using LVM, however, the rule of thumb is to allocate just enough disk space to install the system. The unallocated disk space will then be used to grow Logical Volumes or create new ones should you ever need to.
debguide12

Related Post:  How to install Apache web server on Fedora

What the image above show is that the Debian Installer does not respect a very basic rule of using LVM. A soon-to-be-published article will give a step-by-step guide on how to configure LVM properly. Check back soon or subscribe via RSS or email.

I hope this guide has been helpful. If you need further assistance, feel free to ask for help at the forum. It is a better environment for discussing and resolving issues than the commenting system. Gratias.

LinuxBSDos needs your donation to continue!

I hope this article has saved you valuable time and effort to fix a problem that would have taken more time than is necessary. That makes me happy, and why I love doing this. But because more people than ever are reading articles like this with an adblocker, ad revenues have fallen to a level that's not enough to cover my operating costs. That's why I want to ask you a favor: To make a one-time or recurring donation to support this site and keep it going. It's a small favor, but every one counts. And you can make your donation using Patreon or directly via Paypal. Thank you for whatever donation you're able to make.

Donate via Patreon. Donate via Paypal.

Aside from donation, you may also signup to receive an email once I publish new content. Your email will not be shared or traded to anyone. And you can unsubscribe at any time.

Please share:

We Recommend These Vendors and Free Offers

Launch an SSD VPS in Europe, USA, Asia & Australia on Vultr's KVM-based Cloud platform starting at $5:00/month (15 GB SSD, 768 MB of RAM).

Deploy an SSD Cloud server in 55 seconds on DigitalOcean. Built for developers and starting at $5:00/month (20 GB SSD, 512 MB of RAM).

Want to become an expert ethical hacker and penetration tester? Request your free video training course of Online Penetration Testing and Ethical Hacking

Whether you're new to Linux or are a Linux guru, you can learn a lot more about the Linux kernel by requesting your free ebook of Linux Kernel In A Nutshell.


2 Comments

  1. Pingback: Manually partitioning Squeeze « 0ddn1x: tricks with *nix

  2. Pingback: Tweets that mention Debian 6 installation and disk partitioning guide -- Topsy.com

Leave a Comment

Your email address will not be published. Required fields are marked *

*