You are not logged in.

#1 2008-12-22 23:53:23

Arm-the-Homeless
Member
Registered: 2008-12-22
Posts: 273

Mounting separate /home partition

So I have a separate /home partition.
It's /dev/sda1 and a EXT3 partition.

How would I mount this as /home in the /etc/fstab?

Offline

#2 2008-12-22 23:55:44

tam1138
Member
Registered: 2007-09-10
Posts: 238

Re: Mounting separate /home partition

The fstab manpage describes the format of /etc/fstab.

Offline

#3 2008-12-23 00:14:00

decaturguy
Member
From: Sweden
Registered: 2006-11-28
Posts: 117

Re: Mounting separate /home partition

I have /dev/sda4 mounted as /home (ext3) on my server.

/dev/sda4 /home ext3 defaults 0 1

Offline

#4 2008-12-23 00:31:46

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: Mounting separate /home partition

Arm-the-Homeless wrote:

So I have a separate /home partition.
It's /dev/sda1 and a EXT3 partition.

How would I mount this as /home in the /etc/fstab?

I understand that this is the Newbie Corner but this should have already been done in the Arch Setup. Or are you doing a manual install?


neutral

Offline

#5 2008-12-23 00:52:08

Arm-the-Homeless
Member
Registered: 2008-12-22
Posts: 273

Re: Mounting separate /home partition

sand_man wrote:
Arm-the-Homeless wrote:

So I have a separate /home partition.
It's /dev/sda1 and a EXT3 partition.

How would I mount this as /home in the /etc/fstab?

I understand that this is the Newbie Corner but this should have already been done in the Arch Setup. Or are you doing a manual install?

I already had a separate /home partition and when I selected it, it said to pick a filesystem.
So I thought that meant it would be overwritten.

Offline

#6 2008-12-23 00:57:30

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: Mounting separate /home partition

Arm-the-Homeless wrote:

I already had a separate /home partition and when I selected it, it said to pick a filesystem.
So I thought that meant it would be overwritten.

It will ask you after that if you want to create the file-system, but I don't blame you being paranoid.... It's your data, you have every right to be protective and err on the side of caution if you're unsure.

As decaturguy posted, modifying that line to be /dev/sda1 should be right for you

Offline

#7 2008-12-23 01:22:07

Arm-the-Homeless
Member
Registered: 2008-12-22
Posts: 273

Re: Mounting separate /home partition

It does ask me that? Lame. tongue

I put the line (modified, of course) in my /etc/fstab and for the user I logged in with (andy) it automatically logged me out.

Is it because I had it `chmod 700`'d or something?

Offline

#8 2008-12-23 03:23:46

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: Mounting separate /home partition

Did you mount it or reboot in between adding it to fstab and trying to login?

Sounds like a permissions issue, but more likely that your users home directory is owned by a different UID.

Offline

#9 2008-12-23 13:22:04

Arm-the-Homeless
Member
Registered: 2008-12-22
Posts: 273

Re: Mounting separate /home partition

I rebooted.

And I found it out. My ~/.bashrc has `source /etc/bash.bashrc`. And since it doesn't exist on Arch's filesystem it wouldn't let me log in.
So I mounted my Ubuntu / partition, copied over the file, and now it didn't have any window borders. In Appearance it was bugging me about the Human theme engine.

I installed a new theme and it did the same. So I think I have some custom setup thing that depends on Human. (Obviously tongue)

Offline

Board footer

Powered by FluxBB