LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-15-2010, 01:13 AM   #1
harif.konndeth
LQ Newbie
 
Registered: Sep 2010
Location: Qatar
Distribution: Kubuntu
Posts: 5

Rep: Reputation: 0
removed all the files from /home folder.tried recovering with foremost.xsession erro


HI,

i am a new guy here..i unfortunately removed all my files from /home folder

rm -rf ~ /. picasa /

As some of the files were important i tried recovering data using foremost..i used the command

foremost -i /dev/sda1 -o /mnt/foremost

Then there started a process..it was downloading something..and i left the computer for an hour or so..when i return there was nothing on screen..so i reloaded the system..And after that when i try to login i get the error

"xsession: warning: unable to write to /tmp; xsession may exit with an error"..so when i googled for it i found its because there is no memmory in my /root ..so i tried login via console (tried ctrl+alt+f1..after the login screen appears..when i type ctrl+alt+f1 i get a black screen)..but nothings happening...

how can i login via console..can my datas be recovered...

thanking you..
Harif
 
Old 09-15-2010, 01:21 AM   #2
harif.konndeth
LQ Newbie
 
Registered: Sep 2010
Location: Qatar
Distribution: Kubuntu
Posts: 5

Original Poster
Rep: Reputation: 0
whe i get the xsession error there is a OK button...when i click it ther e wil be a black screen...nothing happens other than that..
 
Old 09-15-2010, 02:24 AM   #3
harif.konndeth
LQ Newbie
 
Registered: Sep 2010
Location: Qatar
Distribution: Kubuntu
Posts: 5

Original Poster
Rep: Reputation: 0
getting frustrated.......

when i try to login via console (ctrl+alt+f1..it goes to a black screen)..nothing happens..just a cursor blinking....
 
Old 09-15-2010, 10:28 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 11,792
Blog Entries: 13

Rep: Reputation: 2947Reputation: 2947Reputation: 2947Reputation: 2947Reputation: 2947Reputation: 2947Reputation: 2947Reputation: 2947Reputation: 2947Reputation: 2947Reputation: 2947
If you have access to another computer, try downloading Knoppix, burning a Knoppix CD and booting the problem computer to the CD.

With Knoppix, you should be able to mount the computer hard drive and look at its contents and, if necessary, copy them to other media.

Knoppix is the go-to distro for rescue.
 
Old 09-15-2010, 11:21 PM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,131
Blog Entries: 2

Rep: Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833
Do you have run foremost on the system on that you have lost your data or from a live cd? If you have done from the installed system chances are high that you destroyed your data in a not recoverable way. You can try to recover your data from a live cd with a forensic toolkit, like grml, but you have to know what to do. If the data is really important, do not try any more recovery, but give your harddisk to a specialist for data recovery.
I would recommend to backup your data in future.
 
Old 09-16-2010, 06:24 AM   #6
harif.konndeth
LQ Newbie
 
Registered: Sep 2010
Location: Qatar
Distribution: Kubuntu
Posts: 5

Original Poster
Rep: Reputation: 0
All other files are not that important..There is some open office files ,spreadsheets related to accounts..I am trying to recover data using live CD...i think foremost does not recover open office files...

any help..Thanx in advance
 
Old 09-16-2010, 06:48 AM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,131
Blog Entries: 2

Rep: Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833
Try photorec, despite its name it is able to recover many file formats, not only photos. It is part of the testdisk package.
 
  


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
can I put my home folder on a partition with unrelated files? newbiesforever Linux - Software 6 07-13-2010 11:48 PM
remove root files from my home folder Levi Gruber Linux - Newbie 3 04-01-2010 09:39 AM
Don't know what to do with files in home folder after installation etrece Linux - Newbie 2 10-12-2007 02:32 PM
Recovering Data Using Foremost and Knoppix Nuvious Linux - Security 1 05-17-2006 04:36 PM
(cache?) files appearing in home folder? Lordandmaker Linux - Newbie 4 03-22-2006 09:27 AM


All times are GMT -5. The time now is 12:09 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