gparted | Read-only mirror of https | File Utils library

 by   GNOME C++ Version: GPARTED_1_5_0 License: GPL-2.0

kandi X-RAY | gparted Summary

kandi X-RAY | gparted Summary

gparted is a C++ library typically used in Utilities, File Utils, Amazon S3 applications. gparted has no bugs, it has a Strong Copyleft License and it has low support. However gparted has 1 vulnerabilities. You can download it from GitHub.

A hard disk is usually subdivided into one or more partitions. These partitions are normally not re-sizable (making one smaller and the adjacent one larger.) Gparted makes it possible for you to take a hard disk and change the partition organization, while preserving the partition contents. More specifically, Gparted enables you to create, destroy, resize, move, check, label, and copy partitions, and the file systems contained within. This is useful for creating space for new operating systems, reorganizing disk usage, and mirroring one partition with another (disk imaging). Gparted can also be used with storage devices other than hard disks, such as USB flash drives, and memory cards. Visit for more information.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              gparted has a low active ecosystem.
              It has 241 star(s) with 38 fork(s). There are 19 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              gparted has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of gparted is GPARTED_1_5_0

            kandi-Quality Quality

              gparted has 0 bugs and 0 code smells.

            kandi-Security Security

              gparted has 1 vulnerability issues reported (0 critical, 1 high, 0 medium, 0 low).
              gparted code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              gparted is licensed under the GPL-2.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              gparted releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of gparted
            Get all kandi verified functions for this library.

            gparted Key Features

            No Key Features are available at this moment for gparted.

            gparted Examples and Code Snippets

            No Code Snippets are available at this moment for gparted.

            Community Discussions

            QUESTION

            Can disk be damaged during cloning?
            Asked 2021-Apr-19 at 15:36

            Let's say I am using GParted iso for cloning an X disk to Y disk. Can X disk be damaged e.g if power would go off during cloning?

            ...

            ANSWER

            Answered 2021-Apr-19 at 15:36

            There is always a chance of damage to a disk if the power abruptly goes off. Make sure to keep power to the machine while copying/moving!

            Source https://stackoverflow.com/questions/67165008

            QUESTION

            Increasing size of virual box virtual disk
            Asked 2021-Apr-04 at 10:17

            I am running Virtual Box 6.1, both host and clients are Ubuntu 20.04. I have run short of disk space and I want to increase the Virtual disk size.
            Having spent a long time looking at different articles and trying different things the one that took me to where I am now is https://www.howtogeek.com/124622/how-to-enlarge-a-virtual-machines-disk-in-virtualbox-or-vmware/

            ie Modified the vdi size using the Virtual Media Manager UI
            Called VBoxManage modifymedium disk “” --resize 36000 # ( I am using virtual box 6.1 so I assume this is the correct call). Rebooted with the GParted Iso added as an optical drive.
            However I am unable to increase the partition despite the partition apparently butting up against the newly created unallocated space.

            ...

            ANSWER

            Answered 2021-Apr-04 at 10:17

            The partition was sitting underneath an extended partition (see sda2) which needs to be increased before the UI will let you increase the partition itself. Doh!

            Source https://stackoverflow.com/questions/66904769

            QUESTION

            Store output of lsblk command key=value into associative array in bash
            Asked 2021-Feb-20 at 15:22
            > lsblk -Po mountpoint,label,uuid /dev/disk/by-uuid/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
            
            Output from the lsblk example command:
            
            MOUNTPOINT="/media/user/GParted Live" LABEL="GParted Live" UUID="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
            
            ...

            ANSWER

            Answered 2021-Feb-20 at 15:22

            Assumptions:

            • the lsblk output does not contain double quotes (") embedded in the 'value' strings
            • for this answer I'm going to place OP's lsblk output into a file (lsblk.out) and use said file as input to the proposed answer.

            Sample input data:

            Source https://stackoverflow.com/questions/66274650

            QUESTION

            shell : How to copy recursively also filenames that have specialchar
            Asked 2020-Nov-17 at 12:36

            I'm using a simple script on ubuntu 20.04 to backup important folders on an external disk :

            ...

            ANSWER

            Answered 2020-Nov-17 at 12:36

            I've found a way to cp files with specialchar in their name : copy them to an EXT4 partition.

            So i reduced the NTFS external HD partition (it required the whole night to do so), created an EXT4 partition (labelled "EXT4ELEM") in the spare space and used it to backup my files : no more errors.

            « cp "#:<>'ENE" /media/jluc/EXT4ELEM » is OK.

            (inspiration found here : Permissions for external HDD nextcloud container)

            Source https://stackoverflow.com/questions/64854684

            QUESTION

            My PC !!! Wont Boot , says '\Boot\BCD status:0xc000000f '
            Asked 2020-Jul-14 at 07:20

            Having a terrible time.

            I am using Windows 7 Home Premium, on a Toshiba Satellite CF53. I recently purchased an Adata SP 600 64GB SATA3 SSD. Previously had a 500GB HDD. Everything was working fine. The C partition took up 25.3 GB. My SSD has 59.6GB (formatted capacity).

            I used GParted Live to completely clone the C partition to my SSD. There was absolutely no 'system reserved' partition, I checked for that many time through many programmes,Window's build in disk partition manager, as well as in GParted. The HDD had only 2 partitions, the C one for windows and a second one for my data.

            After cloning the OS, i started the computer through the SSD with the BIOS to test it. Win7 boots in smoothly, as always. Then , i re-boot into GParted Live and delete the C partition from my HDD , and expand the data partition, which costs me a good 5-6 hrs to move data to the left. Fine. Then, after this, I now try to boot into windows through the SSD, no luck. Shows me this -

            Picture displaying the exact error message...

            Right then, i say, let's use the installation media to recover media, yes ? Maybe its some unexplained confusion for windows (remember though, i had used the BIOS to to boot it from SSD up, and that had worked). The installation media detects none, absolutely none, windows installs... What ????

            This also means i cant use commands to rebuild the BCD, which i suspect should fix my problem (and my depressed mental health, an outcome of trying to fix a PC the whole of today). The option i have not explored is loading drivers, but this is a simple SATA AHCI (compatible with even SATA II) SSD, and it shouldn't need any drivers, right ? Plus I have no clue what drivers to load if it does need them.

            Please guys, help me. Thanks to COVID-19 no PC chops are open, and i have important WFH responsibilities. Need help quick.

            Much thanks in advance.

            ...

            ANSWER

            Answered 2020-Jul-14 at 07:20

            So the issue was likely caused because i used GParted, and some Microsoft-Windows-Proprietary tags were screwed with. Sad that GParted cant to do this but I solved my issue by doing a fresh install and magically all my programs and games in the HDD were running fine without needing reinstalling.

            Would recommend using DiskGenius, an obscure but fantastic and freeware-ish software that can work with all disk formats on Windows (maybe not APFS, but thats just junkanyways) so you can do all this business successfully and also use it for Linux partitions.

            Source https://stackoverflow.com/questions/62151277

            QUESTION

            Matplotlib heatmap using pandas dataframe
            Asked 2020-Jun-23 at 15:39

            I want to produce a heatmap using matplolib and this pandas dataframe:

            ...

            ANSWER

            Answered 2020-Jun-23 at 15:39

            QUESTION

            How to backup laptop SSD with UEFI
            Asked 2019-Nov-06 at 04:49

            I have an Acer Aspire R laptop with 260GB SSD, UEFI, Ubuntu and Windows 10 dual boot. How can I backup / clone / image the whole drive to be reinstalled on a new drive if current drive fails?

            1. Clonezillla: Will it backup all partitions (EFI, recovery, Ubuntu, swap, Windows) to external drive, so I can restore it to a new drive, no problem? Which file system should the external drive have?
            2. GParted: Or should I partition the external drive like the existing drive and copy the partitions with gparted?
            ...

            ANSWER

            Answered 2019-Nov-05 at 16:39

            You can use Clonezilla to make a bootable copy of the whole existing SSD with all of its partitions including Windows.

            The boot menu comes from Grub2 and it gets created from templates in /etc/grub.d and settings from /etc/default/grub.

            So, if your Clonezilla ISO file lives at /srv/iso/clonezilla-live-disco-amd64.iso and /srv directory lives in hard drive 0 in partition 13, then create a new executable file in /etc/grub.d, such as 40_clonezilla and put the following in it:

            Source https://stackoverflow.com/questions/58715126

            QUESTION

            Why is interactive command breaking when using zsh widget to execute it
            Asked 2019-Aug-17 at 20:53

            Zsh version:

            zsh 5.4.2 (x86_64-ubuntu-linux-gnu)

            The code(two files: .zshrc and interactive, both residing in my home directory):

            .zshrc:

            ...

            ANSWER

            Answered 2019-Aug-17 at 20:53

            If reads direct from the TTY (like sudo password entry) work, but reads from stdin (like regular prompts) don't, then you can work around this by redirecting the TTY to stdin for the specific commands that should be reading from the TTY.

            Thus:

            Source https://stackoverflow.com/questions/57539180

            QUESTION

            Immutable partition on Gparted Live
            Asked 2019-Feb-01 at 19:25

            I'm running Gparted Live on a external hard disk so that I can edit the size of a partition on my computer hard disk. When I access Gparted, I find the following scenario:

            In order to asign the free memory to my extended partition I resize it this way:

            Know I should be able to resize my sda5 partition and asign it the full free memory, but I can't I don't know why. If I try to resize sda6 (linux-swap) I can:

            But the problem comes when I try to resize my sd5 (ext4):

            It seems to be in its max size and I can't assing it the free memory, but I can do it on my linux-swap... Any idea of what is happening?

            ...

            ANSWER

            Answered 2019-Feb-01 at 19:25

            In order to resize a partition it must have unallocated space immediately adjacent to it. In the situation described above one would need to move the swap sda6 partition to the right first to free up unallocated space between the sda5 and sda6 partitions.

            Source https://stackoverflow.com/questions/54480964

            QUESTION

            VirtualBox machine has free space but I'm getting low disk space errors/messages
            Asked 2018-Oct-08 at 11:26

            Today I upped the storage on my machine, how ever I'm getting some low space disk errors. The command df -h returns the following:

            ...

            ANSWER

            Answered 2018-Oct-08 at 11:26

            After I allocated all the free space to sda2 partition, confirmed the changes and reboot the OS I solved the problem using the commands lvextend -l +100%FREE /dev/mapper/centos-root and xfs_growfs /dev/mapper/centos-root

            Source https://stackoverflow.com/questions/52605637

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install gparted

            Installing polkit’s Action File. Building using a Specific (lib)parted Version.
            Pre-built Binary Many GNU/Linux distributions already provide a pre-built binary package for GParted. Instructions on how to install GParted on some distributions is given below: CentOS/RHEL ----------- su - yum install gparted Debian or Ubuntu ---------------- sudo apt-get install gparted Fedora ------ su - dnf install gparted OpenSUSE -------- sudo zypper install gparted
            Building from Source Briefly, build and install GParted into the default location of /usr/local using: ./configure make sudo make install sudo install -m 644 org.gnome.gparted.policy \ /usr/share/polkit-1/actions/org.gnome.gparted.local.policy This assumes all the dependencies are already installed, builds the default configuration and polkit is being used as the graphical su program. The following dependencies are required to build GParted from source: g++ make parted gnome-common gtkmm3 gettext intltool yelp-tools - required if help documentation is to be built On CentOS/RHEL, these dependencies may be obtained by running the following command as root: yum install gnome-common yelp-tools glib2-devel intltool gcc-c++ \ libuuid-devel parted-devel gtkmm30-devel make On Debian or Ubuntu, these dependencies may be obtained by running one of the following commands: Either; sudo apt-get build-dep gparted Or; sudo apt-get install build-essential gnome-common yelp-tools \ libglib2.0-dev uuid-dev libparted-dev \ libgtkmm-3.0-dev On Fedora, these dependencies may be obtained by running the following command as root: dnf install gnome-common yelp-tools glib2-devel intltool gcc-c++ \ libuuid-devel parted-devel gtkmm30-devel make On openSUSE, these dependencies may be obtained by running the following commands: sudo zypper install gnome-common gcc-c++ libuuid-devel \ parted-devel gtkmm3-devel make Again, build GParted with the default configuration and install into the default location of /usr/local using: ./configure make sudo make install If you wish to build this package without the help documentation use the --disable-doc flag: E.g., ./configure --disable-doc If you wish to build this package to use native libparted /dev/mapper dmraid support use the --enable-libparted-dmraid flag: E.g., ./configure --enable-libparted-dmraid If you wish to build this package with online resize support then the following is required: a) Linux kernel version 3.6 or higher. b) Libparted with online resize support. Either: i) Libparted version 3.2 or later which includes online resize support as standard. In this case GParted is automatically built with online resize support. ii) Online resize support back ported into an earlier version of libparted. This is only known to be included in Debian and derived distributions with parted version 2.3-14 and higher. In this case online resize support must be specifically enabled with the --enable-online-resize flag: E.g., ./configure --enable-online-resize If you wish to build GParted to allow it to use xhost to grant root access to the X11 server use the --enable-xhost-root flag. This is required to allow GParted to display under Wayland. ./configure --enable-xhost-root Please note that more than one configure flag can be used: E.g., ./configure --disable-doc --enable-libparted-dmraid The INSTALL file contains further GNU installation instructions.
            Installing polkit’s Action File GParted needs to run as root therefore it needs a graphical switch user program to allow normal users to run it. Most desktops now use polkit as their preferred authorisation mechanism. Therefore ./configure looks for polkit's pkexec as the first choice with fallbacks in order being: gksudo, gksu, kdesudo and finally xdg-su. Also polkit reads action files only from directory /usr/share/polkit-1/actions. Therefore it is likely that a polkit action file will need to be installed into this directory. To determine if polkit's pkexec program is being used as the graphical privilege escalation program examine the output from ./configure. These lines report that pkexec is being used: checking for pkexec >= 0.102... 0.112 found Where as either of these lines of ./configure output report that pkexec is not being used because either it was too old a version or it was not found: checking for pkexec >= 0.102... 0.96 found checking for pkexec >= 0.102... not found When GParted is configured with prefix /usr (using command ./configure --prefix=/usr) then make install will automatically install the polkit action file into the correct directory and no further steps need to be taken. This is typically the case for distribution builds of GParted. However when GParted is configured with the default prefix of /usr/local, or any prefix other than /usr, then the polkit action file has to be manually installed into the correct directory. Also it should have a unique file name to avoid overwriting the action file from the distribution's package. Install the polkit action file with a unique name including an extra ".local" in the name: sudo install -m 644 org.gnome.gparted.policy \ /usr/share/polkit-1/actions/org.gnome.gparted.local.policy
            Building using a Specific (lib)parted Version 1) Download the parted version you wish to use (e.g., 3.2) from: http://ftp.gnu.org/gnu/parted/ 2) Build and install parted. Extract parted tarball, configure, make, and sudo make install. Note that by default this will install into /usr/local. 3) Set environment variables to inform the GParted build system to use libparted from /usr/local: export CPPFLAGS=-I/usr/local/include export LDFLAGS=-L/usr/local/lib export LD_RUN_PATH=/usr/local/lib export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig 4) Build gparted using steps listed above in "Building from Source". Note that when you run ./configure you should see the specific version of parted listed in the check for libparted >= 1.7.1. You will also see the libparted version listed when running gparted from the command line.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/GNOME/gparted.git

          • CLI

            gh repo clone GNOME/gparted

          • sshUrl

            git@github.com:GNOME/gparted.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular File Utils Libraries

            hosts

            by StevenBlack

            croc

            by schollz

            filebrowser

            by filebrowser

            chokidar

            by paulmillr

            node-fs-extra

            by jprichardson

            Try Top Libraries by GNOME

            gimp

            by GNOMEC

            glib

            by GNOMEC

            gtk

            by GNOMEC

            meld

            by GNOMEPython

            gnome-shell

            by GNOMEC