You are not logged in.

#1 2014-12-02 07:17:18

snowfire
Member
From: Australia
Registered: 2014-12-02
Posts: 2

[SOLVED] How can I combine my root and home partition?

I recently did my first installation of Arch Linux (gotta say, its AMAZING) and following the guide I split up / and /home into to different partitions. I set the root partition to have 15GB (again following the guide) and that is no way enough space to store all of my applications. I was wondering if someone would be able able to help me merge the two partitions so I can use my full 200GB of space.

Thanks for the help big_smile

Last edited by snowfire (2014-12-02 11:08:40)

Offline

#2 2014-12-02 07:28:33

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] How can I combine my root and home partition?

It is a good idea to maintain a separate / and /home. Given it is a new installation, why not just back up /home and resize /?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-12-02 08:34:16

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: [SOLVED] How can I combine my root and home partition?

While I understand your problem (I use a single partition on my laptop myself), I wonder what you could have installed, that eats 15GiB. Have you tried an allocation viewer, like ncdu?

Offline

#4 2014-12-02 10:06:32

snowfire
Member
From: Australia
Registered: 2014-12-02
Posts: 2

Re: [SOLVED] How can I combine my root and home partition?

I have installed too much stuff for such a short period of time tbh... But the main contributor was BlackArch (gotta do them pen testing tongue ) which once it is installed it takes roughly 8-9GB.... I went through gparted and expanded my root partition successfully though, so its not a big deal really anymore....

Offline

#5 2014-12-02 10:48:18

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: [SOLVED] How can I combine my root and home partition?

Mark the thread as solved, then.

Well, that's one solution. You can do this every time you run out of root space. Should you decide to merge the partitions at some point, here is what I would do:

1. Backup /home to an external drive, delete /home, resize /, restore /home from your backup. This can be tricky, because errors happen more often than not.

2. If you have less than the size of home free on your drive:
2.1 Shrink /home, so it's full.
2.2 Expand /
2.3 Move some parts of /home to the the / partition in a new /home.
2.4 repeat .1 to .3 until you have only one partition left.

I have done both and both suck in its own ways.

Offline

Board footer

Powered by FluxBB