You are not logged in.

#1 2009-10-10 21:25:42

chris_debian
Member
From: Wiltshire, UK
Registered: 2009-02-24
Posts: 284

[SOLVED] Can I move my /home during installation.

Hi,

Just doing an install (http://bbs.archlinux.org/viewtopic.php? … 08#p633908) and wondered whether it's possible to move my /home as part of the process.

/home is currently on sda2, but I'd like to move it to the bigger sdb.

Is this possible during installation, or do I need to do it afterwards?

Any advice appreciated.

Cheers,

Chris.

Last edited by chris_debian (2009-10-12 09:54:12)


Reasons why you may want to try GNU/Linux:

www.whylinuxisbetter.net/

Offline

#2 2009-10-10 21:40:20

panosk
Member
From: Athens, Greece
Registered: 2008-10-29
Posts: 241

Re: [SOLVED] Can I move my /home during installation.

Hi,

Maybe you can. After you log in as root, create two temporary dirs (in /tmp, for example), mount the partitions you want (I assume you want to transfer your /home to a prepared partition in sdb), and copy the whole partition. Then unmount the partitions and proceed with the installation.

Never done it myself, so I hope it makes sense :-)

Offline

#3 2009-10-10 22:01:16

chris_debian
Member
From: Wiltshire, UK
Registered: 2009-02-24
Posts: 284

Re: [SOLVED] Can I move my /home during installation.

Panosk,

Thanks for the reply.  My stupid problem came from a Ubuntu box that I have got (not for long!)

My question is, can I change my ext4 to something readable, or even something I can use to move my data somewhere else.

I have a spare HDD, so am more than happy to migrate the data if this helps, I just don't want to lose it.

My /home is currently on /sda2 and the spare HDD is sdb. The data still exists, but the upgrade has done something to it.

BTW, I used this guide to 'upgrade' from ext3 > 4:

https://help.ubuntu.com/community/Co...lesystemToExt4

Any help really appreciated.

Cheers,

Chris.


Reasons why you may want to try GNU/Linux:

www.whylinuxisbetter.net/

Offline

#4 2009-10-10 22:41:29

panosk
Member
From: Athens, Greece
Registered: 2008-10-29
Posts: 241

Re: [SOLVED] Can I move my /home during installation.

Well, if I get it right, your problem has nothing to do with the installation procedure but rather with a faulty and unreadable /home partition. Try to use a live cd (gparted maybe) and manipulate your disks and partitions with that.

Offline

#5 2009-10-10 23:45:03

chender
Member
From: Toronto, Canada
Registered: 2008-11-24
Posts: 41
Website

Re: [SOLVED] Can I move my /home during installation.

In this kind of situation, my experience is have a solid back up on S3/ USB etc, and then blow the whole thing away and begin again.  Much simpler.


--
thinkpad X60s [t400s coming soon] | archlinux i686 | xmonad | dmenu |

Offline

#6 2009-10-11 01:05:51

chris_debian
Member
From: Wiltshire, UK
Registered: 2009-02-24
Posts: 284

Re: [SOLVED] Can I move my /home during installation.

panosk wrote:

Well, if I get it right, your problem has nothing to do with the installation procedure but rather with a faulty and unreadable /home partition. Try to use a live cd (gparted maybe) and manipulate your disks and partitions with that.

Tried that, but am using GParted to cp partition in case I screw it up.


Reasons why you may want to try GNU/Linux:

www.whylinuxisbetter.net/

Offline

#7 2009-10-11 01:06:52

chris_debian
Member
From: Wiltshire, UK
Registered: 2009-02-24
Posts: 284

Re: [SOLVED] Can I move my /home during installation.

chender wrote:

In this kind of situation, my experience is have a solid back up on S3/ USB etc, and then blow the whole thing away and begin again.  Much simpler.

That's an option for next time.

Cheers,

Chris.


Reasons why you may want to try GNU/Linux:

www.whylinuxisbetter.net/

Offline

#8 2009-10-12 09:50:36

chris_debian
Member
From: Wiltshire, UK
Registered: 2009-02-24
Posts: 284

Re: [SOLVED] Can I move my /home during installation.

panosk wrote:

Hi,

Maybe you can. After you log in as root, create two temporary dirs (in /tmp, for example), mount the partitions you want (I assume you want to transfer your /home to a prepared partition in sdb), and copy the whole partition. Then unmount the partitions and proceed with the installation.

Never done it myself, so I hope it makes sense :-)

I did this and it worked!

Cheers,

Chris.


Reasons why you may want to try GNU/Linux:

www.whylinuxisbetter.net/

Offline

Board footer

Powered by FluxBB