Fedora Linux Support Community & Resources Center

Sections ›› Home | Forums | Guidelines | Forum Help | Fedora FAQ | Fedora News 

Go Back   FedoraForum.org > Fedora Support > General Support

General Support Fedora general support. Ask questions here that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2008-05-19, 09:44 AM CDT
sawson Offline
Registered User
 
Join Date: May 2008
Posts: 2
Fedora 9: Cannot access NTFS drives

I'm new to Linux and just installed Fedora 9, so I'm lost. In my computer, I do see my Windows NTFS drives but when I try to open them nothing comes up. I want to access my files w/ read/write capability on Windows NTFS drives from Fedora 9 Linux.

Help? Thanks.
Reply With Quote
  #2  
Old 2008-05-19, 09:49 AM CDT
hammel's Avatar
hammel Offline
Registered User
 
Join Date: May 2005
Location: Downforest, Confoederatio Helvetica
Posts: 210
You have to enable it in System -> Preferences -> System -> Authorizations -> storage.
__________________
Registered Linux User 406188
SmoltProfile
Reply With Quote
  #3  
Old 2008-05-19, 10:49 AM CDT
CraigWatson's Avatar
CraigWatson Offline
Registered User
 
Join Date: Jan 2008
Location: Witham, Essex, UK
Age: 22
Posts: 334
The way I have mine set up is though fstab mounting. This is just a quick run-through, all commands within "code" blocks should be run in a terminal window - any questions, just ask

First, enter root mode so you can run all commands, and then list all disks and partitions attached to the machine:
Code:
su -
[Your root password]
fdisk -l
Find the device ID of your NTFS partition - it will look something like "/dev/sda2", you can tell which is your Windows partition because it'll have "HPFS/NTFS" on the right-hand side.

