Resizing extended partition with gparted

r---------k

I'm trying to move down a chunk of unallocated data all through the end of a hdd containing an extended partition. I'm doing these operations on a live usb, the screenshot below is taken on the main system, that's why partitions are mounted

Here is the state where I'm at: enter image description here

The unallocated chunk should go down to the sdb3 partition.

First steps were ok (delete initial partition, move the chunk of data from the beginning sectors to after sdb2), but I can't manage to resize the sdb4 partition (so as the chunk continues its journey).

I thought GParted wont resize extended partitions was my answer, but unfortunately the live cd does not use the swap partition - and no partitions are mounted. GParted fails with

GParted 0.12.1 --enable-libparted-dmraid

Libparted 2.3

Move /dev/sdb4 to the left and grow it from 20.00 GiB to 79.96 GiB  00:00:00    ( ERROR )

calibrate /dev/sdb4  00:00:00    ( SUCCESS )

path: /dev/sdb4
start: 398,381,054
end: 440,322,047
size: 41,940,994 (20.00 GiB)
move partition to the left and grow it from 20.00 GiB to 79.96 GiB  00:00:00    ( ERROR )

old start: 398,381,054
old end: 440,322,047
old size: 41,940,994 (20.00 GiB)
requested start: 272,631,808
requested end: 440,319,999
requested size: 167,688,192 (79.96 GiB)
libparted messages    ( INFO )

Unable to satisfy all constraints on the partition.
========================================
r---------k

Managed to solve my issue, reflecting on Nattgew's comment.

Since you cannot move an extended partition through gparted, you have to expand it, then move the inside partitions and then shrink it on the other side.

The problem was that the partition was set to be aligned to MiB, and after taking the available space it became unaligned on the right, leaving a small chunk of data on the other side. That was the "unsatisfied constraint", removing the align to MiB constraint solved this since it didn't leave the chunk and could be expanded properly

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

GParted can't move extended partition to the right?

From Dev

Resizing extended partition with gparted

From Dev

resizing partition fails with Gparted when resizing fat32 partition. Ubuntu 14.04

From Dev

How to partition with GParted?

From Dev

Split a partition with GParted

From Dev

How to partition with GParted?

From Dev

GParted can't move extended partition to the right?

From Dev

resizing partition fails with Gparted when resizing fat32 partition. Ubuntu 14.04

From Dev

Gparted cannot resize extended or LVM partition

From Dev

Resize a partition image with GParted?

From Dev

Is GParted a good tool for resizing an NTFS partition?

From Dev

resizing partitions with gparted

From Dev

Problems resizing root filesystem with extended-partition, lvm, and snapshots on vm disk

From Dev

Can't resize /dev/sda2 extended partition with gparted live cd

From Dev

Change Partition Table with GParted

From Dev

How to resize a partition with gparted?

From Dev

gparted refuses to resize partition

From Dev

Gparted: move extended partition on the left

From Dev

Gparted: Cannot expand the partition

From Dev

Splitting/Resizing a partition in GParted - got a key symbol next to the partition

From Dev

Help to resize partition with Gparted

From Dev

Resize partition using Gparted

From Dev

Resize root partition in GParted

From Dev

how to merge partition with gparted?

From Dev

ext4 partition is broken during resizing with gparted

From Dev

Gparted: Cannot create extended partition

From Dev

Resizing Extended Partition w/ gparted on livecd

From Dev

Resizing ubuntu partition after uninstalling windows using GParted

From Dev

Problems resizing a Mac partition with gparted

Related Related

HotTag

Archive