Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
Thx givre,
youve done really great work here.
But by the way, it would be really great if you create another script to switch from ntfs-3g back to standard ntfs on usb devices.
May be i am a little too scared, but ntfs-3g is still beta, and i like my data very mouch, so i just want to enable write access when i really need it.
Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
Quote:
Originally Posted by
Solid1986Snake
Thx givre,
youve done really great work here.
But by the way, it would be really great if you create another script to switch from ntfs-3g back to standard ntfs on usb devices.
May be i am a little too scared, but ntfs-3g is still beta, and i like my data very mouch, so i just want to enable write access when i really need it.
That's what the script "unmount_ntfs-3g" is for. Assuming you enabled the script, just right-click the usb device and click the "unmount_ntfs-3g" script from the script menu. That drive with ntfs-3g driver will unmount. Double clck on the drive in Nautilus and it mounts using the normal ntfs driver (without write).
Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
I get this error message when I do sudo mount -a:
Quote:
Error opening partition device: Device or resource busy
Failed to startup volume: Device or resource busy
Couldn't mount device '/dev/hdc1': Device or resource busy
Mount failed.
Error opening partition device: Device or resource busy
Failed to startup volume: Device or resource busy
Couldn't mount device '/dev/hdc5': Device or resource busy
Mount failed.
Any ideas anyone?
Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
i've used NTFS-3g to mount my NTFS partiion before. but i recently had to formatt my HardDisk and reinstall both ubuntu and windows.
so now, when i try to mount my NTFS partiotn, it dosent work.
i get this when after doing the whole thing and typing sudo mount -a
Code:
Volume is dirty.
Run chkdsk and try again, or use the force option.
Mount failed.
this is what my /etc/fstab file looks like -
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hdb2 / ext3 defaults,errors=remount-ro 0 1
/dev/hdb5 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hdb1 /media/hdb1 ntfs-3g silent,umask=0,locale=en_US.utf8 0 0
the folder i created in /media is called hdb1
so anyone know how to fix this ?
Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
GregaS, you may have mounted using the ntfs driver in fstab. That error message may indicate that it's alreay mounted before login. Post your fstab or mtab and post sudo fdisk -l.
visvak, go back to windows and scandisk/fisk all your ftfs partitions and reboot back to windows. restart properly and boot into Ubuntu and try to mount the ntfs partition. Also post your sudo fdisk -l after wards if still having trouble.
Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
My fstab:
Quote:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hdd1 / ext3 defaults,errors=remount-ro 0 1
/dev/hdc6 /mnt/disk2 ext3 defaults 0 2
/dev/hdd5 none swap sw 0 0
/dev/hdb /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hdc1 /dev/hdc1 ntfs-3g silent,umask=0,locale=en_US.utf8 0 0
/dev/hdc5 /dev/hdc5 ntfs-3g silent,umask=0,locale=en_US.utf8 0 0
sudo fdisk -l:
Quote:
Disk /dev/hdc: 41.1 GB, 41110142976 bytes
255 glav, 63 sektorjev/stezo, 4998 stez
Enote = cylinders od 16065 x 512 = 8225280 bajtov
Naprava Boot Start End Blocks Id System
/dev/hdc1 * 1 829 6658911 7 HPFS/NTFS
/dev/hdc2 830 4998 33487492+ f W95 Ext'd (LBA)
/dev/hdc5 830 3187 18940603+ 7 HPFS/NTFS
/dev/hdc6 3188 4998 14546826 83 Linux
Disk /dev/hdd: 4311 MB, 4311982080 bajtov
255 glav, 63 sektorjev/stezo, 524 stez
Enote = cylinders od 16065 x 512 = 8225280 bajtov
Naprava Boot Start End Blocks Id System
/dev/hdd1 * 1 498 4000153+ 83 Linux
/dev/hdd2 499 524 208845 5 Razširjen
/dev/hdd5 499 524 208813+ 82 Linux swap / Solaris
Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
GregaS,
How are you mounting/unmounting the partitions? There is a known issue with mounting more than one partitions using the ntfs-3g driver. If you mount one, you have to manually mount them all. Likewise if you unmount one, you have to manually unmount them all. It's the ntfs-3g limitation.
In my case, i have 2 ntfs partitions both using ntfs-3g drivers and perams set in fstab. In order to unmount those partitions, I have to sudu unmount both of them because fstabs is own by root. Likewise, if I need to mount one of the partitions, I have to again use sudo mount all the partitions if it is using ntfs-3g drivers.
I believe givre noted that his mount script maybe be limited to external USB drives only.
Hope that helps.
Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
works beautifully on my ntfs-formatted LaCie 250GB USB disk, thanks!! :p
Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
If I do sudo mount /dev/hdc1 /media/diskc I get this error message:
Quote:
mount: /dev/hdc1 is not a block device, and stat fails?