Once you have that, make a folder for the drive to be mounted in (Linux doesn't have the concept of drive letters):
Code:
mkdir /mnt/windows
Then open /etc/fstab and add a line to mount the partition when you boot - the "umask=000" bit makes sure it's accessible to all users:
Code:
gedit /etc/fstab
[Make a new line and add the following:]
/dev/sda2		/mnt/windows		ntfs	umask=000,defaults	0 0
Give the machine a reboot and you should be done
__________________
Personal Website | Windows to Linux - Tips from Experience

Desktop - Galileo
Tri-Boot: Fedora 11 64bit, Vista 64bit, Win7 64bit,
Intel Core2Quad Q6600 @3.6GHz, 8GB PC2-8500 DDR2, ATI HD4870, 21.6" HDMI @ 1920x1080 + 20" @ 1600x900 (both DVI-D), 320GB + 750GB SATA, Custom Watercooling

Laptop - MacBook 5.1 (Aluminium)
Single-Boot: Apple OS X (dual-boot with Fedora 10 incoming)
Intel Core2Duo, 2GB DDR3, nVidia 9400M, 13" LCD @ 1280x800, 160GB SATA
Reply With Quote
  #4  
Old 2008-05-19, 07:47 PM CDT
sawson Offline
Registered User
 
Join Date: May 2008
Posts: 2
fstab worked like a charm. Thanks!
Reply With Quote
  #5  
Old 2008-05-19, 10:18 PM CDT
sidebrnz Online
Registered User
 
Join Date: Oct 2007
Location: Freedonia
Age: 60
Posts: 1,034
You don't need to reboot after editing fstab.

mount -a

will remount everything in fstab right away. (Nice and convenient if/when you typo someting.) BTW, if that new line's the last one in the file, be sure to hit return at the end. You'll get an error from mount if you don't.
__________________
Registered Linux user #470359
Reply With Quote
  #6  
Old 2008-06-24, 04:41 PM CDT
robtpt Offline
Registered User
 
Join Date: Jun 2008
Posts: 4
Thank you all, this was a most helpful thread!
Reply With Quote
  #7  
Old 2008-07-07, 04:13 AM CDT
Bandworthy Offline
Registered User
 
Join Date: Jun 2008
Posts: 5
I split my nvidia raid into 2 normal drives so I could use them in linux but they are not mounted,
I'm very new but when using the fdisk command I get this

bash: fdisk: command not found

I would really like to get these 2 drives mounted... oh they are NTFS, I need them to stay that way.
Reply With Quote
  #8  
Old 2008-07-07, 04:24 AM CDT
robtpt Offline
Registered User
 
Join Date: Jun 2008
Posts: 4
I'm new to this too, but I just checked at the terminal myself and I had to use the command '/sbin/fdisk' to get at the fdisk utility. I don't know why, but I have to do that for a lot of commands. Sadly, I can't give you much help on what to do with fdisk.
Reply With Quote
  #9  
Old 2008-07-07, 06:26 AM CDT
scotty38's Avatar
scotty38 Offline
Registered User
 
Join Date: Mar 2008
Location: Nottingham, UK
Age: 15
Posts: 247
@ robtpt and bandworthy

Try using "su -" rather than "su"

The - not only gives you root's power but also its environment which means you'll have the path to some of those commands that don't appear to work.
Reply With Quote
  #10  
Old 2008-07-07, 06:21 PM CDT
Bandworthy Offline
Registered User
 
Join Date: Jun 2008
Posts: 5
ah yes su - works nicely! ty I get

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xc2dfa6c4

Device Boot Start End Blocks Id System
/dev/sda1 * 1 25 200781 83 Linux
/dev/sda2 26 14593 117017460 8e Linux LVM

**This should be my fedora drive


Disk /dev/dm-0: 117.7 GB, 117708947456 bytes
255 heads, 63 sectors/track, 14310 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 2080 MB, 2080374784 bytes
255 heads, 63 sectors/track, 252 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x30307800

Disk /dev/dm-1 doesn't contain a valid partition table
** Are these the 2 missing drives?, is this because when I installed
Fedora they were raid?.. they are perfectly fine (Split as single drives now) looking at them
in XP, why doesnt linux detect the hardware change?.


Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x5b6ac646
Device Boot Start End Blocks Id System
/dev/sdb1 1 30401 244196001 c W95 FAT32 (LBA)

**This is actually a usb hard drive and yet it mounted this automatically??

Disk /dev/sdc: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2396c1e3

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 20188 162160078+ 7 HPFS/NTFS
/dev/sdc2 20189 24321 33198322+ f W95 Ext'd (LBA)
/dev/sdc5 20189 24145 31784571 83 Linux
/dev/sdc6 24146 24321 1413688+ 82 Linux swap / Solaris

**My old xp install with a Ubuntu install that simply wont boot.. soon to be formated

I'm getting the impression fedora thinks the drives are still a raid as they were when
I first installed, should I try mounting anyway or this a bad idea?. IF so how do I get
this to be seen as two new drives instead?.
Reply With Quote
  #11  
Old 2008-07-07, 11:08 PM CDT
robtpt Offline
Registered User
 
Join Date: Jun 2008
Posts: 4
Thanks Scotty. Linux is a bit of an adventure, but it's great to have people around that can help.
Reply With Quote
  #12  
Old 2008-07-08, 02:36 AM CDT
scotty38's Avatar
scotty38 Offline
Registered User
 
Join Date: Mar 2008
Location: Nottingham, UK
Age: 15
Posts: 247
Quote:
Originally Posted by Bandworthy
ah yes su - works nicely! ty I get

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xc2dfa6c4

Device Boot Start End Blocks Id System
/dev/sda1 * 1 25 200781 83 Linux
/dev/sda2 26 14593 117017460 8e Linux LVM

**This should be my fedora drive


Disk /dev/dm-0: 117.7 GB, 117708947456 bytes
255 heads, 63 sectors/track, 14310 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 2080 MB, 2080374784 bytes
255 heads, 63 sectors/track, 252 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x30307800

Disk /dev/dm-1 doesn't contain a valid partition table
** Are these the 2 missing drives?, is this because when I installed
Fedora they were raid?.. they are perfectly fine (Split as single drives now) looking at them
in XP, why doesnt linux detect the hardware change?.


Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x5b6ac646
Device Boot Start End Blocks Id System
/dev/sdb1 1 30401 244196001 c W95 FAT32 (LBA)

**This is actually a usb hard drive and yet it mounted this automatically??

Disk /dev/sdc: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2396c1e3

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 20188 162160078+ 7 HPFS/NTFS
/dev/sdc2 20189 24321 33198322+ f W95 Ext'd (LBA)
/dev/sdc5 20189 24145 31784571 83 Linux
/dev/sdc6 24146 24321 1413688+ 82 Linux swap / Solaris

**My old xp install with a Ubuntu install that simply wont boot.. soon to be formated

I'm getting the impression fedora thinks the drives are still a raid as they were when
I first installed, should I try mounting anyway or this a bad idea?. IF so how do I get
this to be seen as two new drives instead?.

Probably completely lost in translation but which of these drives are you trying to mount and can't?

I'm assuming:
/dev/sda is your Fedora9 which is ok
/dev/sdb is your usb drive which is ok
/dev/sdc is the one you're having problems with seeing in F9 where sdc1 is XP and sdc5 is Ubuntu in a windows extended partition?

I've never set my machine up like that but I'm not sure that having your Linux partition in a Windows extended partition will work too well (hence your problems) but I'll let someone who does have experience of that give you a definitive answer.
Reply With Quote
  #13  
Old 2008-07-08, 10:46 AM CDT
sidebrnz Online
Registered User
 
Join Date: Oct 2007
Location: Freedonia
Age: 60
Posts: 1,034
AFAIK, an extended partition is an extended partition. It doesn't matter if it was set up by Windows, Linux or BeOS. What matters is the file system on the logical partitions inside it.
__________________
Registered Linux user #470359
Reply With Quote
  #14  
Old 2008-07-10, 01:05 AM CDT
Bandworthy Offline
Registered User
 
Join Date: Jun 2008
Posts: 5
Smile

Quote:
Originally Posted by scotty38
Probably completely lost in translation but which of these drives are you trying to mount and can't?

I'm assuming:
/dev/sda is your Fedora9 which is ok
/dev/sdb is your usb drive which is ok
/dev/sdc is the one you're having problems with seeing in F9 where sdc1 is XP and sdc5 is Ubuntu in a windows extended partition?

I've never set my machine up like that but I'm not sure that having your Linux partition in a Windows extended partition will work too well (hence your problems) but I'll let someone who does have experience of that give you a definitive answer.

Actually I've found the problem .. actually it answers alot of them, why didnt they auto mount, why wont ubuntu ever boot. Why did fedora sit for 5 min at start dev.. I'll go over it for the benefit of anyone else who reads this with a similar error,

Disk /dev/dm-0: 117.7 GB, 117708947456 bytes
255 heads, 63 sectors/track, 14310 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 2080 MB, 2080374784 bytes
255 heads, 63 sectors/track, 252 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x30307800

Disk /dev/dm-1 doesn't contain a valid partition table

these were the two drives, I dont know why it thinks the dm-1 is a 2gig when its 120. They are old ide drives I needed to work on sata so they both had these sata ide converter things works fine in windows which is why I didnt click onto it right away. But it seems linux has a problem with using these ide to sata plugs.

So prob best to not have these plugs!!

Just bought a 750gig and ripped both out, guess what, auto mounted, no pause at fedora loading, and I havent tried it but I'm betting ubuntu will boot now. and I get alot more space in the end anyway!. Thank you all for trying to help me I still come out with a few new commands learnt either way
Reply With Quote
  #15  
Old 2008-10-15, 01:37 PM CDT
scotty38's Avatar
scotty38 Offline
Registered User
 
Join Date: Mar 2008
Location: Nottingham, UK
Age: 15
Posts: 247
Here's my line from fstab that mounts the NTFS partition:

/dev/sda1 /mnt/windows ntfs defaults 0 0

Not sure you need those extra backslashes, and just spotted you perhaps need umask....

Last edited by scotty38; 2008-10-15 at 01:48 PM CDT.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how can we access drives in fedora 7? rohinvijay General Support 5 2008-02-09 06:42 AM CST
Looking to access NTFS drives in fedora syscon78 General Support 1 2006-12-09 09:20 AM CST
Cant Mount NTFS Drives! NTFS driver not working? borbs Hardware 6 2006-11-29 02:36 PM CST
how to access NTFS drives Suman General Support 1 2006-08-30 06:51 PM CDT
Access NTFS drives from Fedora Core 4 munki020 General Support 28 2005-07-22 12:03 PM CDT

Automatic Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Yiddish

All times are GMT -7. The time now is 11:13 AM CST.

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo



All trademarks, and forum posts in this site are property of their respective owner(s).

FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact | Founding Members
Designed By Ewdison Then | Powered by vBulletin ©2000-2009, Jelsoft Enterprises Ltd.
FedoraForum is Powered by Open Source Projects and Products
vBET 2.3.8 gives automatic translations