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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-16-2004, 06:28 PM
|
#1
|
Member
Registered: Jul 2004
Distribution: Fedora Core 2
Posts: 79
Rep:
|
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?
|
|
|
08-16-2004, 06:49 PM
|
#2
|
Member
Registered: Jul 2003
Location: Canada
Posts: 214
Rep:
|
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.
|
|
|
08-16-2004, 07:01 PM
|
#3
|
Member
Registered: Jul 2004
Distribution: Fedora Core 2
Posts: 79
Original Poster
Rep:
|
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.
|
|
|
08-16-2004, 07:07 PM
|
#4
|
Member
Registered: Jul 2003
Location: Canada
Posts: 214
Rep:
|
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.
|
|
|
08-16-2004, 09:04 PM
|
#5
|
Member
Registered: Jul 2004
Distribution: Fedora Core 2
Posts: 79
Original Poster
Rep:
|
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.
|
|
|
08-17-2004, 11:27 AM
|
#6
|
Member
Registered: Jul 2003
Location: Canada
Posts: 214
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 02:18 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|