LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-23-2005, 10:49 AM   #1
teto
LQ Newbie
 
Registered: Oct 2005
Distribution: Fedora Core
Posts: 6

Rep: Reputation: 0
seeing/reading ntfs/fat32 partitions from linuxFC4


i saw and read the other posts abowt reading ntfs and so on but it still doesn't work, i've got Fedora Core 4 installed on my PC, no updates, no nothing and i would trully aprichiate a detalied answer, step by spep, as detalied ace possible
 
Old 10-23-2005, 10:56 AM   #2
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
Hello,
you should have stated that upto how much u know about the topic and what problems are you facing. That will be better for people to help you out.

regards
 
Old 10-23-2005, 11:04 AM   #3
JRR883
Member
 
Registered: Aug 2005
Location: God's barf bag
Distribution: Ubuntu 7.04 (Feisty Fawn)
Posts: 86

Rep: Reputation: 15
I'm also using FC4 and had trouble reading NTFS/Fat32. This is what I did.

1: Open a console, log into root. Type yum -y install kernel-module-ntfs-2.6.12-1.1398_FC4 (substitute 2.6.12-1.1396 for the kernel version you're using)
2: Type mount /dev/hda1 /media/Windows with hda1 being the partition you wish to view and /media/Windows being the folder you want your Windows partition to be in.

That's it.
 
Old 10-23-2005, 11:40 AM   #4
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
Hello,
i do not have idea of accessing it using "yum".
in older ( and still in few of the current ) distros it is required to compile the kernel in order to get access to NTFS patition.
( may be "yum" is taking care of it )

and the command to mount it is:

# mount -t ntfs /dev/hdx /mnt/dir

where 'x' could be a/b/c/d.
and "dir" is the directory you should make before running this command.

regards
 
Old 10-23-2005, 03:54 PM   #5
teto
LQ Newbie
 
Registered: Oct 2005
Distribution: Fedora Core
Posts: 6

Original Poster
Rep: Reputation: 0
it's hard teaching a newbie

first for ruudra, i did what u said and:


[root@localhost Teto]# mount -t ntfs /dev/hda1 /mnt/windows
mount: unknown filesystem type 'ntfs'
(windows directory is created)


for jrr883, i did yum -y install kernel-module-ntfs-2.6.12-1.1398_FC4 and it seemd that it worked
but :

[root@localhost Teto]# mount /dev/hda1/media/Windows
mount: can't find /dev/hda1/media/Windows in /etc/fstab or /etc/mtab


??????
 
Old 10-24-2005, 05:55 AM   #6
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
Re: it's hard teaching a newbie

Quote:
Originally posted by teto
first for ruudra, i did what u said and:


[root@localhost Teto]# mount -t ntfs /dev/hda1 /mnt/windows
mount: unknown filesystem type 'ntfs'
(windows directory is created)

If its the case then you will have to re-compile the kernel in order to make it understand what "ntfs" is.
or
do it if u can using "yum".

Note: Since you have read a lot on this......so must be knowing that you will be able to only "read" the ntfs partition. Writing to it is still not supported ( or better to say "its not safe" )

regards
 
Old 11-04-2005, 02:42 AM   #7
stephenwalter
Member
 
Registered: Jul 2005
Location: india,coimbatore
Distribution: Fedora core 4
Posts: 85

Rep: Reputation: 15
hi,
I too have installed FC4 and iam able to mount ntfs partitions. Its simple just type uname -a and check for ur procesor series and other info and make sure u down load the correct rpm for me uname -a gave something like

Linux homemachine 2.6.11-1.1369_FC4 #1 Thu Jun 2 22:55:56 EDT 2005 i686 i686 i386 GNU/Linux

means i have to download rpm for i686 processor and also make note of the kernel version and download the correct one. I think if u follow the link below u might find some useful info

http://linux-ntfs.sourceforge.net/rpm/instructions.html

The instructions above made it work exactly , no hussles nothing.

Regards
Suresh Stephen
 
Old 11-04-2005, 02:47 PM   #8
Hirszu
Member
 
Registered: Mar 2005
Distribution: Ubuntu 7.10
Posts: 40

Rep: Reputation: 15
Re: it's hard teaching a newbie

Quote:
Originally posted by teto
for jrr883, i did yum -y install kernel-module-ntfs-2.6.12-1.1398_FC4 and it seems that it worked
but :

[root@localhost Teto]# mount /dev/hda1/media/Windows
mount: can't find /dev/hda1/media/Windows in /etc/fstab or /etc/mtab
That's normal, that it won't work. Look, where can it find "/dev/hda1/media/windows"? You've forgot a space (must be "mount /dev/hda1 /media/windows").

If it won't work, then I don't know more...
 
Old 11-26-2005, 11:18 PM   #9
Wheat_Thins
Member
 
Registered: Nov 2005
Location: Michigan
Distribution: Primary: Ubuntu 8.10
Posts: 94

Rep: Reputation: 15
Ok, now how do I access this partition that I have setup from within the gui without being Root???!?!?!

I can see the partition after installing the ntfs RPM, but can only access my NTFS through terminal logged in as root?
 
Old 11-27-2005, 11:11 AM   #10
Hirszu
Member
 
Registered: Mar 2005
Distribution: Ubuntu 7.10
Posts: 40

Rep: Reputation: 15
You need to add/change a line in /etc/fstab. That line is:
Code:
(your Windows partition, for example /dev/hda1)               (your mount point, for example /mnt/winC)          (vfat/ntfs, choose your FS)    uid=(your UID),gid=(your GID),users 0 0
For me works cool.

Last edited by Hirszu; 11-27-2005 at 11:14 AM.
 
Old 11-27-2005, 11:51 AM   #11
Wheat_Thins
Member
 
Registered: Nov 2005
Location: Michigan
Distribution: Primary: Ubuntu 8.10
Posts: 94

Rep: Reputation: 15
Quote:
Originally posted by Hirszu
You need to add/change a line in /etc/fstab. That line is:
Code:
(your Windows partition, for example /dev/hda1)               (your mount point, for example /mnt/winC)          (vfat/ntfs, choose your FS)    uid=(your UID),gid=(your GID),users 0 0
For me works cool.
Ok,

With using the same line you are I can now see the drive along with my other drives when I click on computer. Now when I am double clicking on the drive I get a error window that says:

The folder contents can not be displayed-
You do not have the permissions necessary to view the contents of "Windows".

I get this even with my UID and GID in the ftstab file for mounting just like you did.
 
Old 11-27-2005, 12:06 PM   #12
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
I answered something very similar to ths last night :S

Did you reboot after editing the fstab?

unount the drive then:

mount -t ntfs -o umask=000 /dev/hda1 /media/Windows
with whatever your drive/mount point is, that should get it working in the meantime.
 
Old 11-27-2005, 12:29 PM   #13
Hirszu
Member
 
Registered: Mar 2005
Distribution: Ubuntu 7.10
Posts: 40

Rep: Reputation: 15
Try editing the permissions of your mount directory. If it won't work, then I don't know.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Reading NTFS Partitions contrasutra Slackware 13 03-20-2006 03:01 AM
Need help reading NTFS partitions in SuSE 9.3 whjones SUSE / openSUSE 5 09-08-2005 12:32 PM
reading FAT32 partitions in FC3 Digital Surgeon Fedora - Installation 1 02-08-2005 05:20 PM
Writing to FAT32 and reading from NTFS in FC2 dysfunction Linux - Hardware 5 11-04-2004 04:26 PM
Mounting and reading NTFS and FAT32 patitions Forezt Linux - Software 10 02-25-2004 02:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration