Gparted Resize Partition Command Line

The parted is open source and command line utility that is used to manage hard disk partitions. AlternativeTo is a free service that helps you find better alternatives to the products you love and hate. For that, there is a good old tool out there named „gparted live". parted is a disk partitioning and partition resizing program. GParted is a free partition editor for graphically managing disk partitions, and it is able to resize, copy and move partition without data loss. parted is the engine underneath the GParted GUI. The result will be a running Linux system, albeit with nothing installed on the hard disk. However, as this is a non-root partition which can be unmounted this seems to be an overkill. Also the bug appears to be in the libparted library. It supports a wide range of partition tables: naturally it works on msdos/bios partition tables and on GPT partition tables, but it also supports the partition tables for sun, bsd, aix, amiga, … Parted has to be used from the command line. Another way to list the partition table for a device is through the parted command. There was a question in my post on “Linux partitioning with fdisk on CentOS 6“. Any ideas how to resize extended partition so I can resize LVM inside it?. It would be helpful to know the GNU/Linux distribution and version too. It can help you add, delete, shrink and extend disk partitions along with the file systems located on them. This is useful for creating space for new operating systems, reorganising hard disk usage, copying data between hard disks, and disk imaging. GParted is an open-source GUI-based disk partition editor originally developed for Linux GNOME Desktop. gparted is by far the easiest way to manage (shrink, expand, delete, create ect ect. Copying Partitions with Gparted. If a partition has adjacent unallocated space, you can right-click it and select Resize/Move to enlarge the partition into the unallocated space. 1GB 100GB or. gparted from the command line. ISO image here. Resizing a partition The partedUtil command can be used to resize an existing partition on ESXi/ESX 4. Padlock on screen suggest partition is mounted (and cannot be resized) but command line clearly states it's not mounted. I resize the partition from 880 MB to the maximum size: 21361 MB, using the drag bar. Although outside of the scope of this guide, the tool called gparted (also on the Parted Magic CD, the “Partition Editor” icon), is a great tool for this. To expand an existing XFS file system, you can use a command line utility called xfs_growfs, which is available by default on most Linux distros. LOT of 4 Sterling Silver Earth tone Colored Stone Pendants 44. 0GB Information: You may need to update /etc/fstab. If you omit the device argument, parted will attempt to guess which device you want. First I tried to resize the NTFS partition using gparted of Ubuntu 10. Then I drag the partition all the way to the end to consume. GParted is a partition manager you can use to resize, copy or move partition without losing your data. It doesn't let me resize the partition with mint on. NOTE: Parted asks for the FS-Type while creating primary partition unless a logical partition is to be created. Overview Though the Raspberry Pi computer is eminently networkable, some projects still just work best by physically moving the SD card to a desktop system to exchange data…but normally only a small section of the card is accessible to. where device is the hard disk device to edit. Parted is a command line tool that helps to manage the hard disk partitions. The last command you gave just terminated without saying anything. It looks and works almost exactly the same as GParted except with more features and compatibility with more file systems, logical volumes, encrypted partitions, ability to decrypt partitions temporarily so you can resize encrypted partitions unlike gparted. The site is made by Ola and Markus in Sweden, with a lot of help from our friends and colleagues in Italy, Finland, USA, Colombia, Philippines, France and contributors from all over the world. The swap partition is in a logical partition at the. Most of the Linux distributions available for the Banana Pi can be downloaded as a disk image from Lemaker's web site. However there is a + at the end indicating that this is greater than 2TB. Why Choose EaseUS Partition Master? "I've used Partition Master Professional many times to create, delete, format, move, rename, and resize partitions. One of the main tasks of Parted Magic is to edit the setup of existing hard disks and SSD partitions. GNU Parted is a package for creating, destroying, resizing, checking, and copying partitions and the file systems on them. Resize Partition from One Size to Another Using resize. Having spent the past 14 years releasing 0. Clone your Linux disk with ddrescue. If you are working with active partition, boot into the GParted Live USB drive and continue with the creating and resizing hard disk partitions. There are potential issues that you can encounter when working with Server 2012 virtual machines, especially around resizing drives. Online Resizing of a Boot Partition on RHEL 6 or 7 with parted. Create a Partition. Inside the parted tool we're going to use the mkpart command. Similarly to other command line filesystem resizers, ntfsresize doesn’t manipulate the size of the partitions, hence to do that you must use a disk partitioning tool as well, for example fdisk(8). Assuming that you already downloaded the GParted ISO, installed VirtualBox and created some VM of which you want to resize the VDI file, here's how you do it: Open a terminal (we'll be using the command line for this). Alternatively, find “New size (MiB)” and multiply it by 1024 to get it to exactly the right size. Open the command line application, run as administrator. The system volume can only be extended by running Diskpart. This will depend upon what partitioning scheme you used when first installing. However, if you want to resize Ubuntu system partition, you cannot do it while system is running. I came across my own method using disk utility. It allows you to create, destroy, resize, move and copy ext2, linux-swap, FAT, FAT32, and reiserfs partitions. However, in this guide, we'll be focusing on the Gparted application, as it's the easiest to understand for beginner Linux users. Another possibility would be to adjust the size by clicking on the little arrows next to the text field, but that is a little tedious for. The site is made by Ola and Markus in Sweden, with a lot of help from our friends and colleagues in Italy, Finland, USA, Colombia, Philippines, France and contributors from all over the world. Parted is a famous command line tool that allows you to easily manage hard disk partitions. As you see below, it still shows the size as roughly 2TB (under the Blocks columns). Before we go over how to. However, if you want to resize Ubuntu system partition, you cannot do it while system is running. Partition 63 19551102 19551040 [Bubba root] Segmentation fault So, I can't use testdisk here. parted: Gnu partition editor. When doing P2V, V2V or even P2P the need to deal with legacy partition / volume layouts and other disk housekeeping tasks often arises. When you first start up Gparted, your partition will have less than 1MB of space preceding it, but Gparted will only measure it as 0-meaning if you align it to 1MB right off the bat, it'll keep. GParted is used for creating, deleting, resizing, moving, checking, and copying disk partitions and their file systems. So is there a simple way to this with the command line?. This can be quite useful if you do not use LVM and you realize that your existing partitioning does not meet your actual needs anymore. Why can't gparted resize HFS+? Or: A tale of SSD woe Gparted still can't expand the HFS+ partition. If you have one, you can re-size it using software called GParted. How do I perform a simple expansion of my main partition /dev/sda1 while keeping my swap partition /dev/sda2/dev/sda5 the same size? And why is the swap a separate device within the second partition? I'd prefer to do everything via the command line, but it looks like the more common and easier way is to use gparted. If resizing is not possible, try right-clicking the partition, then choose unmount , then retry resizing. In this article I will explain how to partition a fresh disk using parted. To be sure what's going on, you must use the fdisk -lu command on the disk. Parted should always be started with: # parted device where device is the hard disk device to edit (for example /dev/sda). Fill in the skip and count parameters with the numbers for start and size, which you got from the parted command above. I corrected the partition using testdisk and it became mountable. Pvcreate (8) - Initialize a disk or partition for use by LVM Pvresize (8) - Resize a disk or partition in use by LVM2 Sfdisk (8) - Partition table manipulator for Linux. This software is free to download. The easiest way to expand your root partition to use all the available disk space if you are using the official Raspbian image is to use the configuration utility – this will be started automatically on the first boot, or can be invoked from the command line. Operating systems like Linux provide partitioning software to resize partitions without any data loss. It allows you to create, destroy, resize, move and copy ext2, ext3, linux-swap, FAT, FAT32, and. This includes resizing partitions (enlarging and shrinking), moving partitions on the hard drive, creating and deleting partitions, and even modifying filesystem types. How to move swap partition to the end. This can be done using parted(8). reboot the system ; resize the new boot root partition to utilize the full partition size. Parted has two modes: command line and interactive. Resize/Move allows you to rezize partitions. ext4 -L datapartition /dev/sda1; If you want to change the partition label at a later date, you can use the e2label command: sudo e2label /dev/sda1 newlabel. It allows you to create, destroy, resize, move and copy ext2, linux-swap, FAT, FAT32, and reiserfs partitions. ) In command line mode, this is followed by one or more commands. "It is a full-featured disk partition manager, which can not only format and partition drives but repartition them" "Perfect partitioning program - one that's easy, reliable, versatile, non-destructive - resize a partition without erasing it" "Managing partitions has never been my cup of tea. Also the bug appears to be in the libparted library. With GParted you can resize, copy, and move partitions without data loss, enabling you to: Grow or shrink your. Why Choose EaseUS Partition Master? "I've used Partition Master Professional many times to create, delete, format, move, rename, and resize partitions. Performing an on-line resize of /dev/VolGroup/root to. Topic: Does gparted has a terminal (command line) to work with? I have been using gparted GUI for all hardware purposes like create partitions, resize etc. Is is possible ? Is it a new way to block user removing the recovery partition ? Thank you. A disk device can be subdivided into one or more partitions. For this there are two ways how to use parted: 1) Command line mode #/sbin/parted /dev/sda resize 4 12. - ane Jan 7 '11 at 19:58. The gparted application is the GNOME partition editor for creating, reorganizing, and deleting disk partitions. Step 1) Launch GParted and enter the root password when prompted. This manual page documents briefly the parted command. The partitions on these disks have a number appended to the end. Time to reach for GParted! I found that I'd left half the disc empty (don't know why) so I first moved (extended partition) D: up to use all the space. When doing P2V, V2V or even P2P the need to deal with legacy partition / volume layouts and other disk housekeeping tasks often arises. To grow your partition you can do it with the root mounted. Right click on the root partition (/dev/sda1) and resize it. Fdisk is a powerful utility using which you can view, generate, delete, resize, change, move and copy hard disk partitions using the command line interface. It allows to created and modify partitions, label, check, copy and move, or resize common filesystems. Disable the swap partition:. In this article, we will see, how we can extend and resize an LVM. Right click on the box where it states "/dev/sdc1-55. Parted has gone a long way from when it first came out. Take extend NTFS partition for example and there should have one unallocated space on its right side. Parted is complex, which is why people generally use it with a gui (e. where device is the hard disk device to edit. However, parted is the only system tool for editing GPT, and it can no longer resize a partition. The GParted tool helps you resize partitions by gobbling free space. its says i need to format it. In my previous post on the subject, I expanded Filesystems on LVM without rebooting, by adding more partitions. The size of partition 9 is actually reduced from 127GB to 77GB. GNU parted is a disk partitioning and partition resizing program. Partition 63 19551102 19551040 [Bubba root] Segmentation fault So, I can't use testdisk here. ) in Linux, even Arch Linux users recommend booting a live cd of another bistro with Gparted and partitioning the hard drive that way before installing arch simply because there is no real reason to do it by hand in the command line. The version of XP was old, but there wasn't enough space to install SP2. GNU Parted (the name being the conjunction of the two words PARTition and EDitor) is a free partition editor, used for creating and deleting partitions. Increase an ext4 partition with Gparted. This article shows how you can modify the partitioning of your Linux system with GParted (Gnome Partition Editor) without losing data. Resize the root partition. Since parted resizing in not available on RHEL, your best luck would be if the partition you want to resize is the last (primary) partition on disk. The command line program from GParted, that I will use here, is named gdisk. Diskpart (Disk Partition Utility): Diskpart is a command-line utility used to manipulate disk partitions in all versions of Windows and Windows Server beginning with Windows XP and Windows Server 2003. With gparted on a linux live cd, I removed the Recovery partition but since it was the first partition, the free space stays at the beginning. This is useful for creating space for new operating systems, reorganising hard disk usage, copying data between hard disks, and disk imaging. e : rm, resize, mkfs). exe from a command line by bootable CD. where device is the hard disk device to edit. Then to grow the primary partition, we remove the old partition – (parted) rm 2. In GParted, find the partition you want to resize in order to make room for your upcoming /home partition. Some Linux distributions also includes a utility called "parted" (GNU parted - partition editor). This article shows how you can modify the partitioning of your Linux system with GParted (Gnome Partition Editor) without losing data. When I resized. There was a question in my post on “Linux partitioning with fdisk on CentOS 6“. Resizing an NTFS filesystem the command line. Scenario : Suppose we have a LVM partition. Just for curiosity, let us see how this >2TB partition is displayed in fdisk. Moving or resizing partitions can be done for a couple different reasons. Parted is a famous command line tool that allows you to easily manage hard disk partitions. This is useful for creating space for new operating systems, reorganizing disk usage, copying data on hard disks and disk imaging. This section steps through some basic command line partitioning. Rather than using ntfsresize command line, we pass through a graphical interface: GParted. (parted) resize 9 WARNING: you are attempting to use parted to operate on (resize) a file system. It is GUI based, so those of you who have command-line phobia can relax. Disk /dev/sda: 30. Linux ‘ Parted’ Commands to Create, Delete and Rescue Disk Partitions. For more general information about zonal persistent disks and the types of persistent disks that are available, read the persistent disks overview. Having spent the past 14 years releasing 0. Why can't gparted resize HFS+? Or: A tale of SSD woe Gparted still can't expand the HFS+ partition. Manually resizing the SD card using a GUI with GParted. Parted (GNU Partition Editor) is the most popular command line partitioning tool for linux. $ sudo gparted Deleting Windows partitions using GParted in Ubuntu Linux If you installed Ubuntu and you still have a partition with windows that you left (in case things won't go well with Linux), you can use gparted to delete it or resize it (if you still want to use it). If the command line is not your thing, well, then you probably didn't clone your drive with dd in the first place. My system at present is MBR. Therefore u have to download a Live Linux-CD such as Knoppix from which u boot later on (if you have physical access to the system). We will be following this procedure. Boot into the GParted Live USB. From here, use the graphical resizer to drag the partition to make it bigger or smaller. How to install GParted on Ubuntu 16. GParted is a free partition manager that enables you to resize, copy, and move. Do a simple check on partition. Note – You need to be running as a superuser. (you can resize the. Both versions are essentially the same when it comes to using it. On disks with a GUID Partition Table (GPT), using the parted utility is recommended, as fdisk GPT support is in an experimental phase. GParted Live can be used on GNU/Linux as well as other operating systems, such as Windows or Mac OS X. Once the above resizing is done, and there unallocated space on the disks, type - cfdisk /dev/sda to see partitions. GParted Live enables you to use GParted on GNU/Linux as well as other operating systems, such as Windows or Mac OS X. There was a question in my post on “Linux partitioning with fdisk on CentOS 6“. Gparted a free open source software for graphically managing the hard disks. 4, I wanted to start a discussion on how to resize drives in Linux. When GParted is invoked from the command line (e. This is useful for creating space for new operating systems, reorganizing disk usage, copying data residing on hard disks, and mirroring one partition with another (disk imaging). The distribution primarily provides GParted for this purpose. Now shut down the VM again, unmount the gparted ISO, and reboot with your newly-expanded disk image. First I tried to resize the NTFS partition using gparted of Ubuntu 10. e2fsck - is a command-line utility used to check the ext2/ext3/ext4 family of file systems. EaseUS Partition Master Free Is the Best Free GParted Windows Tool. Resize/Move allows you to rezize partitions. ext4 -L datapartition /dev/sda1; If you want to change the partition label at a later date, you can use the e2label command: sudo e2label /dev/sda1 newlabel. To do so, right click on the partition, and select ‘unmount’ (Thanks Anand). org Examples. If you wish to shrink an ext2 partition, first use resize2fs to shrink the size of filesystem. 04 and successfully resize the partition as follows:. See the Gparted instructions for it use. STEP 5: You can drag the box and resize the partition. So you have a multi-boot or multi-partition Linux computing system, and. Important Note: If using resize2fs to resize an ext4 file system, ensure that you are using version 1. embiggen-disk - embiggden-disk live-resizes a filesystem after first live-resizing any necessary layers below it: an optional LVM LV and PV, and an MBR or GPT partition table #opensource. The bootable image is called GParted Live and enables all the features of the GParted application. Depending on the installed guest there is several diffent ways to resize the partions Offline for all guests. ) I coincidentally. When GParted is invoked from the command line (e. 1GB 100GB or. The utility adds capability to the Windows Disk Management snap-in. Clone your Linux disk with ddrescue. do this remotely apart from command line. Using gparted's Resize/Move feature on the boot partition renders the card unreadable on Windows and Mac systems (though it still works with Linux). ) In command line mode, this is followed by one or more commands. Otherwise the extra space would simply be "unused space" or "unallocated space". For details of all tools in this series, please check the table at the summary page of this article. Manually resizing the SD card using a GUI with GParted. gPartEd is great — just wanted to let you know that your first comment, that OSX has NO way to do this with native tools, is not correct. There are multiple table formats. Select ext4 boot file system then click resize/move. We will be following this procedure. home partitions, make / larger using parted resize, recreated swap and a correspondingly smaller /home. Then you have to run the partition editor, gparted, to resize a partition. If /dev/hda1 is the device on which to resize the partition: parted /dev/hda1 View the current partition table to determine the minor number of the partition to resize as well as the start and end points for the partition:. It looks and works almost exactly the same as GParted except with more features and compatibility with more file systems, logical volumes, encrypted partitions, ability to decrypt partitions temporarily so you can resize encrypted partitions unlike gparted. GParted is a GUI frontend. It supports multiple partition tables formats, including MS-DOS and GPT. Apparently there are no command line options for Gparted , only GUI. gparted - GNOME partition editor. GParted, or Gnome Partition Editor, is an open source partition editor that allows you to manipulate a computer's partition tables, including resizing them, and can be used on almost all partitions created by Windows or Linux. Step 1) Launch GParted and enter the root password when prompted. 04 LTS I have a server dedicated to the purpose of hosting an ownCloud instance. Similarly to other command line filesystem resizers, ntfsresize doesn’t manipulate the size of the partitions, hence to do that you must use a disk partitioning tool as well, for example fdisk(8). To start partitioning the disk, you can either use gparted which is a graphical utility. Sometimes you want to change your partition layout after you've been using your system for awhile. Cheers, Manuel. Partition Magic: a commercial utility to create, resize, merge and convert partitions, without destroying data. GPT fdisk operates mainly on the GPT headers and partition tables; however, it can and will generate a fresh protective MBR, when required. Disk /dev/sda: 30. To resize a filesystem on a partition, you must resize BOTH the filesystem and the partition by editing the partition table on the disk. of course, partition a drive via the command line, but using a tool like gparted is far easier. Using parted, you can add, delete, and edit partitions and the file systems located on those partitions. parted is a disk partitioning and partition resizing program. The gparted application enables you to change the partition organization on a disk device while preserving the contents of the partition. Q&A for Work. The steps for extending a system partition on instances running Windows 2012 or Windows 2016 are the same, and are described in the following procedures. Michael, have you or anyone used any other applications such as Acronis or Ghost to do similar resizing on win2003 system/boot partitions? I looked at Acronis and the screenshots of their Linux resize screen look similar to GParted resize dialog, so I'm not sure if it work. exe is built-in command line in Windows 2003 Server, steps: 1. **What I meant and should have said: resizing of ext4 partitions: Last edited by goodboy (2012-10-28 18:11:19). Sometimes you just don't have access to a graphical rescue disk, and all you have is a command line interface. Tagged under: copy, Disk Space, Gnome Partition Editor, GParted, How To Resize And Create Partitions With Gnome Partition Editor, Linux, move partitions, resize How To Resize And Create Partitions With Gnome Partition Editor (GParted). Is there a way to do this via the command line?. Then you have to run the partition editor, gparted, to resize a partition. Topic: Does gparted has a terminal (command line) to work with? I have been using gparted GUI for all hardware purposes like create partitions, resize etc. STEP 5: You can drag the box and resize the partition. it assumes you know how to use Win32DiskImager to write an image. What does work is booting from a GParted CD and performing a resize operation. check partition. Resizing the partition table (using the 's' option in the experts' menu) can sometimes overcome this problem; however, in extreme cases it may be necessary to resize a partition using GNU Parted or a similar tool prior to conversion with gdisk. Parted is a famous command line tool that allows you to easily manage hard disk partitions. If you prefer to use command line to shrink volume, you can install AOMEI Partition Assistant Professional on your Windows PC. The size of partition 9 is actually reduced from 127GB to 77GB. To do so, right click on the partition, and select ‘unmount’ (Thanks Anand). There are multiple table formats. By default installation, linux virtual machine (Fedora, RHEL or CentOS) has two partitions, one for swapping, and the other one is a lv. Download the ISO for a GParted Live CD or else a Linux Live CD using a Linux distribution that includes the GParted partition editor utility. It supports many filesystems including btrfs, ext2/ext3/ext4, fat16/fat32, lvm2, ntfs. Step 1) Launch GParted and enter the root password when prompted. Only when you delete a data partition and get some Unallocated space, you can extend the system C. To use GParted, you must first download the CD Image file (. Resizing any live partition without unmout. label-type must be one of these supported disk labels: bsd. $ sudo parted [Disk Name] [resizepart] [Partition Number] [Partition New End Size] $ sudo parted /dev/sdb resizepart 3 33. In this case, you would resize the partition. It allows you to create, destroy, resize, move and copy ext2, linux-swap, FAT, FAT32, and reiserfs partitions. Inside the parted tool we're going to use the mkpart command. In these cases use the more advanced GNU parted. Disk /dev/sda: 30. Afterwards I recommend rebooting for the changes to take effect correctly. How to install GParted on Ubuntu 16. where device is the hard disk device to edit. These are small, indispensable utilities, useful for system administrators as well as regular users of Linux based systems. Click Choose Disk, navigate to where you downloaded the GParted ISO, and select it. Assuming that you already downloaded the GParted ISO, installed VirtualBox and created some VM of which you want to resize the VDI file, here's how you do it: Open a terminal (we'll be using the command line for this). Select option 0 then press enter, to continue gparted automatically. For an ext4 partition or if parted refuses to resize your ext3 partition you will use the ntfsresize command, or parted if it works. KDE Partition Manager is underrated software. Method 1: Change Ubuntu partition size using GParted. The instructions do not vary based on filesystem format. , the EXT2 filesystem format is advised due to the fact that EXT3 uses Journaling. If it can't resize the disk small enough for you either-- You need to delete something--. I used a combination of command line and GUI utilities. 875 by 2, 3, 4 etc. Home; Raider Country; Remember Radio; Jack Blanchard And Misty Morgan; FEEL GOOD FOLK RADIO (VRM) Veterans Radio Ministry; TESTDISK (A SPINRITE CLONE - VG!). Now, lets resize our Windows partition so we can create our 3 Linux partitions. I would also prefer this be a free tool if possible. A lot of information about the APU is strewn all over the Internet so I wanted to consolidate it all in one single post. If you omit a subcommand in a parted command line, the utility issues a command prompt. In order to make changes to your partitions, you must unmount the. In these cases use the more advanced GNU parted. Stop the Discovery services from starting on reboot. 2 Using /dev/sdb Welcome to GNU Parted! Type 'help' to view a list of commands. Is there a way to do this via the command line?. Part 3: Working with image files. where device is the hard disk device to edit. Work on system partitions can be done anyway only when partition not in use, that means system has to reboot anyway and the changes will be done before the system start. It looks and works almost exactly the same as GParted except with more features and compatibility with more file systems, logical volumes, encrypted partitions, ability to decrypt partitions temporarily so you can resize encrypted partitions unlike gparted. It takes a few seconds to load all the system drives and partitions. Is there a way to do this via the command line?. To copy a partition in Gparted, start by locating the drive you want to work with (AKA the source hard drive). The software comes with a few specific features. These are small, indispensable utilities, useful for system administrators as well as regular users of Linux based systems. Using resize parted command, you can increase or decrease the partition size of a partition as shown in the example below. Its only possible to increase the size of / if you have unallocated space before or after the / partion. I would also prefer this be a free tool if possible. Disk /dev/sda: 30. Copying Partitions with Gparted. Set Active Partition with Diskpart Command Line Set active partition from command prompt is often used when you have multiple system in one disk, you can set active partition in Windows 2008, in Windows 2003, and the latest Windows 10, by setting one partition active is to make this partition bootable, at the meantime you set other partition. GParted is a free partition editor for graphically managing your disk partitions. Note – You need to be running as a superuser. The new logical partition will begin at the end of /dev/sda8 and take the remaining space of the exteneded partition. Disk Drake: a Perl/Gtk program to create, rsize, and delete partitions. Click OK and then start the VM. Parted Parted is a command-line utility to create, delete, modify, resize and move partitions. The software comes with a few specific features. It can help you add, delete, shrink and extend disk partitions along with the file systems located on them. * MBR conversions work only if the disk has correct LBA partition descriptors. 1GB 100GB or. Now you are wanting to resize the second partition to the end of the micro sdcard. If the command line is not your thing, well, then you probably didn't clone your drive with dd in the first place. In order to make changes to your partitions, you must unmount the. Make sure to reuse the same start sector as the original root partition. Disadvantages of Diskpart commands line. Partition Magic has long been the tool of choice for this kind of thing, but this time I decided to see if. I will check in the VB forums about that. – ane Jan 7 '11 at 19:58. First I had to move the swap partition to the end of the drive. If you are working with active partition, boot into the GParted Live USB drive and continue with the creating and resizing hard disk partitions. Set Active Partition with Diskpart Command Line Set active partition from command prompt is often used when you have multiple system in one disk, you can set active partition in Windows 2008, in Windows 2003, and the latest Windows 10, by setting one partition active is to make this partition bootable, at the meantime you set other partition. We can use all of the features of the GParted application is by using the GParted Live bootable image. If the root partition was not already at its maximum size, you might be tempted to use gparted to resize it.