{"id":311,"date":"2007-01-16T16:32:00","date_gmt":"2007-01-17T00:32:00","guid":{"rendered":"https:\/\/kb.terabyteunlimited.com\/kb-articles\/example-how-to-manipulate-free-space-needed-for-a-resize-operation\/"},"modified":"2021-09-10T23:58:39","modified_gmt":"2021-09-11T06:58:39","slug":"example-how-to-manipulate-free-space-needed-for-a-resize-operation","status":"publish","type":"lsvr_kba","link":"https:\/\/www.terabyteunlimited.com\/kb\/kb-articles\/example-how-to-manipulate-free-space-needed-for-a-resize-operation\/","title":{"rendered":"Example: How to manipulate free space needed for a resize operation"},"content":{"rendered":"<p>In order for BootIt NG to resize a partition to a larger size, the required amount of free (unpartitioned) space must exist immediately following the partition to be resized. Since this is not always the case, this article will show, by example, how other partitions and volumes on the disk can be manipulated in order to arrive at the desired result.<br \/>\r\n<br \/>\r\n<strong><span style=\"color: #ff0000;\">Important: <\/span><\/strong>During the <strong>Resize<\/strong> and <strong>Slide<\/strong> operations shown below, events beyond the control of BootIt NG can occur and can result in the <strong>loss of data<\/strong>. A known good backup of all partitions and volumes to be manipulated is highly recommended before proceeding.<br \/>\r\n<br \/>\r\nFor the purposes of this example, the following partition layout (as seen in <strong>Partition Work<\/strong>) will be the starting point:<br \/>\r\n<br \/>\r\n<\/p>\r\n<table border=\"0\" cellspacing=\"1\" cellpadding=\"2\">\r\n<tbody>\r\n<tr>\r\n<td>MBR Entry 0\u00a0<\/td>\r\n<td>Partition\u00a0<\/td>\r\n<td>\u00a010000 MB<\/td>\r\n<td>\u00a0HPFS\/NTFS<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>MBR Entry 1<\/td>\r\n<td>Partition<\/td>\r\n<td>\u00a010000 MB<\/td>\r\n<td>\u00a0Extended<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>\u00a0\u00a0 Volume 1<\/td>\r\n<td>Volume<\/td>\r\n<td>\u00a0 5000 MB<\/td>\r\n<td>\u00a0HPFS\/NTFS<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>\u00a0\u00a0 Volume 2 <\/td>\r\n<td>Volume<\/td>\r\n<td>\u00a0 5000 MB<\/td>\r\n<td>\u00a0HPFS\/NTFS<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<p><br \/>\r\nIn this example, the overall disk size is 20000 MB and is completely occupied by existing partitions. MBR Entry 0 is a primary partition of 10000 MB and MBR Entry 1 is an extended partition containing two volumes of 5000 MB each. The goal is to increase the size of MBR Entry 0 from 10000 MB to 11000 MB, an increase of 1000 MB. <br \/>\r\n<br \/>\r\n<span style=\"color: #005858;\"><strong>Step 1 - Resize Volume 2 Down by 1000 MB<\/strong><\/span><\/p>\r\n<p>Since no free space exists on the drive, the first step is to create some by shrinking one of the volumes. It is determined that Volume 2 has enough unused space so that it can be resized down by 1000 MB. That is accomplished by highlighting Volume 2 and then choosing <strong>Resize<\/strong>. After the filesystem check completes, enter a value of <strong>4000<\/strong> in the <strong>New Size<\/strong> dialog box and then choose <strong>OK<\/strong>. This operation will result in the following partition table:<br \/>\r\n<br \/>\r\n<\/p>\r\n<table border=\"0\" cellspacing=\"1\" cellpadding=\"2\">\r\n<tbody>\r\n<tr>\r\n<td>MBR Entry 0 <\/td>\r\n<td>Partition\u00a0<\/td>\r\n<td>\u00a010000 MB<\/td>\r\n<td>\u00a0HPFS\/NTFS <\/td>\r\n<\/tr>\r\n<tr>\r\n<td>MBR Entry 1 <\/td>\r\n<td>Partition<\/td>\r\n<td>\u00a010000 MB<\/td>\r\n<td>\u00a0Extended\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>\u00a0 Volume 1<\/td>\r\n<td>Volume<\/td>\r\n<td>\u00a0 5000 MB<\/td>\r\n<td>\u00a0HPFS\/NTFS <\/td>\r\n<\/tr>\r\n<tr>\r\n<td>\u00a0 Volume 2<\/td>\r\n<td>Volume<\/td>\r\n<td>\u00a0 4000 MB<\/td>\r\n<td>\u00a0HPFS\/NTFS <\/td>\r\n<\/tr>\r\n<tr>\r\n<td>\u00a0 --------<\/td>\r\n<td>Volume<\/td>\r\n<td>\u00a0 1000 MB<\/td>\r\n<td>\u00a0Free Space<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<p><br \/>\r\n<span style=\"color: #005858;\"><strong>Step 2 - Slide Volume 2 to the End of the Extended Partition<\/strong><\/span><\/p>\r\n<p>The required amount of free space now exists, but it is at the end of the disk and still inside of the extended partition (note above that the free space is <strong>indented<\/strong> and shown as a <strong>volume<\/strong>, which means it is still inside the extended partition). To get the free space out of the extended partition, it must be located at either the beginning or end of the extended partition. Since it eventually needs to be located immediately after MBR Entry 0, the next step will be to slide Volume 2 to the end of the extended partition so that the free space will then be in between the 2 volumes. This is accomplished by highlighting Volume 2, choosing <strong>Slide<\/strong>, and entering a value of <strong>0<\/strong> for<strong> Free Space After<\/strong>. That will result in the following partition table:<br \/>\r\n<br \/>\r\n<\/p>\r\n<table border=\"0\" cellspacing=\"1\" cellpadding=\"2\">\r\n<tbody>\r\n<tr>\r\n<td>MBR Entry 0\u00a0<\/td>\r\n<td>Partition<\/td>\r\n<td>\u00a010000 MB\u00a0<\/td>\r\n<td>\u00a0HPFS\/NTFS\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>MBR Entry 1<\/td>\r\n<td>Partition<\/td>\r\n<td>\u00a010000 MB<\/td>\r\n<td>\u00a0Extended<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>\u00a0 Volume 1<\/td>\r\n<td>Volume<\/td>\r\n<td>\u00a0\u00a0 5000 MB<\/td>\r\n<td>\u00a0HPFS\/NTFS<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>\u00a0 --------\u00a0<\/td>\r\n<td>Volume<\/td>\r\n<td>\u00a0\u00a0 1000 MB<\/td>\r\n<td>\u00a0Free Space<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>\u00a0 Volume 2<\/td>\r\n<td>Volume<\/td>\r\n<td>\u00a0\u00a0 4000 MB<\/td>\r\n<td>\u00a0HPFS\/NTFS<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<p><br \/>\r\n<span style=\"color: #005858;\"><strong>Step 3 - Slide Volume 1 to the End of the Free Space<\/strong><\/span><\/p>\r\n<p>Since the free space is still not at the beginning of the extended partition, it is now necessary to slide Volume 1 so that the free space comes before it. This is accomplished by highlighting Volume 1, choosing <strong>Slide<\/strong>, and entering a value of <strong>0<\/strong> for <strong>Free Space After<\/strong>. That will result in the following partition table:<br \/>\r\n<br \/>\r\n<\/p>\r\n<table border=\"0\" cellspacing=\"1\" cellpadding=\"2\">\r\n<tbody>\r\n<tr>\r\n<td>MBR Entry 0\u00a0<\/td>\r\n<td>Partition<\/td>\r\n<td>\u00a010000 MB\u00a0<\/td>\r\n<td>\u00a0HPFS\/NTFS<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>MBR Entry 1<\/td>\r\n<td>Partition<\/td>\r\n<td>\u00a010000 MB<\/td>\r\n<td>\u00a0Extended<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>\u00a0 --------<\/td>\r\n<td>Volume<\/td>\r\n<td>\u00a0\u00a0 1000 MB<\/td>\r\n<td>\u00a0Free Space<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>\u00a0 Volume 1<\/td>\r\n<td>Volume\u00a0<\/td>\r\n<td>\u00a0\u00a0 5000 MB<\/td>\r\n<td>\u00a0HPFS\/NTFS<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>\u00a0 Volume 2<\/td>\r\n<td>Volume<\/td>\r\n<td>\u00a0\u00a0 4000 MB<\/td>\r\n<td>\u00a0HPFS\/NTFS<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<p><br \/>\r\n<strong><span style=\"color: #005858;\">Step 4 - Resize the Extended Partition to Move the Free Space Outside<\/span><\/strong><\/p>\r\n<p>The final step in manipulating the free space is to resize the extended partition so that the free space is outside of it. That is accomplished by highlighting the extended partition (MBR Entry 1) and choosing the <strong>Resize<\/strong> button. That will bring up the extended partition resize dialog. In that dialog, you need to enter a value of <strong>0<\/strong> for Free Space Inside the <strong>Beginning<\/strong> of the extended partition and then choose <strong>OK<\/strong>. This operation will result in the following partition table:<br \/>\r\n<br \/>\r\n<\/p>\r\n<table border=\"0\" cellspacing=\"1\" cellpadding=\"2\">\r\n<tbody>\r\n<tr>\r\n<td>MBR Entry 0\u00a0<\/td>\r\n<td>Partition<\/td>\r\n<td>\u00a010000 MB<\/td>\r\n<td>\u00a0HPFS\/NTFS<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>--------<\/td>\r\n<td>Partition<\/td>\r\n<td>\u00a0\u00a0 1000 MB<\/td>\r\n<td>\u00a0Free Space<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>MBR Entry 1<\/td>\r\n<td>Partition<\/td>\r\n<td>\u00a0\u00a0 9000 MB<\/td>\r\n<td>\u00a0Extended<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>\u00a0 Volume 1<\/td>\r\n<td>Volume<\/td>\r\n<td>\u00a0\u00a0 5000 MB<\/td>\r\n<td>\u00a0HPFS\/NTFS<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>\u00a0 Volume 2<\/td>\r\n<td>Volume<\/td>\r\n<td>\u00a0\u00a0 4000 MB<\/td>\r\n<td>\u00a0HPFS\/NTFS<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<p><br \/>\r\n<span style=\"color: #005858;\"><strong>Step 5 - Resize MBR Entry 0 to Increase the Size to 11000 MB<\/strong><\/span><\/p>\r\n<p>Now that the free space is outside of the extended partition <strong>and<\/strong> immediately follows MBR Entry 0, the desired resize operation on MBR Entry 0 can take place. Highlight MBR Entry 0, and then choose <strong>Resize<\/strong>. After the filesystem check completes, enter a value of <strong>11000<\/strong> in the <strong>New Size<\/strong> dialog box and then choose <strong>OK<\/strong>. The final result will be as follows:<br \/>\r\n<br \/>\r\n<\/p>\r\n<table border=\"0\" cellspacing=\"1\" cellpadding=\"2\">\r\n<tbody>\r\n<tr>\r\n<td>MBR Entry 0\u00a0<\/td>\r\n<td>Partition\u00a0<\/td>\r\n<td>\u00a011000 MB<\/td>\r\n<td>\u00a0HPFS\/NTFS<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>MBR Entry 1<\/td>\r\n<td>Partition<\/td>\r\n<td>\u00a0\u00a0 9000 MB<\/td>\r\n<td>\u00a0Extended<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>\u00a0\u00a0 Volume 1<\/td>\r\n<td>Volume<\/td>\r\n<td>\u00a0 5000 MB<\/td>\r\n<td>\u00a0HPFS\/NTFS<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>\u00a0\u00a0 Volume 2 <\/td>\r\n<td>Volume<\/td>\r\n<td>\u00a0 4000 MB<\/td>\r\n<td>\u00a0HPFS\/NTFS<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<hr \/>\r\n<p><strong><span style=\"color: #ff5500;\">Additional Information:<\/span>\u00a0 <\/strong><\/p>\r\n<p>To view a video example similar to the one above, see the <strong>How to resize partition example video<\/strong>, which is linked to from this web page: <br \/>\r\n<a href=\"https:\/\/www.terabyteunlimited.com\/howto\/\" target=\"_blank\" rel=\"noopener\">https:\/\/www.terabyteunlimited.com\/howto\/<\/a><\/p>\r\n<p>&nbsp;<\/p>\r\n<p>&nbsp;<\/p>\r\n<p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>In order for BootIt NG to resize a partition to a larger size, the required amount of free (unpartitioned) space must exist immediately following the partition to be resized. Since this is not always the case, this article will show, by example, how other partitions and volumes on the disk can be manipulated in order [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"lsvr_kba_cat":[1771],"lsvr_kba_tag":[2118],"class_list":["post-311","lsvr_kba","type-lsvr_kba","status-publish","hentry","lsvr_kba_cat-faq-bing-archive","lsvr_kba_tag-archived"],"_links":{"self":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/311","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba"}],"about":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/types\/lsvr_kba"}],"author":[{"embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/comments?post=311"}],"version-history":[{"count":2,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/311\/revisions"}],"predecessor-version":[{"id":6770,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/311\/revisions\/6770"}],"wp:attachment":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/media?parent=311"}],"wp:term":[{"taxonomy":"lsvr_kba_cat","embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba_cat?post=311"},{"taxonomy":"lsvr_kba_tag","embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba_tag?post=311"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}