LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-07-2005, 10:27 AM   #1
delamatrix
Member
 
Registered: Nov 2004
Posts: 43

Rep: Reputation: 15
Mounting /home on it's own partition


I'm having some issues trying to mount /dev/hda3 (an ext3 formatted partition) as /home at bootup. I've already moved the one user directory to hda3 and I also created the entry in fstab. The entry looks like this:

--> /dev/hda3 /home ext3 auto,defaults 0 0 <--

At bootup, /dev/hda3 doesn't even mount, as if the fstab entry is ignored.

Then I get this message right before kdm starts:

--> ls: /home/*/Desktop: No such file or directory <-----

All resulting in KDE not being able to start.

What am I doing wrong? How can I fixed this problem?

Any help or suggestions would be greatly appreciated.

Thanks.

- Delamatrix
 
Old 02-07-2005, 11:40 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 16,430

Rep: Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938
Make sure you really copied all of the files and subdirectories too.

Last edited by michaelk; 02-07-2005 at 11:57 AM.
 
Old 02-07-2005, 11:46 AM   #3
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Try removing the "auto" from the fstab. The only place this occurs in mine is the cdrom I assume because it needs to be loaded as required i.e. when media is present.
 
Old 02-07-2005, 03:02 PM   #4
delamatrix
Member
 
Registered: Nov 2004
Posts: 43

Original Poster
Rep: Reputation: 15
yes I copied all directories and subdirectories and also moved the auto from the fstab entry. The problems still exists. Are there any more suggestions? Thanks.

- delamatrix
 
Old 02-07-2005, 03:07 PM   #5
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Did you reboot after editing the fstab? You have also created the /home directory on the partition?

Last edited by TigerOC; 02-07-2005 at 03:09 PM.
 
Old 02-07-2005, 03:40 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 16,430

Rep: Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938
Does /home/<user>/Desktop exist
Can you mount the partition manually?

You do not need to create /home on the hda3 filesystem because that is the mount point which is part of /
 
Old 02-07-2005, 05:03 PM   #7
delamatrix
Member
 
Registered: Nov 2004
Posts: 43

Original Poster
Rep: Reputation: 15
yes, I reboot everytime I change the fstab just to be on the safe side.

also, yes, I can manually mount /dev/hda3 /home. I've been booting into console and manually mounting hda3 as home, then starting KDE and everything is fine this way. But why doesn't the mount point automatically mount during bootup? The fstab entry is:

/dev/hda3 /home ext3 defaults 0 0

That should work right?

Michealk, the hda3 filesystem doens't have /home on it. It just have two user directories like this (user1,user2).

-Delamatrix
 
Old 02-07-2005, 05:22 PM   #8
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 12.04/14.04, Scientific Linux 6.3/6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,799

Rep: Reputation: 157Reputation: 157
Try:

/dev/hda3 /home ext3 notail 1 2

and delete the /home directory in /,...

Have you changed the ownership of the directories to their user???
 
Old 02-07-2005, 06:02 PM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 16,430

Rep: Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938
Do you see any error messages on why it isn't mounting?

I taking a guess but if this is the last line of your fstab file there needs to be an EOL character before the end of file character. Edit the file and move the cursor to the end of the line then press the enter key.
 
Old 02-07-2005, 10:37 PM   #10
delamatrix
Member
 
Registered: Nov 2004
Posts: 43

Original Poster
Rep: Reputation: 15
the error message I get at bootup is as follows:

fsck.ext3: Filesystem hs unsupported feature(s) (/home)

e2fsck: Get a new version of e2fsck!

fsck failded. Please repair manually.

CONTROL-D will exit from this shell and continue system startup.

I don't really think this e2fsck is really the problem, but it may be. I can't figure it out guys. Any more suggestions?

- Delamatrix
 
Old 02-08-2005, 02:39 AM   #11
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Technically the entry in fstab should work but judging by the error there is something there that fsck doesn't like. Have you tried running e2fsck on it to see if it will fix the problem?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting /home on it's own partition with knoppix HDD install delamatrix Debian 1 02-07-2005 02:50 PM
Partition mounting/KDE errors after creating Fat32 Partition BertBert Linux - General 1 07-07-2004 11:59 AM
/home seperate partition from previous install, make it new /home in new install mipia Slackware 5 06-21-2004 11:57 PM
Partition Free Space - Move /home to the new partition gregkise Linux - General 5 12-16-2003 11:19 PM
Mounting mounting extended partition and its Logical drives desbyleo Linux - Newbie 10 02-18-2002 04:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration