LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 08-16-2004, 06:28 PM   #1
1337 Twinkie
Member
 
Registered: Jul 2004
Distribution: Fedora Core 2
Posts: 79

Rep: Reputation: 15
Exclamation accessing hard drive (Knoppix)


The hard drive onone of my PCs got fscked recently. Windows was installed, but then the hard drive got corrupted, and it won't boot. I was able to boot Knoppix and now I need to get to the busted drive to get some data off of it. During boot, knoppix found the drive, and mounted it. Now, how do I access it?
 
Old 08-16-2004, 06:49 PM   #2
peace
Member
 
Registered: Jul 2003
Location: Canada
Posts: 214

Rep: Reputation: 31
well, you need to mount it with the mount command.

For example:

mkdir /win
mount -t vfat /dev/hda1 /win

Where -t is the filesystem type.
 
Old 08-16-2004, 07:01 PM   #3
1337 Twinkie
Member
 
Registered: Jul 2004
Distribution: Fedora Core 2
Posts: 79

Original Poster
Rep: Reputation: 15
unfortunately, XP was installed by Compaq, so the drive is NTFS. Mounting gives a wrong fstype error, and the NTFS is certainly the root of the problem.

Samba seems to be included with Knoppix and there seems to be some utiltity for accessing Windows hard drives, but it needs to download some drivers from MS. Which of these is the right tool? Remember, the hard drive is non-bootable, so I can't uses it except through Knoppix.
 
Old 08-16-2004, 07:07 PM   #4
peace
Member
 
Registered: Jul 2003
Location: Canada
Posts: 214

Rep: Reputation: 31
I'm not sure about Samba, I don't know much about it. You should be able to mount your NTFS partition though, if you have NTFS support.

Most distros of Linux have NTFS support built-in, but RedHat is an exception. Fedora might be too.

There are RPMs to install (http://linux-ntfs.sourceforge.net/rpm/index.html) that should be the easiest fix for your problem.

Also make sure you are using '-t ntfs' once you have the RPM installed.
 
Old 08-16-2004, 09:04 PM   #5
1337 Twinkie
Member
 
Registered: Jul 2004
Distribution: Fedora Core 2
Posts: 79

Original Poster
Rep: Reputation: 15
I was able to mount the drive with captive-ntfs. Now, when I try to ls the new directory, I get " ls: .:Stale NFS file handle ", and there is nothing in the folder when I view it in Konquerer. BTW, I didn't download the Fedora RPM's because I am using Knoppix and it came with captive-ntfs.

Last edited by 1337 Twinkie; 08-16-2004 at 09:09 PM.
 
Old 08-17-2004, 11:27 AM   #6
peace
Member
 
Registered: Jul 2003
Location: Canada
Posts: 214

Rep: Reputation: 31
Hm.... Well according to this post here ( http://www.jankratochvil.net/piperma...er/000035.html ) by the author of Captive-NTFS:

"'Stale NFS file handle' generally means a crash of Captive process.
There should by always some error message in your '/var/log/messages' (syslogd) in the case of 'Stale NFS file handle'."

I didn't realize you were using Knoppix, sorry 'bout that... I believe SLAX (http://slax.linux-live.org/) has read-NTFS support and doesn't use Captive. It is only 185MB download and might be worth a try, if digging around the internet for whatever shows up in /var/log/messages doesn't help.

If you can get it working, post about it back here, I've used Captive and it has never given me a problem.
 
  


Reply



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
accessing second hard drive Damon Spector Linux - Hardware 1 04-23-2005 01:18 AM
Accessing USB Thumb Drive in Knoppix 3.7 jessjackson Linux - Newbie 0 02-14-2005 02:29 PM
Slow accessing Hard Drive tornado419 Linux From Scratch 3 07-19-2004 04:52 PM
Accessing windows hard drive eastsidecrew Linux - Newbie 4 04-20-2004 12:47 PM
cd-rom drive working in knoppix Hard drive installation dj_dubbbz Linux - Newbie 5 03-02-2004 10:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 11:16 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration