![]() |
I deleted some files and and want them back
Hey so I'm running suse 10.2 dual boot with windows xp. I was in suse using konqueror to view my home folder and was trying to delete a file and accidentally selected a whole tone of stuff and shift-deleted it. Is there any way to get this stuff back?
-Ben |
http://www.linux.com/base/ldp/howto/...eletion-1.html
this howto is for an ext2 filesystem. I've never had the need to do it, but as far as I understand it, unless you zero a disk and you haven't let your OS overwrite any of the files yet,it should still be obtainable, how true this is I don't know... Good Luck!!! EDIT... Looks like you're going to need a LiveCD as you want the filesystem to be unmounted... |
Deleting these files deleted my desktop. Is there an easy way to get my desktop back or create a new one?
|
Blimey!! You have created a bit of a mess haven't you.. What exactly have you deleted, and what distro are you using... It might be better to do a clean install. I take it you haven't backuped!!
|
From the login screen, and with your drives normally mounted, hit CTRL+ALT+F1
Log in as root Code:
cp -Rf /etc/skel/* /home/myusername/ Hit CTRL+ALT+F7 (or F4, or F6, F7 or even F8, depending on what distro you're using - sorry, I don't use Suse and don't know how they do things) to get back to your log in screen. Then try to log in with your normal user name again. If your issue isn't solved, hit CTRL+ALT+BACKSPACE to restart X. It should throw you back out to the log in screen. hit CTRL+ALT+F1 to get to the VT (virtual terminal) logged in as root and do: Code:
rm -Rf /home/myusername/.* If you do all of this and still have problems, check /var/log/Xorg.0.log (or look for a file in that directory with "X" in it). To see the latest output, do: Code:
tail -80 /var/log/Xorg.0.log Hope this helps. If not, just post back here again. |
All times are GMT -5. The time now is 02:05 AM. |