Results 1 to 5 of 5

Thread: mount windows drive with ntfs 3g

  1. #1

    Default mount windows drive with ntfs 3g

    What would I put in my fstab to auto mount my windows drive everytime I boot up using ntfs 3g? Here is the output of fdisk -l

    Disk /dev/sda: 400.0 GB, 400088457216 bytes
    255 heads, 63 sectors/track, 48641 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x7343c164

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 48642 390709248 7 HPFS/NTFS

    Disk /dev/sdb: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x00005111

    Device Boot Start End Blocks Id System
    /dev/sdb1 1 262 2104483+ 82 Linux swap / Solaris
    /dev/sdb2 * 263 2873 20972857+ 83 Linux
    /dev/sdb3 2874 60801 465306660 83 Linux

  2. #2
    Larry Finger NNTP User

    Default Re: mount windows drive with ntfs 3g

    jaybott wrote:
    > What would I put in my fstab to auto mount my windows drive everytime I
    > boot up using ntfs 3g? Here is the output of fdisk -l
    >
    > Disk /dev/sda: 400.0 GB, 400088457216 bytes
    > 255 heads, 63 sectors/track, 48641 cylinders
    > Units = cylinders of 16065 * 512 = 8225280 bytes
    > Disk identifier: 0x7343c164
    >
    > Device Boot Start End Blocks Id System
    > /dev/sda1 * 1 48642 390709248 7 HPFS/NTFS
    >
    > Disk /dev/sdb: 500.1 GB, 500107862016 bytes
    > 255 heads, 63 sectors/track, 60801 cylinders
    > Units = cylinders of 16065 * 512 = 8225280 bytes
    > Disk identifier: 0x00005111
    >
    > Device Boot Start End Blocks Id System
    > /dev/sdb1 1 262 2104483+ 82 Linux swap /
    > Solaris
    > /dev/sdb2 * 263 2873 20972857+ 83 Linux
    > /dev/sdb3 2874 60801 465306660 83 Linux


    /dev/sda1 /windows/C ntfs-3g
    users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0

    My fstab, which was generated by the installation process, contains he
    above line. Note - it must be on one line.

    Larry

  3. #3

    Default Re: mount windows drive with ntfs 3g

    I used this and it worked but is it ok? Will it hurt or break anything?

    /dev/sda1 /mnt ntfs-3g

  4. #4
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,731
    Blog Entries
    2

    Default Re: mount windows drive with ntfs 3g

    Occasionally when you windows it will pause and check the disk, clean it up so to speak. That's normal with or without Linux.

    If the mount fails as it will occasionally, it's probably because windows needs another "clean". But I've only ever had to reinstall windows once as a result of having it mounted read/write in Linux. I did something silly to a windows system file -- it wasn't the Linux it was me.
    Leap 42.3 & 15.1 &KDE
    FYIs from the days of yore

  5. #5
    Join Date
    Jun 2008
    Location
    The Netherlands
    Posts
    1,273

    Default Re: mount windows drive with ntfs 3g

    If you have a ' dirty ' ntfs volume (e.g. not unmounted properly), you can use the linux tool 'ntfsfix'.

    It's nothing like chkdisk (you will need windows to do that), but it will set your volume state to clean and fix the journals.

    Cheers,
    Wj
    Have a lot of fun!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •