You are not logged in.

#1 2009-02-26 22:01:27

DanielBaniel
Member
Registered: 2009-02-26
Posts: 4

Moving install to different (larger) partition.

Hi
I've just got arch working for the first time (after 2 failed attempts) and already I see I've messed up.
I have two partitions.  A 4gig and a 15gig.
I installed Arch with the 4gig mounted as / and the 15gig as /home but that was quite silly 'cause 4gigs wasn't near enough space.
I want to move everything to the 15gig.  So the 15gig will be mounted as /.

I've looked around a bit and it seems that I should be able to do that by copying
everything on the 4gig onto the 15gig and editing my fstab to mount the 15gig as / instead of /home.
Then I think I'd have to move the daniel (my username) folder on the 15gig into a folder called home.

One problem may be that when I copy everything the permissions won't be kept.  How do I get around that?

Is this method doable?  Are there complications I've missed?

Thanks
Daniel

Offline

#2 2009-02-26 22:06:09

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: Moving install to different (larger) partition.

1) do it from a LiveCD
2) use cp -a (recursive by default, preserves permissions and timestamps)
3) edit fstab
4) edit /boot/grub/menu.lst
5) cross your fingers and reboot

smile i used similar steps to go from 32bit to 64bit recently.

Offline

#3 2009-02-27 14:37:16

DanielBaniel
Member
Registered: 2009-02-26
Posts: 4

Re: Moving install to different (larger) partition.

Thanks brisbin.

Busy copying now.  Hope it works.

Offline

Board footer

Powered by FluxBB