LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Recompile kernel, now all user directories gone! (https://www.linuxquestions.org/questions/linux-general-1/recompile-kernel-now-all-user-directories-gone-298740/)

zach_barrow 03-07-2005 11:15 AM

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

Frustin 03-07-2005 11:38 AM

check to make sure no fs' are mounted over /home.

zach_barrow 03-07-2005 12:05 PM

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?

Frustin 03-07-2005 12:19 PM

/etc/fstab

oneandoneis2 03-07-2005 01:36 PM

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. . .

zach_barrow 03-07-2005 04:08 PM

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


All times are GMT -5. The time now is 10:13 PM.