LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 10-28-2017, 02:46 PM   #1
clearfell
Member
 
Registered: Sep 2016
Posts: 76

Rep: Reputation: Disabled
enlarging partitions using unallocated space


Hi,
My two partitions used for Linux os's are both full. I've had to use recovery mode to remove some space to let me use the computer. My Gparted table looks like this:

sda1 Ext4 / peppermintos 16.83 GiB
sda3 Ext4 pclinuxos 10.30 GiB
sda2 extended 157.38 GiB
unallocated 153.39 GiB
sda5 linux swap 4.00 GiB

When I tried enlarging sda1 all I got was 'no space on either side of partition'. I think that if I could remove sda2, extended, it would enable me, at least, to enlarge sda3 as it would then be next to the spare space.

Am I on the right track here and what do I do next, please?

Clearfell
 
Old 10-28-2017, 05:21 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
The extended (/dev/sda2) is a container for logical partitions - in this case swap. If you delete sda2 all logical partitions get deleted as well as a consequence. Very bad habit to get into, even if it is only one logical. Here it would probably render both systems unbootable.
If the order is indeed as you describe, simple use gparted to drag the left edge of sda2 to the right to create unused space next to /dev/sda3. Then move (not enlarge) the entire /dev/sda3 to the right, giving unallocated space after both /dev/sda1 and /dev/sda3. Then you can use gparted to enlarge either or both as you see fit.
Make sure you apply chages along the way.
 
Old 10-28-2017, 06:44 PM   #3
clearfell
Member
 
Registered: Sep 2016
Posts: 76

Original Poster
Rep: Reputation: Disabled
sygOO,

Thanks. Thats very clear and I think I should have thought of it myself. It's now getting on for one in the morning here so I'm popping off to bed.
I'll report back in the morning.

Clearfell
 
Old 10-29-2017, 06:43 AM   #4
clearfell
Member
 
Registered: Sep 2016
Posts: 76

Original Poster
Rep: Reputation: Disabled
sygOO,

Well, that has worked, with a little jiggling here and there, quite successfully. Thank you very much for your help.
clearfell
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use an unallocated space? grigory Linux - Newbie 12 07-06-2017 03:42 PM
What to do with Unallocated space Fixit7 Puppy 1 01-06-2015 03:52 AM
rearrange partitions and use unallocated space Pedroski Linux - Hardware 8 07-22-2012 07:03 PM
makes partitions & unallocated space must created manually lse123 Linux - Newbie 13 12-07-2011 11:06 AM
Unallocated Partitions oldmartian Linux - Software 8 02-24-2007 01:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 11:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration