1

I need to extend an ex4 partition, I have 43 GB of free space to the right of the it. I am booted to another drive.

What I tried:

  • using EaseUS partition master

  • using MiniTool partition master

  • using DiskGenius

  • using GParted from a live OS on a USB stick.

All failed/refused to give the option to extend the partition.

Seems like DiskGenius on Windows 10 booted from another disk is my best attempt and gives the most information. When I resize the partition it gives this

Probably the most useful bit of info is this screenshot showing the layout of the disk.enter image description here

Logical(5) is what I want to extend and the free space is to the right of it.

11
  • did u try window's very own disk manager??
    – Elmo
    Commented Jul 17, 2019 at 9:55
  • @Emiley it's a Linux ext4 partition so I didn't , EDIT: now I tried , the extend volume button is gray Commented Jul 17, 2019 at 9:57
  • and maybe you might need to convert the ext4 to NTFS
    – Elmo
    Commented Jul 17, 2019 at 9:57
  • or making the logical as primary...sorry dont know much about linux...not used it since a lot of years
    – Elmo
    Commented Jul 17, 2019 at 10:00
  • is this of any help:linux-training.be/sysadmin/ch05.html
    – Elmo
    Commented Jul 17, 2019 at 10:01

2 Answers 2

0

Logical(5) is a logical partition inside an extended partition, while the free space lies outside of that extended partition.

You need to resize Extended Partition to include the free space first, then resize Logical(5).

-3

In the normal interface, Linux's fdisk applies alignment constraints to partitions. Which constraints depends on the version of fdisk. Older versions defaulted to cylinder alignment, for compatibility with older operating systems that were incompatible with LBA. When LBA was a little over two decades old, fdisk stopped catering for such ancient systems by default, and instead switched to 1MB alignment, which gives better performance on modern storage media.

In current versions of fdisk, to create partitions with any sector (512B) alignment, you need to first create the partition with the desired end point, then go to the expert menu (x) and use the command b to adjust the beginning of the partition (this changes the partition size, not where it ends). It does seem rather clumsy.

Source

8
  • Source: unix.stackexchange.com/questions/320201/… Commented Jul 17, 2019 at 10:09
  • 1
    No instructions given just irrelevant off-topic information, answer is a copy paste from another question without giving credit to the original author Commented Jul 17, 2019 at 10:23
  • @tomerzeitune I did mention the source ...didn't I ??
    – Elmo
    Commented Jul 17, 2019 at 10:26
  • @Kamil Maciorowski Thankyou...I don't know how to make the link go directly to the answer instead of the page ....how to do it ??
    – Elmo
    Commented Jul 17, 2019 at 10:31
  • I edited the answer so it's clear you're quoting from elsewhere. Still this is not useful here. It might be somewhat useful if the OP was trying to extend to the left, but in the current situation it's not. Commented Jul 17, 2019 at 10:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .