LINUX LITE 7.4 RC1 RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Resizing extended partition
#1
I have a dual-boot arrangement with LL2.0 (32bit) and Windows Vista on a laptop, and I'm trying to increase the size of the LL partition using GParted.  A screenshot of the current partition structure is attached.

I have already reduced the size of the Windows partition (/dev/sda3), to create 29GB of unallocated space adjacent to /dev/sda4, which I want to add to the LL partition, /dev/sda6.  The Gparted Manual says "If you are growing a logical partition, then the unallocated space must be within the extended partition" and "You can move unallocated space to be inside or outside of the extended partition by resizing the extended partition boundaries".

When I select the /dev/sda6 partition, the Resize/Move option in GParted's Partition menu is available, but I can't make the partition bigger, as expected.  However, when I select the /dev/sda4 extended partition, the Resize/Move option is greyed-out, so I can't extend it into the unallocated space.

I have tried booting from a live CD so that the hard drive is unmounted, but it makes no difference.

Any suggestions, please?

[pdf removed]
Reply
#2
bobw, can you please read this guide for posting screenshots - https://www.freecinema2022.gq/forums/index.php?topic=29.0
Thank you.
Reply
#3
Sorry Valtam - I thought a 45kB PDF was OK, but point taken.

This is the screenshot via imgur:

[Image: dFm9Fwo.png]
Reply
#4
Hi Bobw,
Try unmounting the drives. First unmount sda7(swap) and then sda4(extended). Right-clicking on sda4(extended) should now give you resize options.
[Image: q7j1yAl.png]
Reply
#5
Thanks Scott, you've given me the solution.

The partitions were already unmounted, working from the live CD, but I right-clicked on the sda7(swap) partition as you suggested, and found swapoff (which was completely new to me).  That did the trick - I was then able to extend sda4 to take up the unallocated space, then resize sda6.
Reply
#6
Hello!

If you run a LiveCD and you have a swap partition defined on the hard drive, it will use it. Therefore, one must unmount it manually in GPartEd by selecting 'Swapoff'...

73 DE N4RPS
Rob
[Image: EtYqOrS.png%5D]

A gun in your hand is worth more than a whole police force on the phone.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)