You are not logged in.

#1 2011-11-30 09:14:38

Camus
Member
Registered: 2011-07-03
Posts: 71

[SOLVED] Moving boot, home and var partition post-install

I've installed my whole Arch on a single 10GB partition because of low disk space. But now that I've gained a lot of disk space, I want to move /boot, /home and /var to separate partitions.
I'm going to use live CD, so everything will be unmounted.

home and var:
  I assume it's just a matter of moving files and changing fstab.
boot:
  I assume, I'll have to move all files to new partition and re-install grub/burg.

Is there anything more to it?

Last edited by Camus (2011-12-01 11:37:32)

Offline

#2 2011-11-30 09:29:42

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] Moving boot, home and var partition post-install

Sounds about right, go for it.

Offline

#3 2011-11-30 10:12:52

Camus
Member
Registered: 2011-07-03
Posts: 71

Re: [SOLVED] Moving boot, home and var partition post-install

How do I tell grub to use different partition (e.g. /dev/sda2 instead of /dev/sda1/boot)? Will my fstab be read right at boot? Or is there any argument I have to pass when re-installing to MBR?

Offline

#4 2011-11-30 11:36:39

beta990
Member
Registered: 2011-07-10
Posts: 207

Re: [SOLVED] Moving boot, home and var partition post-install

You need to edit your fstab file, copy files to the new partitions (check for permissions!), and restore grub(2), see wiki.
If you do not have custimized Arch, you could do a reinstall, but I'm not responsible for that tip. So be sure to have a backup or something like that.

Offline

#5 2011-12-01 11:35:58

Camus
Member
Registered: 2011-07-03
Posts: 71

Re: [SOLVED] Moving boot, home and var partition post-install

I successfully separated /home and /var. I think I'll just leave boot on the same partition since it's really small anyway.

Offline

Board footer

Powered by FluxBB