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

2008-05-19, 09:44 AM CDT
|
|
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.
|

2008-05-19, 09:49 AM CDT
|
 |
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
|

2008-05-19, 10:49 AM CDT
|
 |
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):
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
|

2008-05-19, 07:47 PM CDT
|
|
Registered User
|
|
Join Date: May 2008
Posts: 2

|
|
|
fstab worked like a charm. Thanks!
|

2008-05-19, 10:18 PM CDT
|
|
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
|

2008-06-24, 04:41 PM CDT
|
|
Registered User
|
|
Join Date: Jun 2008
Posts: 4

|
|
|
Thank you all, this was a most helpful thread!
|

2008-07-07, 04:13 AM CDT
|
|
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.
|

2008-07-07, 04:24 AM CDT
|
|
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.
|

2008-07-07, 06:26 AM CDT
|
 |
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.
|

2008-07-07, 06:21 PM CDT
|
|
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?.
|

2008-07-07, 11:08 PM CDT
|
|
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.
|

2008-07-08, 02:36 AM CDT
|
 |
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.
|

2008-07-08, 10:46 AM CDT
|
|
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
|

2008-07-10, 01:05 AM CDT
|
|
Registered User
|
|
Join Date: Jun 2008
Posts: 5

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

2008-10-15, 01:37 PM CDT
|
 |
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.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Automatic Translations (Powered by  ):
All times are GMT -7. The time now is 11:13 AM CST.
|
|
 |
 |
 |
 |
|
|