You are not logged in.

#1 2012-07-04 14:32:00

daGrevis
Member
From: Riga, Latvia
Registered: 2011-10-16
Posts: 81
Website

Adding unallocated space to root partition

Root partition is too small, so I wanted to add more space from unallocated space.
Problem is, that I can't expand root partition and add unallocated space to it. How can I fix it?

P.S. I used Live CD for that, but this screen is from current system (on Live CD, partitions was not locked). That's so, because it was too hard to make screenshot from Live CD.

Last edited by daGrevis (2012-07-04 14:32:22)

Offline

#2 2012-07-04 14:38:37

bohoomil
Banned
Registered: 2010-09-04
Posts: 2,377
Website

Re: Adding unallocated space to root partition

As your sda4 seems mostly free, you can a) backup its content, b) delete it entirely, c) expand sda3, d) re-create sda4. You can as well play with moving / resizing partitions, but the previous option seems better to me. Of course, create backups and use a Live CD so that all the partitions are modified when unmounted. The only thing you should remember to do afterwards is correct your fstab with valid UUIDs.

Last edited by bohoomil (2012-07-04 14:42:25)


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#3 2012-07-04 15:07:04

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Adding unallocated space to root partition

MBR-formatted drives are limited to 4 primary partitions. If I were you, I would probably delete the swap partition and use a swapfile instead. That would free up a primary partition, which you can extend, and create as many (logical) partitions as you'd like.

IMO, 7 GB for "/" is ok for a bloat-free system. Install KDE and a bunch of games and that situation immediately changes. Hmmm... Or maybe something else is eating up the space.

https://bbs.archlinux.org/viewtopic.php?id=139157


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#4 2012-07-04 15:49:31

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: Adding unallocated space to root partition

bohoomil wrote:

As your sda4 seems mostly free, you can a) backup its content, b) delete it entirely, c) expand sda3, d) re-create sda4. You can as well play with moving / resizing partitions, but the previous option seems better to me. Of course, create backups and use a Live CD so that all the partitions are modified when unmounted. The only thing you should remember to do afterwards is correct your fstab with valid UUIDs.

I'd second this. You could also (after you delete sda4 and increase the size of sda3) make an extended partition out of all the remaining space and then create a logical partition for (what is now) sda4 (it will get a different number when you do this).

Right now your unallocated space could only be used to add to sda4, because you have used up all your primary partitions. If you make a new extended partition and then put sda4 in it as a logical partition, you will be able to make more logical partitions out of the unallocated space.

If this is too confusing just go with bohoomil's original suggestion smile

Last edited by 2ManyDogs (2012-07-04 15:50:14)

Offline

#5 2012-07-10 09:49:15

daGrevis
Member
From: Riga, Latvia
Registered: 2011-10-16
Posts: 81
Website

Re: Adding unallocated space to root partition

> As your sda4 seems mostly free, you can a) backup its content, b) delete it entirely, c) expand sda3, d) re-create sda4

When I will delete sda4, will I be able to expand sda3?

> The only thing you should remember to do afterwards is correct your fstab with valid UUIDs.

Can you explain this a little further?

Offline

Board footer

Powered by FluxBB