[+] jak zamontowa

Ogólne pytania dotyczące systemu
andrew_g
Posty: 8
Rejestracja: 05 sierpnia 2008, 15:16

[+] jak zamontować obraz *.iso

Post autor: andrew_g »

potrzebuję zamontować obraz *.iso

Kod: Zaznacz cały

mount -o ro,loop /media/MAGAZINE/gdanska.iso /dane
Failed to read last sector (452181491): Zły argumentHINTS: Either the volume is a RAID/LDM but it wasn't setup yet,
   or it was not setup correctly (e.g. by not using mdadm --build ...),
   or a wrong device is tried to be mounted,
   or the partition table is corrupt (partition is smaller than NTFS),
   or the NTFS boot sector is corrupt (NTFS size is not valid).
Failed to mount '/dev/loop0': Zły argument
The device '/dev/loop0' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
dane z testdisku:

Kod: Zaznacz cały

  TestDisk 6.11, Data Recovery Utility, April 2009
Christophe GRENIER <grenier@cgsecurity.org>
[URL]http://www.cgsecurity.org[/URL]


Disk gdanska.iso - 14 GB / 13 GiB - CHS 1801 255 63


     Partition                  Start        End    Size in sectors
        P NTFS                     0   0  1  1800 115 19   28924264
Awatar użytkownika
LordRuthwen
Moderator
Posty: 2341
Rejestracja: 18 września 2009, 21:45
Lokalizacja: klikash?

Post autor: LordRuthwen »

-t iso9660
Awatar użytkownika
Yampress
Administrator
Posty: 6422
Rejestracja: 09 sierpnia 2007, 21:41
Lokalizacja: PL

Post autor: Yampress »

jako root

Kod: Zaznacz cały

mount -o loop -t iso9660  obraz.iso  /przeanaczenie
andrew_g
Posty: 8
Rejestracja: 05 sierpnia 2008, 15:16

Post autor: andrew_g »

próbowałem wcześniej, oto wynik:

Kod: Zaznacz cały

# mount -o loop -t iso9660 /media/MAGAZINE/gdanska.iso /danemount: wrong fs type, bad option, bad superblock on /dev/loop0,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so
z tego co wiem, dane pochodzą z partycji ntfs, pozdrawiam!!!
Awatar użytkownika
Rafal_F
Moderator
Posty: 2350
Rejestracja: 29 sierpnia 2008, 16:45

Post autor: Rafal_F »

andrew_g pisze:z tego co wiem, dane pochodzą z partycji ntfs, pozdrawiam!!!
Jakie dane?
Próbowałeś wskazówki danej przez mount i zajrzałeś do dmesg?
andrew_g
Posty: 8
Rejestracja: 05 sierpnia 2008, 15:16

Post autor: andrew_g »

oto rezultat:

Kod: Zaznacz cały

# dmesg | tail
[  242.264138] sd 20:0:0:0: Attached scsi generic sg2 type 0
[  242.268791] sd 20:0:0:0: [sdb] Attached SCSI removable disk
[  242.270690] sr1: scsi-1 drive
[  242.270994] sr 19:0:0:0: Attached scsi CD-ROM sr1
[  242.271184] sr 19:0:0:0: Attached scsi generic sg3 type 5
[  281.745518] PPP generic driver version 2.4.2
[  284.485389] PPP BSD Compression module registered
[  284.550263] PPP Deflate Compression module registered
[  665.562840] ISOFS: Unable to identify CD-ROM format.
[  706.663713] ISOFS: Unable to identify CD-ROM format.
Awatar użytkownika
Yampress
Administrator
Posty: 6422
Rejestracja: 09 sierpnia 2007, 21:41
Lokalizacja: PL

Post autor: Yampress »

Kod: Zaznacz cały

mount -o loop -t auto  obraz.iso  /przeanaczenie
lub

Kod: Zaznacz cały

mount -o loop   obraz.iso  /przeanaczenie
andrew_g
Posty: 8
Rejestracja: 05 sierpnia 2008, 15:16

Post autor: andrew_g »

Kod: Zaznacz cały

# mount -o loop -t auto /media/MAGAZINE/gdanska.iso /dane
Failed to read last sector (452181491): Zły argument
HINTS: Either the volume is a RAID/LDM but it wasn't setup yet,
   or it was not setup correctly (e.g. by not using mdadm --build ...),
   or a wrong device is tried to be mounted,
   or the partition table is corrupt (partition is smaller than NTFS),
   or the NTFS boot sector is corrupt (NTFS size is not valid).
Failed to mount '/dev/loop0': Zły argument
The device '/dev/loop0' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
Awatar użytkownika
Yampress
Administrator
Posty: 6422
Rejestracja: 09 sierpnia 2007, 21:41
Lokalizacja: PL

Post autor: Yampress »

A gdzie to montujesz na nieskonfigurowanym raid ?
Awatar użytkownika
Rafal_F
Moderator
Posty: 2350
Rejestracja: 29 sierpnia 2008, 16:45

Post autor: Rafal_F »

Katalog /dane musi istnieć w momencie wywołania mount, może chodziło ci o ~/dane (w katalogu domowym)?
Jeżeli /dane istnieje i dalej nie działa to może plik jest uszkodzony?
ODPOWIEDZ