fstab line for NTFS

Thufir hawat.thufir at gmail.com
Thu Jul 5 08:23:46 UTC 2007


On Thu, 05 Jul 2007 08:47:57 +0100, Martin Hooper wrote:

> What is the fstab line that mounts NTFS?  I've forgotten what it was in
> Fedora n- Not having used Fedora since 4/5 around there...

Here's my setup (I included the grub file, which is, for reasons I don't 
recall, on the second HDD):

[root at localhost ~]# 
[root at localhost ~]# 
[root at localhost ~]# cat /etc/fedora-release 
Fedora release 7 (Moonshine)
[root at localhost ~]# 
[root at localhost ~]# cat /etc/fstab 
LABEL=/                 /                       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/VolGroup01/LogVol01 swap                    swap    defaults        
0 0
/dev/sda1               /mnt/sda1               ntfs-3g users,rw        0 
0 
/dev/sdb1               /mnt/sdb1               ext3    users,rw        0 
0 
[root at localhost ~]# 
[root at localhost ~]# cat /mnt/sd
sda1/ sdb1/ sdb2/ 
[root at localhost ~]# cat /mnt/sdb1/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this 
file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd1,0)
#          kernel /vmlinuz-version ro root=/dev/VolGroup01/LogVol00
#          initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=15
splashimage=(hd1,0)/grub/splash.xpm.gz
#hiddenmenu
title Fedora Core (2.6.9-1.667)
        root (hd1,0)
        kernel /vmlinuz-2.6.9-1.667 ro root=/dev/VolGroup01/LogVol00 rhgb 
quiet
        initrd /initrd-2.6.9-1.667.img
title Other
        rootnoverify (hd0,0)
        chainloader +1

title Fedora (2.6.21-1.3228.fc7)
        root (hd0,1)
        kernel /vmlinuz-2.6.21-1.3228.fc7 ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.21-1.3228.fc7.img
[root at localhost ~]# 
[root at localhost ~]# date
Thu Jul  5 01:21:29 PDT 2007
[root at localhost ~]# 
[root at localhost ~]# 



does that help?

useful commands relating to this are "mount" (by itself) and "fdisk -l"


-Thufir




More information about the users mailing list