LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 11-11-2004, 02:53 PM   #1
farrooda
LQ Newbie
 
Registered: Nov 2004
Location: Lebanon
Distribution: Fedora Core 5
Posts: 11

Rep: Reputation: 0
Cannot Access NTFS partition from linux


Hello,
I have windows xp installed and I have just installed Fedora Core 2 on an ext3 partition
I have 2 NTFS partition,which I cannot access from linux but I can still boot win xp and access NTFS
how could I access my NTFS partitions from Fedora,please help.
 
Old 11-11-2004, 03:11 PM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there

2 options

1. either compile ur kenrle with NTFS support
2. or visit linux-ntfs.sourceforge.net
to install the modules

regards
 
Old 11-12-2004, 05:04 AM   #3
farrooda
LQ Newbie
 
Registered: Nov 2004
Location: Lebanon
Distribution: Fedora Core 5
Posts: 11

Original Poster
Rep: Reputation: 0
I have installed the package,but I still can't see my ntfs partition under Devices
what shall I do?
please help me
 
Old 11-12-2004, 05:53 AM   #4
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
what do u mean?

did u try
fdisk -l
from root?
 
Old 11-12-2004, 06:18 AM   #5
farrooda
LQ Newbie
 
Registered: Nov 2004
Location: Lebanon
Distribution: Fedora Core 5
Posts: 11

Original Poster
Rep: Reputation: 0
yes they are listed,but isn't there a GUI in order to access these drives just like other partitions?
 
Old 11-12-2004, 06:38 AM   #6
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
send the fdist -l report and i'll tell you what to do
 
Old 11-12-2004, 06:53 AM   #7
farrooda
LQ Newbie
 
Registered: Nov 2004
Location: Lebanon
Distribution: Fedora Core 5
Posts: 11

Original Poster
Rep: Reputation: 0
There you go


Disk /dev/hdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 5099 40957686 7 HPFS/NTFS
/dev/hdb2 5100 9728 37182442+ f W95 Ext'd (LBA)
/dev/hdb5 5100 8326 25920846 7 HPFS/NTFS
/dev/hdb6 8327 8339 102280+ 83 Linux
/dev/hdb7 8339 9598 10110712+ 83 Linux
/dev/hdb8 9598 9728 1048288+ 82 Linux swap
 
Old 11-12-2004, 07:12 AM   #8
Junior41180
Member
 
Registered: Dec 2003
Location: Florida
Posts: 157

Rep: Reputation: 30
you did load the modules right? and i believe unless you set the to be used on startup, you will have to load them each time you enter linux.

modprobe ntfs will load it iirc. it may even set it to load at startup. i don't really know.
 
Old 11-12-2004, 07:17 AM   #9
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
OK lets see:

your 2 NTFS patitions are hdb1 and hdb5

first of all make 2 directories in mnt/ under which you want yr partitions to be mounted.
for example:

mkdir /mnt/win_C
mkdir /mnt/win_D

you may name them how ever you like.

then edit /etc/fstab and put those to lines:

/dev/hdb1 /mnt/win_C ntfs utf8,ro,umask=0222 0 0
/dev/hdb5 /mnt/win_D ntfs utf8,ro,umask=0222 0 0

this tells your system that hdb1,hdb5 should be mounted as ntfs partitions, under /mnt/win_C,mnt/win_D.
ro means read-only (under linux ntfs write is not supported)
utf8 means use unicode. (you may ommit that if you want)
umask=0222 means every file should have read-execute permitions.

then do:

mount -a

and access yr drives,with any browser you like. they should be under /mnt/win_C or D.

Every time you reboot the drives will be automatically mounted. (you won't need the mount command again)
if you don't want that then add the noauto option.

istalling the rpm will load the ntfs-support module. I'm pretty sure about that.
 
Old 11-12-2004, 08:07 AM   #10
b1gfunn
LQ Newbie
 
Registered: Nov 2004
Location: Muncie Indiana
Distribution: FC3
Posts: 8

Rep: Reputation: 0
wow.. i wasnt even looking for this info, but this will help when i get home Thanks!!
 
Old 11-12-2004, 08:35 AM   #11
farrooda
LQ Newbie
 
Registered: Nov 2004
Location: Lebanon
Distribution: Fedora Core 5
Posts: 11

Original Poster
Rep: Reputation: 0
mount: fs type ntfs not supported by kernel
mount: fs type ntfs not supported by kernel

by the way,installing what rpm?
 
Old 11-12-2004, 08:55 AM   #12
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
hAVE YOU visited visit linux-ntfs.sourceforge.net?

go tohttp://linux-ntfs.sourceforge.net/rpm/fedora2.html

go to the instructions,
download the whichrpm script to decide which rpm you need.
and type :

bash whichrpm

then download the suitable rpm
and type

rpm -ihv <the rpms name you just downloaded>

for example

rpm -ihv kernel-ntfs-2.6.5-1.358.i686.rpm

After that try again:

mount -a
 
Old 11-12-2004, 08:59 AM   #13
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
maybe after installing the rpm you need to do
/sbin/modprobe ntfs

or just reboot

I was wrong about automatically loading the module with the installation
 
Old 11-12-2004, 09:24 AM   #14
farrooda
LQ Newbie
 
Registered: Nov 2004
Location: Lebanon
Distribution: Fedora Core 5
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks perfect_circle everything works fine, in fact I had the wrong rpm version installed
Thanks very much!
 
  


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
NTFS partition access rr_rr_29 Linux - Hardware 1 10-17-2005 04:59 AM
how 2 access my ntfs partition jamie7676 Red Hat 3 03-31-2005 12:27 PM
How to access NTFS partition? silvershani Linux - Software 1 02-26-2005 07:16 AM
NTFS access Linux partition unixbrain Linux - General 2 12-28-2004 08:57 AM
Can't access NTFS partition unless I'm root? Ilushka Linux - General 11 03-10-2004 02:28 PM

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

All times are GMT -5. The time now is 11:43 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