PDA

View Full Version : Auto Mount NTFS Drives



ptroyal
8th November 2007, 03:55 AM
Hi,
OK, for starters, I try and try to read this forum first. Got farther than I would have otherwise for sure. But now I am stuck.

I have two drives, a small one used for misc files and a larger one that I have partitioned and duel boot Fedora and Win2000.

I have gotten the small drive to mount automatic, but the NTFS portion of the larger drive will not mount.

Do I need to have a separate file for each drive? I haven't tried that yet. :rolleyes:

here is what I have---

[root@localhost ~]# fdisk -l

Disk /dev/sda: 76.8 GB, 76869918720 bytes
255 heads, 63 sectors/track, 9345 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 4463 9344 39214665 7 HPFS/NTFS
/dev/sda2 1 13 104391 83 Linux
/dev/sda3 14 4462 35736592+ 8e Linux LVM

Partition table entries are not in disk order

Disk /dev/sdb: 4320 MB, 4320000000 bytes
248 heads, 43 sectors/track, 791 cylinders
Units = cylinders of 10664 * 512 = 5459968 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 791 4215808 7 HPFS/NTFS
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(0, 32, 33) logical=(0, 47, 28)
Partition 1 has different physical/logical endings:
phys=(524, 247, 43) logical=(790, 211, 31)
[root@localhost ~]# cat /etc/fstab
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/sda1 /mnt/windows ntfs-3g defaults,fmask=4463,dmask=9344 0 0
/dev/sdb1 /mnt/windows ntfs-3g defaults,fmask=1,dmask=791 0 0


Thanks in advance.

Paul

.:neogeo:.
8th November 2007, 01:31 PM
hey dude,

I would suggest reading this thread .... http://forums.fedoraforum.org/showthread.php?p=876414#post876414 ... there are many other threads that cover this topic also.

I did notice something odd with your /etc/fstab! you are attempting to mount both drives to the same mount point. I would suggest creating to separate mount points ie mkdir /mnt/small_drive & mkdir /mnt/large_drive then modify your fstab to something like this.

dev/sda1 /mnt/large_drive ntfs-3g defaults,fmask=4463,dmask=9344 0 0
/dev/sdb1 /mnt/small_drive ntfs-3g defaults,fmask=1,dmask=791 0 0

Check out the thread link, it also describes if you would like the windows partitions in read/write mode.

ptroyal
8th November 2007, 08:23 PM
Thanks for the info, I will check that out tonight.