You are not logged in.

#1 2012-02-26 06:29:22

brandonlovitt
Member
Registered: 2012-02-26
Posts: 5

[SOLVED]Switching partitions

i need help. All my files are saving to the " / " partition instead of the " /home " partition. My " / " partition is only 7.5 gigabytes, (which is the recommended size), and is almost full. how can i make it so nothing saves to that partition, and everything saves to my " /home " partition? I am logged in as a normal user. I need help on this before that partition is full.

Last edited by brandonlovitt (2012-02-26 16:17:16)

Offline

#2 2012-02-26 07:01:11

Avant-texte
Member
Registered: 2012-02-13
Posts: 136

Re: [SOLVED]Switching partitions

What files are you speaking of? Ordinary users should only have rights to write within /home/<username>/

If you're talking about the files from installing packages, they go onto the root partition. Seven gigs normally more than enough, but if that's really your problem, maybe you need to resize it.

If you're talking about personal user files (configs in your home directory, files you save off the web, etc), you're not using your system as root are you?

Offline

#3 2012-02-26 07:04:40

brandonlovitt
Member
Registered: 2012-02-26
Posts: 5

Re: [SOLVED]Switching partitions

no, i've just been installing applications using pacman and the AUR and it has completely taken up that root partition, while it is not even touching my 300 gig home partition. is this supposed to happen?

Offline

#4 2012-02-26 07:07:20

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

Re: [SOLVED]Switching partitions

https://wiki.archlinux.org/index.php/Fstab

I'd suggest using UUID's instead of labels or sd[x][y] because they're much more precise. Especially in a multi-drive, multi-partition setup.

And don't forget to reboot.

Last edited by DSpider (2012-02-26 07:08:39)


"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

#5 2012-02-26 07:08:59

Pres
Member
Registered: 2011-09-12
Posts: 423

Re: [SOLVED]Switching partitions

All installed applications are stored on the / partition (more specifically in the /usr directory). If you want to install a lot of software you'll need to resize your root partition. You could also try clearing your pacman cache (pacman -Sc or pacman -Scc) to free up some space.

Offline

#6 2012-02-26 07:12:24

brandonlovitt
Member
Registered: 2012-02-26
Posts: 5

Re: [SOLVED]Switching partitions

how can i use some space from my home partition to resize my root?

Offline

#7 2012-02-26 07:24:25

echo.unity
Member
Registered: 2011-11-14
Posts: 68

Re: [SOLVED]Switching partitions

brandonlovitt wrote:

how can i use some space from my home partition to resize my root?


https://wiki.archlinux.org/index.php/LVM

Offline

#8 2012-02-26 07:28:23

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

Re: [SOLVED]Switching partitions

People have asked this before. Search the forum.

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

Last edited by DSpider (2012-02-26 07:28:41)


"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

#9 2012-02-26 07:37:43

Avant-texte
Member
Registered: 2012-02-13
Posts: 136

Re: [SOLVED]Switching partitions

brandonlovitt wrote:

no, i've just been installing applications using pacman and the AUR and it has completely taken up that root partition, while it is not even touching my 300 gig home partition. is this supposed to happen?

Pres wrote:

All installed applications are stored on the / partition (more specifically in the /usr directory). If you want to install a lot of software you'll need to resize your root partition. You could also try clearing your pacman cache (pacman -Sc or pacman -Scc) to free up some space.

The only files belonging to the actual user go in /home. It is, as the name implies, the home for user files (photos, music, documents, etc). All installed packages are put into the system itself. You should do what Pres advises. Pacman saves cached copies of every tarball downloaded for a package install and upgrade. There are good reasons for this, though, however after enough upgrades, that cache can get very large if it's not managed. 7 gigabytes is a lot of software, but if you really have that much installed,* you need to resize. GNUparted can make this easy for you. Just shrink your 300G partition 10-20Gs. If your root partion is right next to your home partition, make sure your newly shrunken home partition is moved away from the the root partition (this normally towards the end of the drive in a common install). If there are other partitions inbetween the two, you need to move them away from the root partition too. Then all you need to do is expand your root partition to take up all the now unused space. You should look at tutorials to make sure you understand how to do this and this is not without risk so you will want to back up anything important to you (probably a package list dumped from pacman too).

EDIT:
Woops. DSpider beat me to it and came with links. big_smile

Last edited by Avant-texte (2012-02-26 07:42:49)

Offline

#10 2012-02-26 07:48:29

brandonlovitt
Member
Registered: 2012-02-26
Posts: 5

Re: [SOLVED]Switching partitions

Thank you guys, i got it figured out big_smile

Offline

#11 2012-02-26 08:24:50

Avant-texte
Member
Registered: 2012-02-13
Posts: 136

Re: [SOLVED]Switching partitions

brandonlovitt wrote:

Thank you guys, i got it figured out big_smile

congrats.

Please post how you executed your solution and mark as solved, for future googlers.

Last edited by Avant-texte (2012-02-26 08:25:33)

Offline

#12 2012-02-26 08:28:47

Maki
Member
From: Skopje, Macedonia
Registered: 2007-10-16
Posts: 353
Website

Re: [SOLVED]Switching partitions

You should say a word or two about how you fixed it smile, someone might find it helpful.


If it ain't broke, broke it then fix it.

Offline

#13 2012-02-26 16:11:58

brandonlovitt
Member
Registered: 2012-02-26
Posts: 5

Re: [SOLVED]Switching partitions

i fixed my problem by installing the gparted live cd, took some space out of my home partition, moved it next to root and expanded it. it takes a few hours to complete.

Offline

Board footer

Powered by FluxBB