{"id":944,"date":"2013-06-19T14:41:42","date_gmt":"2013-06-19T18:41:42","guid":{"rendered":"http:\/\/www.databook.bz\/?page_id=944"},"modified":"2020-09-17T09:56:35","modified_gmt":"2020-09-17T13:56:35","slug":"advanced-partitioning-and-disk-layout-during-installation","status":"publish","type":"page","link":"http:\/\/www.linux-databook.info\/?page_id=944","title":{"rendered":"Advanced Partitioning and Disk Layout During Installation"},"content":{"rendered":"<p>The <a title=\"DataBook: Default Partitioning and Disk Layout During Installation \" href=\"http:\/\/www.linux-databook.info\/?page_id=932\" target=\"_blank\" rel=\"noopener noreferrer\">default partitioning schemes for Fedora<\/a>\u2014and most other distributions\u2014are fine for beginners with no knowledge of filesystems, or for really quick and dirty testing of various non-filesystem related&nbsp; functions. However, they are definitely not optimum for many environments, especially servers or commercial installations of various types. Even advanced users will probably find that the default partitioning could be improved upon.<\/p>\n<p>A better partitioning scheme will definitely require manual partitioning during the installation, planning for future expansion, and some knowledge of filesystems, Logical Volume Manager (LVM) and partitioning.<\/p>\n<p>The best partitioning scheme for any environment will depend upon the use to which the Linux computer will be put.<\/p>\n<h1>Minimum partitioning scheme<\/h1>\n<p>This partitioning scheme is a very minimal scheme designed to be a starting point for your own partitioning scheme. The table below shows all of the partitions you should have when you are completed including the \/boot partition. This scheme is based on historical best practices and contains the recommended partitions for optimum reliability and flexibility.<\/p>\n<dl>\n<dd>\n<table style=\"width: 450px; height: 364px;\" cellspacing=\"1\" cellpadding=\"2\">\n<colgroup>\n<col width=\"50\">\n<col width=\"50\">\n<col width=\"75\">\n<col width=\"75\">\n<col width=\"150\"> <\/colgroup>\n<thead>\n<tr valign=\"TOP\">\n<th width=\"50\"><span style=\"font-size: 14px;\">Mount Point<\/span><\/th>\n<th width=\"50\"><span style=\"font-size: 14px;\">LVM<\/span><\/th>\n<th width=\"75\"><span style=\"font-size: 14px;\">Filesystem Type<\/span><\/th>\n<th width=\"75\"><span style=\"font-size: 14px;\">Size<\/span><\/th>\n<th width=\"150\"><span style=\"font-size: 14px;\">Notes<\/span><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr valign=\"TOP\">\n<td width=\"94\">\/boot<\/td>\n<td width=\"50\">No<\/td>\n<td width=\"114\">EXT<\/td>\n<td width=\"59\">500M<\/td>\n<td width=\"59\"><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"94\">\/<\/td>\n<td width=\"50\">Yes<\/td>\n<td width=\"114\">EXT<\/td>\n<td width=\"59\">5GB<\/td>\n<td width=\"59\"><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"94\">\/home<\/td>\n<td width=\"50\">Yes<\/td>\n<td width=\"114\">EXT<\/td>\n<td width=\"59\">2GB<\/td>\n<td width=\"59\">Expand this partition as required<\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"94\">\/tmp<\/td>\n<td width=\"50\">Yes<\/td>\n<td width=\"114\">EXT<\/td>\n<td width=\"59\">2GB<\/td>\n<td width=\"59\">Expand this partition as required<\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"94\">\/usr<\/td>\n<td width=\"50\">Yes<\/td>\n<td width=\"114\">EXT<\/td>\n<td width=\"59\">10GB<\/td>\n<td width=\"59\">Expand this partition as required<\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"94\">\/var<\/td>\n<td width=\"50\">Yes<\/td>\n<td width=\"114\">EXT<\/td>\n<td width=\"59\">2GB<\/td>\n<td width=\"59\">Expand this partition as required<\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"94\">NA<\/td>\n<td width=\"50\">Yes<\/td>\n<td width=\"114\">Swap<\/td>\n<td width=\"59\">2GB<\/td>\n<td width=\"59\">Expand this partition as required<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/dd>\n<\/dl>\n<p><i>Table 1: Filesystem and Volume mount points and sizes. I have installed a full version of Fedora on a NetBook computer with the KDE Desktop along with Libr\u00e9Office, Thunderbird, Firefox and other application programs in about 8GB of disk space. <\/i><\/p>\n<h2>Differences in Fedora 18 and higher<\/h2>\n<p>The primary difference when you manually partition your disk space during installation between Fedora 18 and all prior releases is the way that unpartitioned disk space is handled.<\/p>\n<p>Prior to Fedora 18, that is for Fedora 17 and earlier, the remaining unused disk space is all allocated to a single large logical volume that includes all physical hard drives.<\/p>\n<p>For Fedora 18 and (Possibly) later, the unused disk space is left free and is not part of any volume group or physical volume. Starting with Fedora 18, however, it is possible to edit the volume group size and specify any arbitrary size or that the volume group should take up the maximum available disk size.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The default partitioning schemes for Fedora\u2014and most other distributions\u2014are fine for beginners with no knowledge of filesystems, or for really quick and dirty testing of various non-filesystem related&nbsp; functions. However, they are definitely not optimum for many environments, especially servers&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"http:\/\/www.linux-databook.info\/?page_id=944\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":5,"menu_order":15,"comment_status":"closed","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-944","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/www.linux-databook.info\/index.php?rest_route=\/wp\/v2\/pages\/944","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.linux-databook.info\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/www.linux-databook.info\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/www.linux-databook.info\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.linux-databook.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=944"}],"version-history":[{"count":25,"href":"http:\/\/www.linux-databook.info\/index.php?rest_route=\/wp\/v2\/pages\/944\/revisions"}],"predecessor-version":[{"id":5831,"href":"http:\/\/www.linux-databook.info\/index.php?rest_route=\/wp\/v2\/pages\/944\/revisions\/5831"}],"up":[{"embeddable":true,"href":"http:\/\/www.linux-databook.info\/index.php?rest_route=\/wp\/v2\/pages\/5"}],"wp:attachment":[{"href":"http:\/\/www.linux-databook.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=944"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}