Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-18-2008, 02:57 AM   #1
Registered: Oct 2008
Posts: 82
Blog Entries: 1

Rep: Reputation: 15
Deletion of root directory by error

I have entered the following commands by error and the system has crashed

rm -rf /Cache1 /Cache2 /

Actually /Cache1 and /Cache2 were the two partitions created at the time of installation and / was given by error in the above command.

No command e.g ls, cp etc is not working.

please help me.
Old 10-18-2008, 03:20 AM   #2
Senior Member
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
The only thing I can think of is to mount the HD in another computer as read-only, then use software to recover as many files as you can. Obviously you may need yet another HD for that job. If you have a system backup, the quickest thing to do is reinstall the system and restore from backup.


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
restoring desktop directory in /root (or any home directory) mel_lai Linux - Newbie 3 02-04-2008 04:13 AM
mount point invalid for root directory error during Fedora setup tm2383 Fedora 1 11-01-2006 07:33 PM
deletion of a recursive directory? captainnico Linux - Software 9 02-04-2006 06:52 AM
Boot Error: Root file system /dev/root adtomar Linux - Networking 0 12-27-2004 11:50 AM
root login incorrect ,then passwd root,but error sunnycn Linux - Security 6 05-20-2002 11:54 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:05 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration