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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-07-2005, 09:27 AM
|
#1
|
Member
Registered: Nov 2004
Posts: 43
Rep:
|
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
|
|
|
02-07-2005, 10:40 AM
|
#2
|
Moderator
Registered: Aug 2002
Posts: 26,201
|
Make sure you really copied all of the files and subdirectories too.
Last edited by michaelk; 02-07-2005 at 10:57 AM.
|
|
|
02-07-2005, 10:46 AM
|
#3
|
Senior Member
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380
Rep:
|
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.
|
|
|
02-07-2005, 02:02 PM
|
#4
|
Member
Registered: Nov 2004
Posts: 43
Original Poster
Rep:
|
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
|
|
|
02-07-2005, 02:07 PM
|
#5
|
Senior Member
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380
Rep:
|
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 02:09 PM.
|
|
|
02-07-2005, 02:40 PM
|
#6
|
Moderator
Registered: Aug 2002
Posts: 26,201
|
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 /
|
|
|
02-07-2005, 04:03 PM
|
#7
|
Member
Registered: Nov 2004
Posts: 43
Original Poster
Rep:
|
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
|
|
|
02-07-2005, 04:22 PM
|
#8
|
Senior Member
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802
Rep:
|
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???
|
|
|
02-07-2005, 05:02 PM
|
#9
|
Moderator
Registered: Aug 2002
Posts: 26,201
|
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.
|
|
|
02-07-2005, 09:37 PM
|
#10
|
Member
Registered: Nov 2004
Posts: 43
Original Poster
Rep:
|
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
|
|
|
02-08-2005, 01:39 AM
|
#11
|
Senior Member
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380
Rep:
|
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?
|
|
|
All times are GMT -5. The time now is 01:52 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|