LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   trouble recovering files with knoppix cd (http://www.linuxquestions.org/questions/linux-general-1/trouble-recovering-files-with-knoppix-cd-542641/)

lunaz 04-02-2007 08:57 AM

trouble recovering files with knoppix cd
 
my friend's laptop decided to not boot windows anymore so i put a knoppix cd in to get her files from hda1 to an external hard drive. when hda1 mounted it said something about a dirty partition, what's that mean &how can i find out what one it is? she uses a compaq laptop.

recovery wasn't going too well cuz i was getting error about unable to write <filename> i read it could be permission, but both drives were read/write. i tried a flash drive next & i'm not real sure it's getting all the contents of folders.

i've never had to do this before so what could i be missing/need to know?

DarkoX 04-02-2007 06:12 PM

Recovery & Knoppix
 
Dirty means that there are filesystem errors on disk.
Is it ntfs or FAT32 partition?Normaly,you can fix it by the help of windows xp instalation disk using recovery
console typing command chkdsk /r.(Or better, put disk in some other computer with XP).You must know Administrator password. chkdsk /r could fix the system.
You can also try to save data with Knoppix.If you access to disk from Knoppix Desktop as normal user,you can't write to disks(read-only file system).You have to open console and type su.After that, type mount /dev/hda1.And on the same way mount your external disk.
Now type command mount to see where they are
mounted.
Usually acces point to that disks is folder /media.
Now type mc .By the help of that program You can copy all files from one to other disk.
I'm not sure,does knoppix have some tools to fix dirty ntfs filesystem,but for fat32 there is command dosfsck .
Is your external disk also ntfs?If yes,than you could have some problems to copy data.It's better to make backup on FAT32.


All times are GMT -5. The time now is 03:37 AM.