Strona 1 z 2

[+] jak zamontować obraz *.iso

: 03 kwietnia 2014, 12:57
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

: 03 kwietnia 2014, 13:29
autor: LordRuthwen
-t iso9660

: 03 kwietnia 2014, 21:45
autor: Yampress
jako root

Kod: Zaznacz cały

mount -o loop -t iso9660  obraz.iso  /przeanaczenie

: 03 kwietnia 2014, 23:43
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!!!

: 03 kwietnia 2014, 23:55
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?

: 04 kwietnia 2014, 00:16
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.

: 04 kwietnia 2014, 10:17
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

: 05 kwietnia 2014, 00:03
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?

: 05 kwietnia 2014, 21:58
autor: Yampress
A gdzie to montujesz na nieskonfigurowanym raid ?

: 05 kwietnia 2014, 22:21
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?