Came here in search of an answer to a problem, but didn't find it? Visit the forum @ LinuxBSDos.com, pick a category and ask a question.

Debian 6 installation and disk partitioning guide

I am reading page: 1 2

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

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

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.

0saves
To have articles like this delivered automatically to your Feed Reader or Inbox, subscribe via RSS or email.
I am reading page: 1 2

Digital Ocean SSD VPS Cloud Server droplets

Digital Ocean is a VPS/Cloud hosting provider. For just $5 per month, you can get yourself a Cloud server with 512 MB of RAM, 20 GB super-fast SSD, free snapshots, plus backups for a minimal fee. All via a simple graphical interface.

And by signing up with this referral link, you can help support this website.

If you are reading this, your ad could also be occupying this space. Contact us to make it happen.

If commenting on this article is closed, please post your comments at forum.linuxbsdos.com.

2 Comments

    Leave a Comment