Sunday, 27 March 2016

Mount NTFS -BSD

#pkg install fuse-ntfs
or

# cd /usr/ports/sysutils/fuse-ntfs && make install clean

once done mount as 

# ntfs-3g /dev/ada0s3 /mnt/

ada0s3 is my required partition choose yours required 

or with fstab

This line works for me in /etc/fstab 

/dev/ada0s3     /mnt/           fusefs     rw,mountprog=/usr/local/bin/ntfs-3g    0 0

it defines partition, mount patch then type and mounting command with it's correct location. 

Error!: If you done any mistake in fstab on next boot or reboot your system will halt and stuck to single user mode at the time of boot with the like 
/usr/bin/sh: .......
if you press enter it will present you a shell and if you try to edit /etc/fstab it will not save at all directory are mounted only  as readable state 
Solution: Press enter to enter into shell as single user then type this command as it required / root directory to be mounted as read write state
 #mount -uw /

That's it. Now edit /etc/fstab and save and reboot
#vi /etc/fstab
#reboot

Done!


No comments:

Post a Comment