0

How can I extend the sdb2 partition?

Here is the current partition layout of my /dev/sdb disk:

/dev/sdb ├─sdb1 ntfs Windows10 6672012C72010313 ├─sdb2 ext4 1.0 dd841b67-660f-42dc-a057-a934bd0385ea └─sdb3 ntfs WinRE 7EB24D9DB24D5B33 

I would like to increase the size of the sdb2 partition. How can I do this safely, preferably without losing any data?

I’m open to using tools like gparted, parted, fdisk, or command-line solutions. Also, please let me know if any unallocated space is required before or after the partition to extend it.

1 Answer 1

0

If you are able to reboot the system, you can download the GParted ISO, and boot to it and it will allow you to resize it easily. You will need unallocated space after it, however. If you were planning to remove the Windows partition (/dev/sdb1), you would need to remove it first in GParted, then you can move the ext4 partition to the beginning of the drive (note it will become sdb1 after deleting the original sdb1, though). GParted makes moving the partition very easy as well. I have used it many times to do exactly that. It goes without saying, but be sure you have a backup of all data you don't want to lose before you begin.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.