Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Knoppix Help Forum > Please help - Using Knoppix after WinXP hdd crash

Forgot Password?
 Knoppix Help Forum   For all discussions about Knoppix, the Linux "Live CD" that lets you run Linux without needing to install on your hard drive.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 02-27-2005   #1 (permalink)
Just Joined!
 
Join Date: Feb 2005
Posts: 3
Please help - Using Knoppix after WinXP hdd crash

Hello ! Iīm a linux newbie and have the following problem:
I am running a Windows XP system with a 160 Gb HDD, a primary partition and an extended partition. A few weeks ago the HDD stopped working and started making 'funny noises' (not really that funny, however). I was not able to start Windows, and installing the HDD into another Windows System showed the Harddisk working only sporadically, giving only short glimpses on my valuable data (including digital images from my newborn daughter whose backup I had planned for next week...)

Upon a hint from a friend I used the knoppix CD, and lo and behold! I was able to access the hard disk again. Every now and then the hdd produced 'funny noises' again, especially when I try to access certain files, but I was able to recover most of my important files from the primary partition (including all but five of the images of my baby daughter ). It was a real drag to burn them to DVD in a system with only one CD-ROM, but even this worked after a while (which isn`t too bad for a linux newbie, I guess ).

What I have not been able to figure out is how to mount the extended partition which contains also some rather important data. Every time I try to mount hdd5 I get the "wrong fs type, bad option or bad superblock" error message. Partimage doesnīt work either. I am still working under the assumption that the real hardware error is in the primary partition. So the question is:

- Am I missing something ? Do I have to do something special to mount an ntfs extended partition (as opposed to a primary partition) ?
- Or is the extended partition completely shot ? Can I try to repair the partition table ? Can I 'force mount' ntfs somehow using fdisk data ?
- Is there an easy-to-use method to read the raw data from the ntfs partition (on the Knoppix CD) ? (Short of dd which I donīt really know how to work with and also poses the problem of a 120 GB partition trying to copy towards a 120 GB HDD which is the only one currently available to me.)

I have searched the web for ntfs data recovery software, but I donīt even know how to install it under the Knoppix environment. Any help would be greatly appreciated. Thank you (for even reading until this point )
Falstaff is offline  


Reply With Quote
Old 02-27-2005   #2 (permalink)
Linux Guru
 
dylunio's Avatar
 
Join Date: Aug 2004
Location: Cymru
Posts: 4,157
I don't think you can mount extended partitions (since they are not data storeing partitions, they only give space for logical partitions), so the best advice I can give is to mount with the logical partition, try /dev/hda6?

Also try as tell the fs type with
Code:
mount -t ntfs /dev/hda5 /mnt/{name}
replaceing {name} with the mountpoint name.

dylunio
__________________
Registered Linux User #371543!
Get force-get May The Source Be With You
/dev/null
/dev/null2
dylunio is offline   Reply With Quote
Old 02-27-2005   #3 (permalink)
Just Joined!
 
Join Date: Feb 2005
Posts: 3
dylunio: thanks for the prompt reply !

Rereading my earlier post I realize that I didnīt express myself correctly: hdd5 is the (single) logical partition, hdd2 is the extended partition containing hdd5. I tried mounting both (including -t ntfs) to no avail.

Does that mean the partition is shot ? If yes, any suggestions ?
Falstaff is offline   Reply With Quote
Old 02-27-2005   #4 (permalink)
Linux Guru
 
dylunio's Avatar
 
Join Date: Aug 2004
Location: Cymru
Posts: 4,157
Falstaff, it does seem that that partition is shot, you might want to run a disk fitness check if this is true, check out this, this will create a floppy diskette which you boot up from and then run the test program (be warned, the same program can be used to wipe a drive, but you are warned many times before it does so).

I'm not sure about any other advice I can give you,

dylunio
__________________
Registered Linux User #371543!
Get force-get May The Source Be With You
/dev/null
/dev/null2
dylunio is offline   Reply With Quote
Old 03-09-2005   #5 (permalink)
Just Joined!
 
Join Date: Mar 2005
Location: Sydney, Australia
Posts: 5
Send a message via ICQ to changlinn
I don't think his partition is shot, I can mount drives where the actual head has crashed onto the disc, that doesn't mean I can read it, the error your getting sounds like an error in the mount command...
changlinn is offline   Reply With Quote
Old 03-09-2005   #6 (permalink)
Just Joined!
 
Join Date: Feb 2005
Posts: 3
Well, thanks for all the helpful suggestions.

I do indeed think my partition is shot: I tried running dd_rescue on hdd5 and it stopped after approx. 1 GB, showing the usual symptoms: clicking hdd, not responsible to any command. Trying to start dd_rescue at several later position gave a picture of unreadable blocks (and crashing hdd) every 2-3 GB or so. At first I had planned to reconstruct an image file of the disk, filling the crashed sectors with zeroes - but after seeing this pattern I just gave up.

I'm happy having been able to recover most of my important files from the primary partition thanks to the Knoppix CD (although the secondary partition contained my precious collection of 'Allo 'Allo Series 5 & 6 ) I have sent for a replacement under warranty (Samsung at least gives 3 years manufacturers warranty even if their HDD are c**p) and so am well out of it...
Falstaff is offline   Reply With Quote
Old 04-19-2005   #7 (permalink)
Just Joined!
 
Join Date: Apr 2005
Posts: 1
Might be a little late now, but make sure your logged in as root by using the su command. Might sound silly but I sometimes forget to switch to root.
tom_j is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 04:28 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2