You are not logged in.

#1 2011-04-13 05:48:17

AVW
Member
Registered: 2011-01-03
Posts: 15

[SOLVED]Rebuilding a Home Partition

In a tragic accident, including power outages and partitioning, I managed to lose my entire /home partition (although my other partitions were luckily untouched). What are the basic files that I need in a home partition for Arch to not throw errors at me, so I can rectify this horrible situation and get on with my ArchLinux related adventures?

Last edited by AVW (2011-04-13 22:41:40)

Offline

#2 2011-04-13 06:30:44

3])
Member
From: Netherlands
Registered: 2009-10-12
Posts: 215

Re: [SOLVED]Rebuilding a Home Partition

The basic files should be located in /etc/skel/

Basically, the files in that directory are copied every time you create a new user to that users home directory.


Hence-skel, meaning skeleton.


“There are two ways of constructing a software design. One way is to make it so simple that there are obviously no deficiencies. And the other way is to make it so complicated that there are no obvious deficiencies.”-- C.A.R. Hoare

Offline

#3 2011-04-13 11:30:34

lives2evil
Member
From: GMT+7
Registered: 2010-03-21
Posts: 244

Re: [SOLVED]Rebuilding a Home Partition

After a fresh installation, /home is just an empty folder.


tsujeruplive, tnarongisi... ... ... ... ɥsılƃuǝ sı sıɥʇ

Offline

#4 2011-04-13 11:33:42

bharani
Member
From: Karaikudi, India
Registered: 2009-07-12
Posts: 202

Re: [SOLVED]Rebuilding a Home Partition

lives2evil wrote:

After a fresh installation, /home is just an empty folder.

But when users are created files under /etc/skel are copied to their home folder.


Tamil is my mother tongue.

Offline

#5 2011-04-13 12:10:21

lives2evil
Member
From: GMT+7
Registered: 2010-03-21
Posts: 244

Re: [SOLVED]Rebuilding a Home Partition

Yes, but I said "fresh installation". So I mean you havn't do anything except login.
And in this case, /home partition is severely damaged. So best way is to delete all created user and recreate it. Much safer than copy /etc/skel manually.


tsujeruplive, tnarongisi... ... ... ... ɥsılƃuǝ sı sıɥʇ

Offline

#6 2011-04-13 22:41:06

AVW
Member
Registered: 2011-01-03
Posts: 15

Re: [SOLVED]Rebuilding a Home Partition

Thank-you, that's all the info I need.

Offline

Board footer

Powered by FluxBB