Pagina 1 di 1

[RISOLTO] montare hd esterno

Inviato: sabato 26 luglio 2008, 12:05
da krasty
ciao
ho staccato già un pezzo di cordone da winzoz,
ho provato ad attaccare il mio hd esterno x metterci su del materiale
ma mi da un errore:impossibile montare ecc.
ho provato il riavvio ma niente,ho capito che dovevo formattare una parte in fat32 ma adesso non posso
perkè perderei dei dati importanti.
Ho dato questo comando:mario@mario-laptop:~$ sudo fdisk -l

Disco /dev/sda: 250.0 GB, 250059350016 byte
255 heads, 63 sectors/track, 30401 cylinders
Units = cilindri of 16065 * 512 = 8225280 bytes
Disk identifier: 0xceacd126

Dispositivo Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        8999    72284436    7  HPFS/NTFS
/dev/sda2            9000       15570    52781557+   7  HPFS/NTFS
/dev/sda3           21456       30401    71858745    7  HPFS/NTFS
/dev/sda4           15571       21455    47271262+   5  Esteso
/dev/sda5           15571       21208    45287203+  83  Linux
/dev/sda6           21209       21455     1983996   82  Linux swap / Solaris

Le voci nella tabella delle partizioni non sono nello stesso ordine del disco

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


Disco /dev/sdb: 60.0 GB, 60011642880 byte
255 heads, 63 sectors/track, 7296 cylinders
Units = cilindri of 16065 * 512 = 8225280 bytes
Disk identifier: 0x34fe34fd

Dispositivo Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1        3187    25599546    7  HPFS/NTFS
/dev/sdb2            3188        7295    32997510    f  W95 Esteso (LBA)
/dev/sdb5            3188        7295    32997478+   7  HPFS/NTFS
mario@mario-laptop:~$

l hd è disco/dev/sdb 60 gb
come risolvere?
Dimenticavo uso Ubuntu 8.04
grazie

Re: montare hd esterno

Inviato: sabato 26 luglio 2008, 12:16
da CyberZeus
qual'è l'errore preciso che ti da?

P.S.: se ti dice che in uso o che è dirty, usa l'opzione -o force per montarlo la prima volta

Re: montare hd esterno

Inviato: sabato 26 luglio 2008, 13:21
da krasty

Re: montare hd esterno

Inviato: sabato 26 luglio 2008, 19:19
da krasty
Dato che non ho capito bene il comando mount e prima di fare sciocchezze come proseguo?
# mount /dev/sdb?

Re: montare hd esterno

Inviato: sabato 26 luglio 2008, 21:13
da krasty
allora ho dato questo comando:
sudo mount -t ntfs /dev/sdb/media/DATA
Questo il risultato cmq non va:
mario@mario-laptop:~$ sudo mount -t ntfs /dev/sdb/media/DATA
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
One can change the type of mount containing the directory dir:
      mount --make-shared dir
      mount --make-slave dir
      mount --make-private dir
      mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
      mount --make-rshared dir
      mount --make-rslave dir
      mount --make-rprivate dir
      mount --make-runbindable dir
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 .
mario@mario-laptop:~$

Re: montare hd esterno

Inviato: sabato 26 luglio 2008, 21:23
da scolpi
quando monti un dispositivo, prima devi creare una cartella (se non erro si chiama punto di mount) dove poi andrai a montare il dispositivo

es:

Codice: Seleziona tutto

cd

mkdir Discoesterno
creato il punto di mount ci monti una sola delle partizioni del disco, quindi se hai sdb1, sdb2, sdb3 devi prima creare 3 punti dimount distinti e poi puoi passare al mount

Codice: Seleziona tutto

sudo mount -t ntfs /dev/sdb1 /home/tuonome/Discoesterno

Re: montare hd esterno

Inviato: sabato 26 luglio 2008, 21:34
da krasty
scolpi ha scritto: quando monti un dispositivo, prima devi creare una cartella (se non erro si chiama punto di mount) dove poi andrai a montare il dispositivo

es:

Codice: Seleziona tutto

cd

mkdir Discoesterno
creato il punto di mount ci monti una sola delle partizioni del disco, quindi se hai sdb1, sdb2, sdb3 devi prima creare 3 punti dimount distinti e poi puoi passare al mount


Codice: Seleziona tutto

sudo mount -t ntfs /dev/sdb1 /home/tuonome/Discoesterno



sudo mkdir /media/DATA
poi ho dato il comando sopra

Re: montare hd esterno

Inviato: sabato 26 luglio 2008, 21:38
da scolpi
da ciò che vedo manca lo spazio dopo sdb e poi devi usare sdb1 o altra partizione ma non sdb

Re: montare hd esterno

Inviato: sabato 26 luglio 2008, 21:53
da krasty
mi dici cosa significa?
mario@mario-laptop:~$ sudo mount -t ntfs /dev/sdb1 /home/mario/Discoesterno
[sudo] password for mario:
$LogFile indicates unclean shutdown (0, 0)
Failed to mount '/dev/sdb1': Operazione non supportata
Mount is denied because NTFS is marked to be in use. Choose one action:

Choice 1: If you have Windows then disconnect the external devices by
          clicking on the 'Safely Remove Hardware' icon in the Windows
          taskbar then shutdown Windows cleanly.

Choice 2: If you don't have Windows then you can use the 'force' option for
          your own responsibility. For example type on the command line:

            mount -t ntfs-3g /dev/sdb1 /home/mario/Discoesterno -o force

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

            /dev/sdb1 /home/mario/Discoesterno ntfs-3g force 0 0

Re: montare hd esterno

Inviato: sabato 26 luglio 2008, 21:58
da scolpi
ti dice lui cosa fare

Codice: Seleziona tutto

sudo mount -t ntfs-3g /dev/sdb1 /home/mario/Discoesterno -o force

Re: montare hd esterno

Inviato: sabato 26 luglio 2008, 22:03
da krasty
scolpi ha scritto: ti dice lui cosa fare

Codice: Seleziona tutto

sudo mount -t ntfs-3g /dev/sdb1 /home/mario/Discoesterno -o force
già avevo provato questo comando cmq ecco il risultato:
mario@mario-laptop:~$ sudo mount -t ntfs-3g /dev/sdb1 /home/mario/Discoesterno -o force
[sudo] password for mario:
$LogFile indicates unclean shutdown (0, 0)
WARNING: Forced mount, reset $LogFile.
mario@mario-laptop:~$
cosa devo fare?

Re: montare hd esterno

Inviato: sabato 26 luglio 2008, 22:09
da scolpi

Codice: Seleziona tutto

cd /home/mario/Discoesterno
e vedi che c'è dentro

Re: montare hd esterno

Inviato: sabato 26 luglio 2008, 22:22
da krasty
Grazie Scolpi (good)
tutto ok (b2b)
anche se non ho capito quel warning

Re: montare hd esterno

Inviato: sabato 26 luglio 2008, 22:23
da scolpi
metti risolto ciao