Author Topic: [HELP][HW][LINUX] Problema scrittura su HD esterno NTFS  (Read 6193 times)

0 Members and 1 Guest are viewing this topic.

Offline Philip J. Fry

  • Delivery boy
  • Translator Crew
  • Accolito
  • ****
  • Posts: 424
Allora, il problema è questo: non riesco a scrivere sul mio HD esterno in NTFS da Ubuntu 7.04...la cosa sarebbe normale se non avessi installato il tool di scrittura NTFS, ma l'ho installato! E mi da "permessi non sufficienti"... :wallbash:


Ho seguito la guida ufficiale --> http://wiki.ubuntu-it.org/Hardware/DispositiviPartizioni/MontarePartizioni/NtfsLetturaScrittura

Offline MsZ

  • Il Manutentore
  • Militante
  • ******
  • Posts: 913
  • GNUru Meditation
Re: [HELP][HW][LINUX] Problema scrittura su HD esterno NTFS
« Reply #1 on: Fri 22 June 2007, 14:39 »
Provato a scriverci da root?

Offline Philip J. Fry

  • Delivery boy
  • Translator Crew
  • Accolito
  • ****
  • Posts: 424
Re: [HELP][HW][LINUX] Problema scrittura su HD esterno NTFS
« Reply #2 on: Fri 22 June 2007, 16:03 »
No, ho provato solo fisicamente a trascinarci un file dentro come facevo con Xp... :whustling:

Provo con sudo cp???

Offline MsZ

  • Il Manutentore
  • Militante
  • ******
  • Posts: 913
  • GNUru Meditation
Re: [HELP][HW][LINUX] Problema scrittura su HD esterno NTFS
« Reply #3 on: Fri 22 June 2007, 16:37 »
Prova, prova.
Molto spesso i permessi tra filesystem quali ext3 e Fat32 sono un po' stravolti, quindi è normale, se hai creato la directory da amministratore win wxp, non riuscire a scrivere tramite utente... mi pare che devi essere di un gruppo preciso, o abilitare qualche opzione in ntfs-3g.
L'ho già compilato, mo' me lo studio un poco. :whustling:

Offline Philip J. Fry

  • Delivery boy
  • Translator Crew
  • Accolito
  • ****
  • Posts: 424
Re: [HELP][HW][LINUX] Problema scrittura su HD esterno NTFS
« Reply #4 on: Fri 22 June 2007, 20:42 »
Il problema è dopo che installo il pacchetto ntfs-config per la scrittua su NTFS, quando accendo l'HD non me lo monta! Non compare l'icona sul desktop, nè in Computer... :think:

Offline MsZ

  • Il Manutentore
  • Militante
  • ******
  • Posts: 913
  • GNUru Meditation
Re: [HELP][HW][LINUX] Problema scrittura su HD esterno NTFS
« Reply #5 on: Fri 22 June 2007, 23:07 »
E allora montalo da te.
Quote
ntfs-3g <partizione> <target>
oppure
Quote
mount -t ntfs-3g <partizione> <target>
Io faccio sempre così: magari puoi farti una riga in un file di avvio (mi pare che sia in /etc/init.d/local) per il montaggio automatico, e poi aggiungi una riga a fstab:
Quote
<partizione> <target> ntfs-3g defaults,noauto 0 0
Così puoi anche montarlo ogni volta che e hai bisogno.
« Last Edit: Fri 22 June 2007, 23:10 by MsZ »

Offline Philip J. Fry

  • Delivery boy
  • Translator Crew
  • Accolito
  • ****
  • Posts: 424
Re: [HELP][HW][LINUX] Problema scrittura su HD esterno NTFS
« Reply #6 on: Fri 22 June 2007, 23:50 »
Ok, ci ho provato, il mio esterno si chiama Keep Out:

Code: [Select]
root@fra-desktop:/home/fra# mount -t ntfs-3g /dev/sdb5 /media/Keep Out
Usage: mount -V                 : print version
       mount -h                 : print this help
       mount                    : list mounted filesystems
       mount -l                 : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
       mount -a [-t|-O] ...     : mount all stuff from /etc/fstab
       mount device             : mount device at the known place
       mount directory          : mount known device here
       mount -t type dev dir    : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
       mount --bind olddir newdir
