LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-17-2004, 09:56 AM   #1
vkrishn1
LQ Newbie
 
Registered: Aug 2004
Location: Chicago
Posts: 9

Rep: Reputation: 0
Deleted Folder


Hi,

I deleted a folder in my linux machine (did rm -rf) and I am trying to see if I can recover it.

I googled and found a lot of undelete tools but they all want me to unmount my drive.

I have a couple of questions
1) How can I list/see all my hard drives
2) If I have only one drive I cannot unmount it right? Is there any other way to recover the directory.

Appreciate your help.

Thanks
Vish
 
Old 11-17-2004, 10:27 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
Quote:
1) How can I list/see all my hard drives
become root, type 'fdisk -l'
Quote:
2) If I have only one drive I cannot unmount it right? Is there any other way to recover the directory.
Download and burn a LiveCD like Knoppix or use a rescue CD. If you have a Linux system running from CD, you can operate on your drive.
 
Old 11-17-2004, 10:35 AM   #3
ganja_guru
Member
 
Registered: Dec 2003
Location: Chennai, India
Distribution: Arch Linux 0.7
Posts: 393

Rep: Reputation: 30
try a
pico /etc/fstab to see all your drives(ie if they have been detected and set up properly)

maybe u could try a live cd like knoppix so that u can unmount ure drive..
what distro do u use?
 
Old 11-17-2004, 10:39 AM   #4
ganja_guru
Member
 
Registered: Dec 2003
Location: Chennai, India
Distribution: Arch Linux 0.7
Posts: 393

Rep: Reputation: 30
hey abisko00 u beat me to the post...! by the way vkrishn1 ,abisko00's fdisk -l method is much better than the pico /etc/fstab method..
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
INIT.D File deleted from /etc folder deepa_ram Linux - General 1 02-28-2005 10:54 AM
can't deleted a folder! santasballz Linux - Newbie 2 02-22-2004 12:03 AM
Deleted Pkg-config folder chalewa4bambu Linux - Software 0 02-19-2004 06:36 PM
HELP! I've deleted the /etc/httpd folder Neb Linux - Newbie 6 05-16-2003 07:29 AM
Deleted /boot folder awlad Slackware 9 02-21-2003 05:28 AM


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