Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
maurizioOffline
15 Post subject: (solved) How to make ntfs partitions writable at boot  PostPosted: 05.12.2012, 19:05



Joined: 2012-12-05
Posts: 50
Location: Italy
Status: Offline
Hallo!

I just installed Aptosid on my netbook and I'm very happy about it!
Just coming from one year experience with Ubuntu, Linux Mint, Debian, Puppy linux...
It's great Aptosid can bring Sid experience to a "dummy" user like me!

So here's the question:
Aptosid mounts ntfs partitions just read-only, but I have a "Dati" (partition Cool partition wich I need to read and write. I made a script wich I called "part8rw.sh".
The script is just:

#!/bin/sh
mount -t ntfs-3g /dev/sda8 /media/disk1part8

This is taken from Aptosid manual, with some adjustment.
It works allright, but I would like to run the script at boot, so I don' t have to run it from a terminal every time.
Googling around I found that I can put the script inside /etc/init.d/
and then
update-rc.d part8rw.sh defaults

Is this the right to-do for Aptosid? Or is there something better?

Thaks in advance for your answer.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
slhOffline
Post subject: RE: How to make umts partitions writable at boot  PostPosted: 05.12.2012, 19:13



Joined: 2010-08-25
Posts: 750

Status: Offline
Just change your /etc/fstab entry from ntfs to ntfs-3g.
 
 View user's profile Send private message  
Reply with quote Back to top
maurizioOffline
Post subject: RE: How to make umts partitions writable at boot  PostPosted: 05.12.2012, 19:23



Joined: 2012-12-05
Posts: 50
Location: Italy
Status: Offline
so in this


UUID=6DA8D945315FE3B6 /media/disk1part8 ntfs auto,users,ro,dmask=0022,fmask=0133,nls=utf8 0 0

I change ntf in ntfs-3g?
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
maurizioOffline
Post subject: RE: How to make umts partitions writable at boot  PostPosted: 05.12.2012, 19:39



Joined: 2012-12-05
Posts: 50
Location: Italy
Status: Offline
I did it, then rebooted, but no working.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
slhOffline
Post subject: RE: How to make umts partitions writable at boot  PostPosted: 05.12.2012, 19:54



Joined: 2010-08-25
Posts: 750

Status: Offline
You'll have to drop the ",ro" (read-only) part of the mount options as well.
 
 View user's profile Send private message  
Reply with quote Back to top
maurizioOffline
Post subject: RE: How to make umts partitions writable at boot  PostPosted: 05.12.2012, 20:13



Joined: 2012-12-05
Posts: 50
Location: Italy
Status: Offline
,ro dropped, not going.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
piperOffline
Post subject: RE: How to make umts partitions writable at boot  PostPosted: 06.12.2012, 16:47
Moderator


Joined: 2010-09-11
Posts: 480
Location: cheektowaga, ny
Status: Offline
Try this

      Code:
UUID=6DA8D945315FE3B6 /media/disk1part8 ntfs-3g      defaults,auto,users,locale=en_US.UTF-8        0   0


REBOOT

Edit - change the locale= to match yours

_________________
debian sid | apt-get into it
 
 View user's profile Send private message  
Reply with quote Back to top
towoOffline
Post subject: RE: How to make umts partitions writable at boot  PostPosted: 06.12.2012, 17:07



Joined: 2010-09-13
Posts: 499
Location: Pößneck / Thüringen
Status: Offline
And since
      Code:

towo:Defiant> ls -ld /sbin/mount.ntfs
lrwxrwxrwx 1 root root 13 Okt 28 00:34 /sbin/mount.ntfs -> mount.ntfs-3g

it doesn't matter, if there is ntfs or ntfs-3g in the fstab.
 
 View user's profile Send private message  
Reply with quote Back to top
maurizioOffline
Post subject: RE: How to make umts partitions writable at boot  PostPosted: 06.12.2012, 21:34



Joined: 2012-12-05
Posts: 50
Location: Italy
Status: Offline
Perfect, now it's ok!
Thanks a lot!
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio