LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-25-2006, 07:20 PM   #1
jnewby72
LQ Newbie
 
Registered: Sep 2005
Distribution: SUSE Linux 9.3
Posts: 6

Rep: Reputation: 0
Created new home directory and lost my files


I think I may have made my first major linux flub. I created a new partition and set the mount point as /home. There are no directories in the home directory now. Is there any way to recover my files?

Running OpenSuse 10.0
 
Old 01-25-2006, 07:25 PM   #2
paragn
Member
 
Registered: Jan 2006
Distribution: Red Hat EL5, Fedora 7
Posts: 259

Rep: Reputation: 30
try unmouting /home partition to check whether your old / partition preserves /home for you or not?
 
Old 01-25-2006, 08:43 PM   #3
jnewby72
LQ Newbie
 
Registered: Sep 2005
Distribution: SUSE Linux 9.3
Posts: 6

Original Poster
Rep: Reputation: 0
First, thanks for the saving tip.

I found the "old" home directory on the hard drive and moved all of the files to the new partition.

In haste, I deleted my user account. I'm going to try to log in again, but I had problems last time. I may need more assistance.
 
Old 01-25-2006, 09:34 PM   #4
jnewby72
LQ Newbie
 
Registered: Sep 2005
Distribution: SUSE Linux 9.3
Posts: 6

Original Poster
Rep: Reputation: 0
Use to have auto-login

The drama continues.

When I boot up to the KDE login screen and type in my username and password, I get an "Xsession - account is disabled". I have set it up so that my user account is supposed to auto-login.

I can login through a console prompt and then use startx for the KDE environment.

What do I need to do to straighten this out?
 
Old 01-25-2006, 11:25 PM   #5
jnewby72
LQ Newbie
 
Registered: Sep 2005
Distribution: SUSE Linux 9.3
Posts: 6

Original Poster
Rep: Reputation: 0
Answered my own question

I ended up creating a new user. I then set that user up through the Login Manager to automatically login. I'll copy any settings and data files that I need over to the new users home directory and change the ownership of the files. Didn't exactly fix the problem, but I found a way around it.

Thanks again paragn for helping me find my files. I was absolutely freaking out!
 
  


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
Lost home directory and problems starting KDE (SUSE 9.3) Jongi SUSE / openSUSE 3 10-19-2005 01:26 AM
home directory files gone, hidden files remain Grasshopper Linux - Security 12 04-10-2005 08:23 PM
How to permanently set permissions on all files created in a directory? BrianK Linux - General 8 06-24-2004 04:06 PM
What are core files in the users home directory draven Linux - Newbie 3 03-07-2004 09:56 PM
Sharing files not in Home directory tomsa Linux - Networking 0 07-22-2003 03:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:51 AM.

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