or move a subtree:
       mount --move olddir newdir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using  -L label  or by uuid, using  -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say  man 8 mount .
root@fra-desktop:/home/fra#

Offline MsZ

  • Il Manutentore
  • Militante
  • ******
  • Posts: 913
  • GNUru Meditation
Re: [HELP][HW][LINUX] Problema scrittura su HD esterno NTFS
« Reply #7 on: Sat 23 June 2007, 08:51 »
Gli spazi in Linux sono identificati come separatori di argomenti. Se vuoi mettere uno spazio in un'opzione devi inserire una backslash:
Quote
mount -t ntfs-3g /dev/sdb5 /media/Keep\ Out
Così per ogni cosa che abbia caratteri "fuori standard", come trattini, il backslash stesso, spazi, virgolette, apostrofi, eccetera. Non a caso questi caratteri sono caratteri "di servizio" usati da Linux, e se li metti nel nome di un file devi usare un backslash, altrimenti la shell li interpreterà come caratteri della riga di comando e non del nome del file.

Prova così. :sdentato:

Oppure utilizzi TAB per il completamento automatico. Vai avanti a digitare la riga fino a qui:
Quote
mount -t ntfs-3g /dev/sdb5 /media/Ke
poi premi TAB, e vedi che la completa da solo. E' l'unico oggetto nella directory che comincia per "Ke" (suppongo).
Io uso il completamento automatico senza neanche rendermene conto. L'anulare sinistro mi va da solo su TAB. :whustling:
« Last Edit: Sat 23 June 2007, 08:54 by MsZ »

Offline Philip J. Fry

  • Delivery boy
  • Translator Crew
  • Accolito
  • ****
  • Posts: 424
Re: [HELP][HW][LINUX] Problema scrittura su HD esterno NTFS
« Reply #8 on: Sat 23 June 2007, 10:28 »
Niente da fare!   :wallbash:

Code: [Select]
fra@fra-desktop:~$ su
Password:
root@fra-desktop:/home/fra# mount -t ntfs-3g /dev/sdb5 /media/Keep\ Out
Volume is scheduled for check. Please boot into Windows TWICE, or
use the 'force' mount option. For example type on the command line:

    mount -t ntfs-3g /dev/sdb5 /media/Keep Out -o force

Or add the option to the relevant row in the /etc/fstab file:

    /dev/sdb5 /media/Keep Out ntfs-3g defaults,force 0 0

root@fra-desktop:/home/fra# mount -t ntfs-3g /dev/sdb5 /media/Keep\ Out -o force
WARNING: Dirty volume mount was forced by the 'force' mount option.
fusermount: failed to access mountpoint /media/Keep Out: No such file or directory
FUSE mount point creation failed
Unmounting /dev/sdb5 (Keep Out)
root@fra-desktop:/home/fra#

...e se premo TAB dopo "Ke" mi fa un bip e non succede nulla...

Offline MsZ

  • Il Manutentore
  • Militante
  • ******
  • Posts: 913
  • GNUru Meditation
Re: [HELP][HW][LINUX] Problema scrittura su HD esterno NTFS
« Reply #9 on: Sat 23 June 2007, 12:27 »
Ma esiste la directory /media/Keep\ Out nel sistema??
Se ti fa bip vuol dire che la directory (o, in generale, l'oggetto) non esiste o ce n'è più di uno che comincia con Ke, e dopo la seconda pressione di TAB dovrebbe farti una lista delle possibilità.

Se crei una directory in /mnt/ ti fal la stessa cosa? Hai privilegi di root quando monti?
« Last Edit: Sat 23 June 2007, 12:29 by MsZ »

 

Creative Commons License All ValerioCipriani.com contents are published according to Creative Common License, except different instructions. The Staff is not responsible of eventually guide, article and publishing mistakes. All published items are patent free. All trade marks reported are right reserved. Contact us, Info.