There was a problem loading the comments.

How do I increase the hard disk size of the virtual machine using Gparted.

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

This guide assumes that you have already increased the virtual disk on the hypervisor, please complete this step before you continue. 



Step 1: Boot from gParted ISO

  • Mount the gParted ISO file.
  • Reboot your computer.
  • When you see the gParted boot screen, press Enter to continue.

455af62fe2259976974588597b1fd4bdc98775e249d1557e15e4615909ff648f256aa296fba5ad46?t=66b0b17616af7d6bccb8d2090f833875

 

Step 2: Select Keymap

  • After the boot process, you will see the keymap selection screen.
  • Press Enter to accept the default keymap.

 

fa9c081adfa21682fed27697cc9334192d80270333f386a725030f6d6dcb39b04066105a67cb9f84?t=cf3835a9f36e35c5f4c1d3b7968fce5b

 

Step 3: Select Your Preferred Language

  • You will be prompted to select your preferred language.
  • Enter the corresponding number for your choice.
  • To select US English, simply press Enter as it is the default option.

df6c68b219e0fcd9755f6a6b4ae93e0cbb77847efeddeee565fd63b5376310127a83bccc0b3e5d64?t=69e15eb324bb3cd8c93440b26ea148c4

 

Step 4: Select Graphic Mode

  • You will be prompted to choose a graphic mode.
  • Enter the number corresponding to your preferred graphic mode (0 is the default).
  • Press Enter to proceed with the default graphic mode, which works in most cases.

 

ff42ae9d70ce6a1e85dcc3e6cfb0363246e6caa0bdfda0d1e09544b0ba2abca8f0083790977e5eb9?t=17136fd2f003bbba6b2fed792a4ad341

 

Starting the disk resize

Step 5: Open gParted Application

  • Launch the gParted application.
  • Observe the main window where you should see the disk layout.
  • Look for an unallocated partition if you have unused space available.

 

fe2d87adb017a4abc2a5de5f0f4c6d06f9189c7eeba2e600052cebc4988a57b51108ef2510eaaf28?t=277d76f6934b39aaff51f64b7b105ed2

 

Step 6: Resize the Swap Partition

  • Identify the size of the swap partition.
  • Select the swap partition in gParted.
  • Choose the Resize/Move option.
  • Adjust the size to create unused space that will be added to the primary partition.

 

f931ad719d96377ae575cb2e0a1c1041e751b6374bc5641811f35d65d01a6bba645fefb9338eb179?t=2cb0b30202bffe8384c3de32c6f80463

 

Step 7: Resize the Partition

  • Select the partition you want to resize.
  • Click on the Resize/Move option from the toolbar.
  • In the resize window that appears, drag the right arrow all the way to the right.
  • Click the Resize/Move button to apply the changes.

 

ef8dd40075400131facd3be805c85b26dec5f8668c936aff1e81304a02b656ee6098f85dbfb20d98?t=8d122e8f146cd91844fb092ca204f4e6

 

Step 8: Resize the Swap Partition Again

  • This step will turn the added space back into unallocated space.
  • Select the swap partition in gParted.
  • Choose the Resize/Move option.
  • Adjust the slider to the left, returning the swap partition to its original size (1.86 GiB or 1997 MiB).
  • Click the Resize button once you’ve made the adjustment

 

42f9309505f0fa0e292fe13e228ceba03f683eba6e4c14967895666ff08cda1a05185640eac926dc?t=2d32bba6bd224a13e7d28b3ea9c81866

 

Step 9: Resize the First Partition

  • Select the first partition in gParted.
  • Click on the Resize/Move option.
  • Adjust the partition size to incorporate the extra unallocated space.
  • Click the Resize button to apply the changes.

 

2b948ab75c7d3f3477ce6c2bad0f3e1c2a91254b8a3072e81ece8b66c16cfb0ff3dfc5647483d5c7?t=961e488e4fab80a5082c6979b55a5c6c

 

Step 10: Expand the First Partition

  • Select the first partition if it isn’t already selected.
  • Drag the right arrow slider all the way to the right to include all unallocated disk space.
  • Click the Resize button to apply the changes.

5ac4fe280bb4f09ae28ff1f87e998371c0584d5241fab2c8e8b161682a53537f84ecc9eb9f6df6df?t=18d79a4216e2dd2b28b1057c7094f480

 

Step 11: Apply Changes and Exit

  • Click the Apply button to execute the changes.
  • Wait for the process to complete.
  • Close the gParted window.
  • Double-click the EXIT icon to exit gParted.
  • Reboot your system.

60f188da205fae90f38ad2b03b7ec4994e0a7205ebc00dff60b2eb895f17fe3cbf803e4239e0d9b3?t=f3bf133954ff2180383f0f5d2c0c199a

 

Step 12: Finalize Reboot

  • When prompted, press Enter to complete the reboot process.

 

f0a1cc593320f720f5f9ec9da3bfd141f6c0ef85e5b463d5aebfd7bc3e06e1985f2a62b590bf5840?t=b06671738df1938d2ec37df0e90ad81c

 

Step 13: Unmount the ISO

  • Unmount the gParted ISO from your system.
  • Wait for the unmount process to complete.
  • Once finished, press any key to continue.
  • You will see the message: Done! Disk Resize complete.

Share via
Did you find this article useful?  

Related Articles

Tags

© Rackzar