+ Responder ao Tópico



  1. #1

    Question Como visualizo meu HD que esta em NTFS e sem Windows


    Pessoal estou com um problemão aqui.
    Estava utilizando o ruiwindows e depois de milhares de paradas continuas resolvi instalar o CentOs 5 para ver se parava, e realmente parou de travar.

    Enfim o problema é que eu tenho 2 HD's no computador em um instalei o CentOs e estou precisando de arquivos do outro HD que esta em NTFS e não estou vendo e nem conseguindo fazer com que eu veja.

    Alguem ai sabe me dizer como eu monto este HD ou visualizo ?
    Última edição por gustavotoda; 19-01-2009 às 08:24. Razão: palavra-chave

  2. #2

    Padrão

    Cara, se você estiver usando o gnome, geralmente na barra lateral do nautilus já aparece o HD só que desmontado. Ai quando você clica no HD o Linux já monta tudo...

    Qualquer coisa de uma olhada nesses dois links:
    Linux: Montar HD em NTFS com o ETCH [Artigo]
    Montar partição NTFS automaticamente « Hulp!

    são para Ubuntu e Debian, mas funciona pra você porque o fstab não é ligado a distro.

    Qualquer dúvida posta ai...

  3. #3

    Padrão

    dmesg | grep hd

    com este comando ai vc visualiza se o hd foi localizado pelo linux
    mais facil...
    reporta a saida deste comando aqui!

  4. #4

    Padrão

    Magnun valeu pelas dicas mais não consegui em nenhum dos jeitos que me passou.

    Lincoln, apareceu o seguinte:

    ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hdaMA, hdbio
    ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdcio, hddio
    hda: ST320413A, ATA DISK drive
    hdb: SAMSUNG SP0822N, ATA DISK drive
    hdc: TSSTcorpCD/DVDW SH-W162C, ATAPI CD/DVD-ROM drive
    hda: max request size: 128KiB
    hda: 39102336 sectors (20020 MB) w/512KiB Cache, CHS=38792/16/63, UDMA(100)
    hda: cache flushes not supported
    hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 >
    hdb: max request size: 512KiB
    hdb: 156368016 sectors (80060 MB) w/2048KiB Cache, CHS=16383/255/63, UDMA(100)
    hdb: cache flushes supported
    hdb: hdb1 hdb2 < hdb5 >
    EXT3-fs: hda2: orphan cleanup on readonly fs
    EXT3-fs: hda2: 1 orphan inode deleted
    hdc: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
    EXT3 FS on hda2, internal journal
    EXT3 FS on hda7, internal journal
    EXT3 FS on hda6, internal journal
    EXT3 FS on hda3, internal journal
    EXT3 FS on hda1, internal journal
    Adding 1550232k swap on /dev/hda5. Priority:-1 extents:1 across:1550232k

  5. #5

    Padrão

    blz...

    hda: ST320413A, ATA DISK drive ( 20Gb ) MASTER
    hdb: SAMSUNG SP0822N, ATA DISK drive ( 80Gb ) SLAVE


    localizamos as partições...

    hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 > MASTER
    hdb: hdb1 hdb2 < hdb5 > SLAVE

    crie as pastas:

    mkdir /home/particao1
    mkdir /home/particao2
    mkdir /home/particao3

    agora vc deve escolher a partição que vc deseja montar
    me parece que vc deseja montar uma das partições do seu hd secundario o de 80Gb...

    mount /dev/hdb1 /home/particao1
    mount /dev/hdb2 /home/particao2
    mount /dev/hdb5 /home/particao3

    tenta ai brother!

    para desmontar:

    umont /home/particao1

    e assim vai!

  6. #6

    Unhappy Não deu =/

    Citação Postado originalmente por Lincoln Ver Post
    blz...

    hda: ST320413A, ATA DISK drive ( 20Gb ) MASTER
    hdb: SAMSUNG SP0822N, ATA DISK drive ( 80Gb ) SLAVE


    localizamos as partições...

    hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 > MASTER
    hdb: hdb1 hdb2 < hdb5 > SLAVE

    crie as pastas:

    mkdir /home/particao1
    mkdir /home/particao2
    mkdir /home/particao3

    agora vc deve escolher a partição que vc deseja montar
    me parece que vc deseja montar uma das partições do seu hd secundario o de 80Gb...

    mount /dev/hdb1 /home/particao1
    mount /dev/hdb2 /home/particao2
    mount /dev/hdb5 /home/particao3

    tenta ai brother!

    para desmontar:

    umont /home/particao1

    e assim vai!
    Beleza consegui visualizar agora os hdb e os HDs ai tentei fazer os mount e deu isso

    [root@TI-03 ~]# mount /dev/hdb1 /home/particao1
    mount: unknown filesystem type 'ntfs'
    [root@TI-03 ~]# mount /dev/hdb2 /home/particao2
    mount: você precisa especificar o tipo do sistema de arquivos
    [root@TI-03 ~]# mount /dev/hdb3 /home/particao3
    mount: o dispositivo especial /dev/hdb3 não existe

    Blz criei as pastas mas ainda assim não deu ...
    Última edição por gustavotoda; 23-01-2009 às 11:37. Razão: 2 citações

  7. #7

    Padrão

    tenta assim:
    mount -t ntfs /dev/hdb1 /home/particao1

    se vc quiser que o sistema sempre monte esse HD coloca no /etc/fstab uma linha assim:
    /dev/hdb1 /home/particao1 auto 0 0

    Qualquer coisa posta ai...

  8. #8

    Padrão

    Valeu pela força galera, mais ainda não deu...

    [root@TI-03 ~]# mount -t ntfs /dev/hdb1 /home/particao1
    mount: unknown filesystem type 'ntfs'

    Ai tentei literalmente chutar um aqui e deu nisto...

    [root@TI-03 ~]# mount -t /dev/hdb1 /home/particao1
    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 .
    [root@TI-03 ~]# mount -t ntfs /dev/hdb1 /home/particao1
    mount: unknown filesystem type 'ntfs'
    [root@TI-03 ~]# mount -t ntfs /dev/hdb1 /home/particao1
    mount: unknown filesystem type 'ntfs'
    [root@TI-03 ~]# clear

    [root@TI-03 ~]# mount -t ntfs /dev/hdb1 /home/particao1
    mount: unknown filesystem type 'ntfs'
    [root@TI-03 ~]# mount -t /dev/hdb1 /home/particao1
    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 .

  9. #9

    Padrão

    Galera serguinte estive pensando aqui ...

    Ve se ajuda, tipo pelo que estou vendo irei armazenar o meu outro HD dentro do /home é isso ?

    Tipo meu /home possui só 2 GB como eu to tentando colocar minha particição de 20 GB é por isso que ta dando errado ?

  10. #10

    Padrão

    A idéia é mais ou menos assim:

    Vc cria uma pasta no /home para "vincular" ao HD. O HD não vai ficar nessa pasta, ela só vai servir de "atalho"...

    tenta assim:
    mount -t ntfs-3g /dev/hdb1 /home/particao1


    Hoje mesmo montei uma partição windows desse jeito...

  11. #11

    Padrão

    hehe...
    so pra titulo de conhecimento?
    pq o :

    -3g

    num achei esta opção no man do mount...

  12. #12

    Padrão

    Cara, também achei estranho quando vi... Mas foi o segunte, tava fazendo uma migração numas máquinas e fui montar um HD onde tinha o windows instalado pra pegar alguns dados. Dei um mount /dev/sda1 /home/hd1 e ele me emitiu um erro falando pra usar o ntfs-3g e caso não funcionasse tentasse um force com o "-o force". Ai eu tentei e funcionou...

    Aqui tem um link falando sobre o ntfs-3g: mount.ntfs-3g(8) - Linux man page

    Agora, não me pergunte pq ele não ta no Man Pages...

    Citação Postado originalmente por Lincoln Ver Post
    hehe...
    so pra titulo de conhecimento?
    pq o :

    -3g

    num achei esta opção no man do mount...

  13. #13

    Padrão

    É....ainda nao =///

    [root@TI-03 private]# mount -t ntfs-3g /dev/hdb1 /home/particao1
    mount: unknown filesystem type 'ntfs-3g'

  14. #14

    Padrão

    Cara, seu CentOS tá sem o ntfs-3g. Acho que isso pode te ajudar!!
    Tutoriais - Montar particao NTFS (leitura e gravacao) : CentOSBR

    Atente para o detalhe da versão do centOS.

    Desculpa a demora! Qualquer coisa posta ai...

  15. #15