View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-14-2004, 08:59 AM   #1
LQ Newbie
Registered: Jan 2004
Location: Hong Kong SAR China
Distribution: Red hat
Posts: 18

Rep: Reputation: 0
Home directory missing! cannot log-in?

Hello All, I have really messed it up! Earlier to-day I installed JVM
but I have lost my home directory it appears to be missing. When
I log in it will not go past the log in window the message asks me if
I want to use the fail safe session and regardless what I answer
it just returns to log-in. I did move the file from my home directory to
usr/java directory but I must have made a mistake because the home
directory is missing. Please help Thanks and regards Mike C.
Old 03-14-2004, 10:33 AM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,147

Rep: Reputation: 229Reputation: 229Reputation: 229
If you can boot up into single mode, etc, just recreate the /home directory for your user. You might not have all your settings or preferences but you can just resave those when your using the apps, etc.
Old 03-14-2004, 10:35 AM   #3
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 453

Rep: Reputation: 32
Are you using a graphical login?
Try text mode with ctrl-alt-F2
ls / should show whether /home has gone
mkdir /home
mkdir /home/you
chown you:you /home/you
might help until you get things put back. Likely you dragged /home into /usr ...
Find your old /home and put it back...
Old 03-15-2004, 06:15 AM   #4
LQ Newbie
Registered: Jan 2004
Location: Hong Kong SAR China
Distribution: Red hat
Posts: 18

Original Poster
Rep: Reputation: 0
Hello trickykid and RobertP, Thanks for the quick responses, I will try
them out, at least you have given me a method for sorting out the
problem while I was still scratching my head. Thanks again for all
your support. a definite Newbie, by making mistakes I am learning.
Regards Mike C.


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
Apache Root/Home Directory and setting up FTP for home directories? Mankind75 Linux - Newbie 6 07-23-2006 02:37 PM
Cant log on to home user aikempshall Slackware 1 05-12-2004 11:16 AM
home directories missing after upgrade to 2.4.26 eger Linux - Software 2 05-03-2004 06:11 PM
missing html files in my home directory scottsteib Linux - Newbie 0 07-29-2003 09:13 AM
Non-root users can log in to SSH but not read Home Directory? Bizanshee Linux - Software 1 09-18-2002 07:01 PM

All times are GMT -5. The time now is 07:06 PM.

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