LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 03-07-2005, 11:15 AM   #1
zach_barrow
LQ Newbie
 
Registered: Mar 2004
Location: San Diego
Distribution: Ubuntu
Posts: 20

Rep: Reputation: 0
Unhappy Recompile kernel, now all user directories gone!


Hi all. I just compiled the 2.6.10 kernel to upgrade my Slackware box from 2.4.26. Everything is fine; I got everything working except all my user directories are gone!!! The home directory is there but it is empty. I tried rebooting with the 2.4.26 kernel but the users are still gone. What could possibly cause this (No, I did not accidentally rm ANYTHING)? I lost quite a bit of data and would really like to hear that it is there, somewhere, but if that is not the case I would like to know HOW they got deleted.

Thanks,
Zach
 
Old 03-07-2005, 11:38 AM   #2
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Rep: Reputation: 30
check to make sure no fs' are mounted over /home.
 
Old 03-07-2005, 12:05 PM   #3
zach_barrow
LQ Newbie
 
Registered: Mar 2004
Location: San Diego
Distribution: Ubuntu
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks for the help. Pretty much in line with your suggestions, what happened is that it appears that something got changed somewhere, and the partition that has the home directory on it does not get mounted. I mounted it and it was all there. Where, though, do I adjust the settings so that the correct partition gets mounted at boot time?
 
Old 03-07-2005, 12:19 PM   #4
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Rep: Reputation: 30
/etc/fstab
 
Old 03-07-2005, 01:36 PM   #5
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 46
You may also want to check dmesg for error messages - if all you did was change the kernel, it might be that you did something like compiled the support for whatever filesystem /home is on as a module, and the module isn't getting loaded until after the system tries to mount /home during bootup

Just a thought. . .
 
Old 03-07-2005, 04:08 PM   #6
zach_barrow
LQ Newbie
 
Registered: Mar 2004
Location: San Diego
Distribution: Ubuntu
Posts: 20

Original Poster
Rep: Reputation: 0
Here is my fstab. I haven't recently edited it, and the /home partition fields are normal. Does this mean something else is mounting on top of /home after it has been mounted at boot time?

/dev/hdc3 swap swap defaults 0 0
/dev/hdc5 / ext3 defaults 1 1
/dev/hdc2 /boot ext3 defaults 1 2
/dev/hdc6 /home ext3 defaults 1 2
/dev/hdc1 /windowsxp vfat users 1 0
/dev/hdc7 /fat-d vfat defaults 1 0
/dev/cdrom /mnt/cdrom iso9660 ro,user,noauto 0 0
/dev/cdrom1 /mnt/cdrom1 iso9660 ro,user,noauto 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
vsFTPd local user can't create directories nuzzy Linux - Software 11 12-04-2011 10:45 PM
Limiting user to very particular directories xEndymionx Linux - Security 1 07-19-2004 09:58 PM
Enable PHP in ~user Directories user1234 Linux - Software 1 03-11-2004 03:18 AM
VSFTP user directories SBSAdam Linux - Networking 0 02-23-2004 08:42 AM
LDAP and user Directories hilltop*Tech Linux - Software 1 02-09-2004 07:22 PM


All times are GMT -5. The time now is 05:16 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration