Friday, April 26, 2024
32
rated 0 times [  32] [ 0]  / answers: 1 / hits: 107915  / 2 Years ago, fri, december 17, 2021, 5:20:13

I wanted to create more space for Ubuntu on my hard disk in favor of my Windows partition. I booted the livecd and resized the NTFS partition to 100 GB. Then I wanted to resize my Ubuntu (ext4) partition to fill up the created unallocated space.



A screenshot of my current disk. (With the livecd there's no 'key' icon after sda6)



a screenshot of my current disk



My first thought was just right click on sda6 → move/resize → done. Unfortunately I cannot resize or move the partition. However I can resize the NTFS partition.



I guess it is because the extended sda4 partition is locked. I couldn't see an unlock possibility though…



So how do I resize the ext4 partition anyway, probably by unlocking the extended partition, but how?


More From » partitioning

 Answers
7

You cannot resize a mounted filesystem, that's why you see a lock icon.



You were doing well, you booted into a Live CD and resized the NTFS partition.



Now you need to enlarge the Extended partition, partitions "inside" that extended partition cannot "escape" outside.




  1. Make sure that /dev/sda6 is unmounted. If a lock icon is visible, right click on it and choose for Unmount

  2. Make sure that the swap partition /dev/sda5 is unmounted. Right click on it and choose for Swapoff

  3. Select /dev/sda4 and choose for Resize. Use the free space on the left side

  4. Select /dev/sda6 and resize it on the right side

  5. Apply the changes and you're done.


[#44389] Friday, December 17, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
velelf

Total Points: 395
Total Questions: 115
Total Answers: 107

Location: Sudan
Member since Mon, Jun 1, 2020
4 Years ago
velelf questions
Sat, Nov 6, 21, 05:08, 3 Years ago
Fri, Sep 24, 21, 01:23, 3 Years ago
Sun, Oct 9, 22, 07:37, 2 Years ago
Mon, Oct 10, 22, 08:55, 2 Years ago
;