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 > ntfs-3g

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
Closed Thread
 
Thread Tools Display Modes
Old 03-01-2007   #1 (permalink)
Just Joined!
 
Join Date: Feb 2007
Posts: 8
ntfs-3g

How do I run ntfs-3g - I am using a Knoppix 5.1.1 on a CD and want to get into my windows system files to try & fix a WinXP crash -- Bruce
brucebd is offline  


Old 03-01-2007   #2 (permalink)
Linux Guru
 
antidrugue's Avatar
 
Join Date: Oct 2005
Location: Montreal, Canada
Posts: 3,213
As ntfs-3g is part of Knoppix 5.1.1, you can simply mount your Windows partition like that :
Code:
sudo ntfs-3g /dev/hda1 /mnt/windows -o umask=0,nls=utf8
or something similar.

More details here :
http://technowizah.com/2006/11/debia...g-to-ntfs.html
__________________
"To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

-Bruce Lee
antidrugue is offline  
Old 03-01-2007   #3 (permalink)
Linux User
 
Oxygen's Avatar
 
Join Date: Jul 2004
Location: Hartlepool, England
Posts: 390
Send a message via Skype™ to Oxygen
Code:
mount -t ntfs-3g -o defaults,nls=utf8,umask=007 /dev/whatever /your/mount/point
Or add the following to "/etc/fstab".

Code:
/dev/whatever /your/mount/point ntfs-3g defaults,nls=utf8,umask=007 0 1
__________________
Graham - You'd better Use Linux!

I'm registerd Linux user #397030. What about you?
Oxygen is offline  
Old 03-01-2007   #4 (permalink)
Just Joined!
 
Join Date: Feb 2007
Posts: 8
ntfs-3g

Thanks for advice - typed in "sudo ntfs-3g /dev/hda1 /mnt/windows -o umask=0,nls=utf8" and get "failed to mount ' /dev/hda1' : Operation not supported. Mount is denied because NTFS is unclean. Choose: Boot windows & shutdown it cleanly OR Run 'ntfsfix@ on Linux then mount NTFS with force option read-write or with 'ro' option read only OR mount NTFS volume with -ro option in read only ????
What does all this mean?? I'm totally new to Linux - what is next move?? Bruce
brucebd is offline  
Old 03-02-2007   #5 (permalink)
Linux Guru
 
antidrugue's Avatar
 
Join Date: Oct 2005
Location: Montreal, Canada
Posts: 3,213
/dev/hda1 was just an example, your actual Windows partition may differ.

Code:
sudo fdisk -l
will tell you which of the partitions is the NTFS one.
__________________
"To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

-Bruce Lee
antidrugue is offline  
Old 03-02-2007   #6 (permalink)
Just Joined!
 
Join Date: Feb 2007
Posts: 8
ntfs-3g

Thanks - the /dev/hda1 is the windows partition ntfs drive that I'm trying to write to - it is the one with all of the WinXP files - any other ideas? Bruce
brucebd is offline  
Old 03-02-2007   #7 (permalink)
Linux Guru
 
antidrugue's Avatar
 
Join Date: Oct 2005
Location: Montreal, Canada
Posts: 3,213
Ok, then I believe there is a "force" option just for that :
Code:
sudo mount -t ntfs-3g /dev/hda1 /mnt/windows -o force,user,umask=0,nls=utf8
__________________
"To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

-Bruce Lee
antidrugue is offline  
Old 03-02-2007   #8 (permalink)
Just Joined!
 
Join Date: Feb 2007
Posts: 8
ntfs-3g

I've tried using the "force" and get the same message as before. Just to check that I'm doing it correctly I open the shell console window & then after knoppix@knoppix:~$ I type as suggested?? What next? I have a feeling that I may not be able to achieve the writing to windows with this - Bruce
brucebd is offline  
Old 03-02-2007   #9 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, India
Posts: 21,081
Send a message via Yahoo to devils casper
its not possible to mount corrupted NTFS partition. problem is in Partition Table only.
does output of 'fdisk -l' display any message related to 'partition out of boundary' or something like that?
post the output of 'fdisk -l' command here.






Casper
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein
New Users: Read This First
devils casper is offline  
Old 03-02-2007   #10 (permalink)
Just Joined!
 
Join Date: Feb 2007
Posts: 8
ntfs-3g

OK tried tying in fdisk -l /dev/hda1 and got,
Disk /dev/hda1: 61.4GB
16 heads, 63 sectors/track, 119132 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
This doesn't look like a partition table
Probably you selected the wrong device
Device Boot Start End Blocks ID System
/dev/hda1p1 ? 216399 1904881 850995205 72 Unknown
Partition does not end on cylinder boundary
This is repeated for p2, p3 & p4 and finally says
Partition table entries are not in disk order

Hope this helps - Bruce
brucebd is offline  
Closed Thread


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 07:08 AM.






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

Content Relevant URLs by vBSEO 3.3.0 RC2