LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
LinkBack Search this Thread
Old 05-20-2007, 07:33 AM   #1
tvilberg
LQ Newbie
 
Registered: Feb 2006
Posts: 6

Rep: Reputation: 0
Angry Lost Desktop files and settings


I was logged on to my user account with Gnome Desktop. Next I plugged in two USB drives and ran partimage as root --- I was creating a backup of one usb-drive's partition on the other. Unfortunately, I sent the image to my internal drive. The drive, not surprisingly, filled to capacity (and, that is "root" capacity).

When I rebooted, the machine wouldn't let me log in --- it turned out that the disk was full. In the meantime I thought the error was a password error, so I logged on as root (in a terminal) and changed the user password that I was using.

Later, when I discovered that the problem was a memory error, I logged on as root and deleted the offending, very large, file.

OK, here is the problem. When I now log on (as "tom") I no longer see Gnome as it was configured. Nor are any of the former files that were on the old desktop there. And, I don't have my desktop wiki ("tomboy") where I kept all sorts of information.

Soooo, I need to know if there is any way to recover those files and settings.
 
Old 05-20-2007, 09:28 AM   #2
PlancksCnst
Member
 
Registered: Sep 2006
Posts: 34

Rep: Reputation: 15
It is possible that the tom's home directory got chagned. Log in as root, go to /home/ see what directories are there. If there is a /home/tom/ directory, take a look at the files in there to see if they are still there. If they are, you can try
Code:
usermod -d /home/tom/ tom
Then log in as tom.
 
Old 05-20-2007, 10:48 AM   #3
tvilberg
LQ Newbie
 
Registered: Feb 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Angry

Quote:
Originally Posted by PlancksCnst
It is possible that the tom's home directory got chagned. Log in as root, go to /home/ see what directories are there. If there is a /home/tom/ directory, take a look at the files in there to see if they are still there. If they are, you can try
Code:
usermod -d /home/tom/ tom
Then log in as tom.

Nope. The files that are there are all empty --- things like Desktop. So I suspect that the originals were stepped on. Any thoughts on how to locate deleted files (if they WERE deleted)?
 
Old 05-21-2007, 07:50 AM   #4
tvilberg
LQ Newbie
 
Registered: Feb 2006
Posts: 6

Original Poster
Rep: Reputation: 0
See some content using grep

I CAN see content from a lost file if I

grep -a -B2 -A200 "Hi mum" /dev/sda1

so I know the underlying file(s) is (are) there.
 
Old 05-21-2007, 02:26 PM   #5
tvilberg
LQ Newbie
 
Registered: Feb 2006
Posts: 6

Original Poster
Rep: Reputation: 0
See some content using grep

I CAN see content from a lost file if I

grep -a -B2 -A200 "Hi mum" /dev/sda1

so I know the underlying file(s) is (are) there.
 
Old 05-21-2007, 02:27 PM   #6
tvilberg
LQ Newbie
 
Registered: Feb 2006
Posts: 6

Original Poster
Rep: Reputation: 0
content

And the content CAN be recovered is tiny snippets.
 
  


Reply

Tags
disk full, file recovery, gnome, settings


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Beryl settings lost EYEdROP Linux - Software 7 05-10-2007 08:45 AM
Lost KDE .desktop settings ...in bad shape... wombat53 Slackware - Installation 6 06-06-2005 12:35 AM
Stop settings been lost? adriandaz DamnSmallLinux 4 06-26-2004 03:28 AM
Lost settings trickychicken General 19 05-10-2003 05:04 AM
Kmail has lost my settings! Paul_Lee Linux - Newbie 6 08-19-2002 02:39 PM


All times are GMT -5. The time now is 03:12 AM.

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