gparted failed during NTFS partition resize

I have a USB drive attached to my ubuntu laptop. I removed a couple of unused partitions (sdb1 and sdb2) and submitted the changes. Then I resized sdb3 (NTFS) to use the whole disk. Gparted told me that it will take about six hours.After 30min I got an error:Libparted ErrorInput/output error during read on /dev/sdb"And the syslog says:Nov 4 16:04:41 Thinkpad kernel: [ 3662.996100] usb 2-2: reset high-speed USB device number 2 using ehci-pciNov 4 16:04:46 Thinkpad kernel: [ 3668.108090] usb 2-2: device descriptor read/64, error -110Nov 4 16:0...Read more

Gparted gives problems with Fat32

It seems GParted is giving problems with FAT32 partitions. I am using the latest Gparted Live Disk from their site.But whenever I try to resize my EFI system Partition which is formatted using Fat32, I get the error-: "GNU Parted cannot resize this partition to this size. We're working on"Now one of the solutions is to install dosfstools alongside Gparted but I don't know how that will be possible in my case since I am using a Live USB of GParted.Any other tools on linux that can deal with fat32 correctlty. Gparted seems to be able to deal wi...Read more

gparted - Encrypting a non-linux partition with LUKS

I have a non-Linux partition I want to encrypt with LUKS. The goal is to be able to store it by itself on a device without Linux and access it from the device when needed with an Ubuntu Live CD.I know LUKS can't encrypt partitions in place, so I created another, unformatted partition of the exact same size (using GParted's "Round to MiB" option) and ran this command:sudo cryptsetup luksFormat /dev/xxxWhere xxx is the partition's device name. Then I typed in my new passphrase and confirmed it. Oddly, the command exited immediately after, so I gu...Read more

resize2fs - GParted won't resize physical volume

Booted from an USB Ubuntu 18.04 and I'm trying to shrink my current Ubuntu 16.04 partition.For the sake of completion, this is what lsblk returns in the momento I'm writing this:sda 8:0 0 465.8G 0 disk ├─sda1 8:1 0 512M 0 part ├─sda2 8:2 0 488M 0 part └─sda3 8:3 0 464.8G 0 part ├─ubuntu--vg-root 253:0 0 248.9G 0 lvm └─ubuntu--vg-swap_1 253:1 0 15.9G 0 lvm sdb 8:16 1 1.9G 0 disk /cdrom├─sdb1 8:17 ...Read more

ext4 data recovery from gparted error

There is a number of other questions on this topic, however majority concerns formatted partitions or drive failure. In my case: During resizing and moving 2.7TB partition in Gparted, I encountered an error that froze the whole program. (I dont have a screenshot or output from it, as fas as I remember, it was something about error when reading partition).I ran mkfs.ext4 -S and fsck.ext4 -y.It took it couple of days,then the system was crashing because it ran out of RAM and SWAP (8+8GB). After adding 200GB of swap, fsck ran for about two weeks ...Read more

create an ext4 drive with GParted

When using GParted to format an ext4 USB Flash drive, it seems sufficient to select Parition > New, rather than Device > Create Partition Table. That's good because after selecting "create partition table" it doesn't seem right to select msdos and none of the other choices seems obviously right. Instead, I proceeded to use Parition > New and then the ext4 selection.What happens in this case? A. Is there no partition table on the device? B. Is there some default partition table and if so, what kind?C. Something else?...Read more

Using GParted to rescue data and format hard drive to NTFS

I'm having problems booting to Windows XP due to bad sectors on the hard drive. I've tried fixboot and fixmbr from the recovery console. That only made matters worse. Now I want to use GParted to attempt data rescue and format the hard drive to NTFS. Unfortunately, I get an error (Picture 2) when trying to recover my files, and the option to format the hard drive is grayed out. The only thing I can do is create a new partition.When I click "view" I get the "Unable to open the default file manager" error...Read more

gparted - How to copy /sda3 to /sda1? UUID's can't be similar

/dev/sda is a 400 gig drive. It's partitions WERE: /sda1 - Windows boot partition (100 meg); /sda2 Windows "C:\" (68 gig); /sda3 is Linux boot partition; /sda5 is /home partition; /sda6 is linux-swap./sda1 and /sda2 have been deleted and /sda2 expanded into /sda1. I want to clone /sda3 to /sda1 AND have the 12.04 (precise pangolin) know to boot from /sda1 and not from /sda3.How do I edit both /etc/fstab and GRUB2 to have proper (I have no idea how to use words to express this idea) UUID? I know that using GParted to "copy" /sda3 to /sda1 requir...Read more

Trouble creating fat32 partition larger than 1 TiB with gpt partition table using gparted

I have a 6 TiB hard drive that I would like to make a fat32-partition on covering the whole hard drive. When trying to do so using gparted (first creating a gpt partition table, and then trying to create a 6TiB fat32 partition) it does not work.gparted instead creates a partition of 1.46 TiB and the rest of the drive is unused with a warning label that says:4.00 TiB of unallocated space within the partition.To grow the file system to fill the partition, select the partition and choose the menu item:Partition --> Check.When trying to run Part...Read more