Results 1 to 3 of 3
I am using kubuntu 10.04..i am a new guy here..
i unfortunately removed all my files from /home folder..
rm -rf ~ /. picasa / (ya..i know..)
As some of ...
- 09-15-2010 #1Just Joined!
- Join Date
- Jun 2010
- Posts
- 2
cant login to console using ctrl+alt+f1
I am using kubuntu 10.04..i am a new guy here..
i unfortunately removed all my files from /home folder..
rm -rf ~ /. picasa / (ya..i know..)
As some of the files were really important i tried recovering data using foremost..i used the command
foremost -i /dev/sda1 -o /mnt/foremost
After execution of this command it prompted 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...
but the problem is when i type (ctrl+alt+f1) i am getting a black screen only...and just a cursor blinking..nothing else..ctrl+alt+f1-f6 give me the same result..and when i try (ctrl+alt+f7) it goes back to the screen with the error....how can i login to console now...
Thanking you in advance
Harif..
- 09-16-2010 #2
Let me see if I understand this. You are saying that you have no space left on your root partition because of a recovery operation that went wrong?
If that is so, you need to become root to delete some stuff. If you can't log in as root, you will have to boot into single-user mode. When the GRUB menu comes up, is there a single-user option on the menu? If there is, use it. If not, highlight your usual option, press "e" to edit it, add the word "single" and press RETURN to boot.
Once you have got rid of the foremost file that caused the problem, people can help you work out some way of getting back your data. Of course if you think that the file contains useful data, you might want to copy it onto a cdrom before deleting it.
If it's any comfort to you, we've all done the unwanted global delete at some point. Afterwards you do regular back-ups!"I'm just a little old lady; don't try to dazzle me with jargon!"
- 09-16-2010 #3
Just to add to what hazel said, it is important to not write to the partition from which you did your deleting. Depending on how much data you deleted it may be worth buying a cheapish exteranl drive and trying to recover your data to that; after which you have your backup device ready to go
It is also probably worth booting a live CD to attempt recovery.
I use Ubuntu and the back up software that I swear by is back-in-time which is available in the repositories. I think it is so good, I recommend it to everybody!
And yes, we have all deleted the wrong folder, formatted the wrong partition or pulled out a power cable while writing a partition table. Some of us have done all of those
If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.


Reply With Quote