NTFS mount causing errors


Recommended Posts

this is kind of a specific continuation of this. okay ive tried mounting my ntfs partition in ubuntu two ways, modifying my fstab by using:

# /etc/fstab: static file system information.

#

# <file system> <mount point> <type> <options> <dump> <pass>

proc /proc proc defaults 0 0

/dev/hda1 / ext3 defaults,errors=remount-ro 0 1

vv(Right here is my ntfs)vv

/dev/hdd2 /mount/hdd2 ntfs umask=0222 0 0

/dev/hdc /media/cdrom0 udf,iso9660 ro,user,noauto 0 0

/dev/hdd /media/cdrom1 udf,iso9660 ro,user,noauto 0 0

and if that didnt work i used sudo mount /dev/hdb2 /mount/hdd2/ -t ntfs -o umask=0222, which usuall worked.

the only problem is, after a reboot or so, it start getting some fails when my computer goes through the usual ubuntu boot sequence. i remember reading one that didnt know what umask=0222 meant. Is there a easier more linux (one that doesnt make linux fail some tasks because it doesnt know what umask=0222 is {which frankly i dont either}) friendly way to mount this.

Link to comment
https://www.neowin.net/forum/topic/307890-ntfs-mount-causing-errors/
Share on other sites

umask=0222 is equivalent to 7555 permissions, read execute. That is correct, here is my fstab for example:

# &lt;fs&gt;          	&lt;mountpoint&gt;    &lt;type&gt;  	&lt;opts&gt;        &lt;dump/pass&gt;

# Root and swap file systems
/dev/hda2  /  reiserfs	noatime  	0 0
/dev/hde3  none  swap  sw  	0 0

# NOTE: The next line is critical for boot!
none  	/proc  proc  defaults  0 0

# glibc 2.2 tmpfs mount
none  	/dev/shm	tmpfs  defaults  0 0

# Removable media
/dev/hdc  /mnt/cdrom	iso9660  noauto,ro,users  0 0
/dev/hdd  /mnt/cdrw	iso9660  noauto,rw,users  0 0
/dev/fd0  /mnt/floppy	vfat  noauto,users  0 0
/dev/hdb4  /mnt/zip	vfat  noauto,users  0 0
/dev/sda1  /mnt/usbstick	vfat  noauto,users  0 0

# Windows mounts	
/dev/hda1  /winxp  ntfs  defaults,umask=0222	0 0
/dev/hda4  /winshare	vfat  defaults,umask=0	0 0
/dev/hde1  /winro  ntfs  defaults,umask=0222	0 0

# FreeBSD mounts
/dev/hda5  	/freebsd	ufs  ufstype=ufs2,ro  0 0
/dev/hda6  /freebsd/tmp	ufs  ufstype=ufs2,ro         0 0
/dev/hda7  /freebsd/var	ufs  ufstype=ufs2,ro         0 0
/dev/hda8  /freebsd/usr	ufs  ufstype=ufs2,ro         0 0

I'm using Ubuntu.

# /etc/fstab: static file system information.
#
# &lt;file system&gt; &lt;mount point&gt;   &lt;type&gt;  &lt;options&gt;       &lt;dump&gt;  &lt;pass&gt;
proc            /proc           proc    defaults        0       0
/dev/hda5       /               ext3    defaults,errors=remount-ro 0       1
/dev/hdc        /media/cdrom0   udf,iso9660 ro,user,noauto  0       0
/dev/hda2       /mnt/windows    ntfs    users,dmask=0222,fmask=0333,ro 0 0

Make sure you've picked the right mount point. I banged my head against the wall for awhile until I realized I had a system partition at the front of the disk that was changing numbers slightly.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.