LinuxQuestions.org
Review your favorite Linux distribution.
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 09-22-2006, 01:42 PM   #1
sigmacunfu
LQ Newbie
 
Registered: Sep 2006
Posts: 11

Rep: Reputation: 0
Home directory gone!!!


Hi everyone,
I was running winxp/debian testing dualbooting, but my winxp was screwed, so had to reinstall it, but during my reinstallation, grub failed to load up the boot menu, so I used knoppix and grub to fix it, now it boots into debian correctly, but when I try to log in with my previous username, it says "your home directory is listed as /home/myusername, but it doesn't appear to exist. Do you want to log in with the /....", when I clicked yes, it says $HOME/.dmrc file is being ignored. This prevents the default session and languages from being saved, etc.....", and then I clicked ok, once again it told me my session only last 10 seconds and brought me back to the login screen.


Any Help appreciated, is my home directory actually lost?!!


Thank you all in advance.

Eric

p.s. when the gurb boot menu didn't show up, I usded my debian cd tried to reinstall grub but without any success, however it did change my hostname to debian which is the default, and reported that a installation is already in place, etc...

Last edited by sigmacunfu; 09-22-2006 at 01:44 PM.
 
Old 09-22-2006, 01:50 PM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
If you've got Knoppix, why don't you mount your harddrive's Linux partition (the one where /home ought to be) and see if it's there or not? And if not - create it. After that you should set the user permissions so that you can access it..like a+rwx for the first time to make sure you can log in, and after that reset the permissions for yourself only.
 
Old 09-22-2006, 01:54 PM   #3
sigmacunfu
LQ Newbie
 
Registered: Sep 2006
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by b0uncer
If you've got Knoppix, why don't you mount your harddrive's Linux partition (the one where /home ought to be) and see if it's there or not? And if not - create it. After that you should set the user permissions so that you can access it..like a+rwx for the first time to make sure you can log in, and after that reset the permissions for yourself only.

I did mount the disk with knoppix, but my home dic wasn't there, do you meant that I should do: mkdir /home/myusername?

Thanks
 
Old 09-22-2006, 02:03 PM   #4
sigmacunfu
LQ Newbie
 
Registered: Sep 2006
Posts: 11

Original Poster
Rep: Reputation: 0
Unhappy

Quote:
Originally Posted by b0uncer
If you've got Knoppix, why don't you mount your harddrive's Linux partition (the one where /home ought to be) and see if it's there or not? And if not - create it. After that you should set the user permissions so that you can access it..like a+rwx for the first time to make sure you can log in, and after that reset the permissions for yourself only.

Hi, I did this, and logged in, but theres nothing in the folder I'm afraid.
 
Old 09-22-2006, 02:16 PM   #5
Valkyrie_of_valhalla
Member
 
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301

Rep: Reputation: 30
Edit: didn't notice the prev replies.
The question is: what did you do to make it dissapear? Usually, just from reinstalling another partition, it doesn't affect this one.

Last edited by Valkyrie_of_valhalla; 09-22-2006 at 02:18 PM.
 
Old 09-22-2006, 02:23 PM   #6
sigmacunfu
LQ Newbie
 
Registered: Sep 2006
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Valkyrie_of_valhalla
Edit: didn't notice the prev replies.
The question is: what did you do to make it dissapear? Usually, just from reinstalling another partition, it doesn't affect this one.
when the gurb boot menu didn't show up, I usded my debian cd tried to reinstall grub but without any success, however it did change my hostname to debian which is the default, and reported that a installation is already in place, etc...

and in some stage it was installing something into the harddisk, and then reported theres already one existing installation, then I forced the new installation over the old one, but stopped it later on by restarting the computer...and got to where I am now.
 
Old 09-22-2006, 02:46 PM   #7
sigmacunfu
LQ Newbie
 
Registered: Sep 2006
Posts: 11

Original Poster
Rep: Reputation: 0
Is there a way that I could actually find out if the stuff which were previously in my home folder are still there,but they are hiding somewhere or it's just gone?


thanks
 
  


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
Apache Root/Home Directory and setting up FTP for home directories? Mankind75 Linux - Newbie 6 07-23-2006 02:37 PM
How to protect a file/directory in your home login directory (RH Linux) jitsenho Linux - Security 9 07-03-2006 11:08 PM
Home Directory! UltraSoul Solaris / OpenSolaris 1 01-01-2005 09:26 AM
QT and the home directory Pougan Linux - Newbie 3 11-02-2003 09:55 AM
home directory TX_metalhead Linux - General 6 06-02-2002 01:41 AM


All times are GMT -5. The time now is 01:02 PM.

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