Menu

Problem extracting files from DVD ISO

2015-04-18
2015-04-20
  • Technologov

    Technologov - 2015-04-18

    Host: Debian GNU/Linux 6.0, x64
    I tried both the built-in 7-zip 9.04 (part of Debian) and new BETA v9.38.1. (compiled from source)

    Here I give 2 outputs:
    one is good, successful extraction of data from openSUSE 11.4 x64 DVD ISO.
    one is bad, unsuccessful extraction of data from openSUSE 12.1 x64 DVD ISO.

    I know, that both DVD ISO images are good, and can be booted & installed in VirtualBox.
    I know, that all 3 files exist in both images, checked via loop-mount.
    I do not know how those ISOs were created. ISO level3/Joliet/Rock-Ridge ? No idea.

    Anyone has any idea why ?

    Good example:

    root@deb6-xrig:/tmp/suse121# /home/alexey/7z e /D/OSes/openSUSE-11.4-DVD-x86_64.iso boot/x86_64/loader/initrd boot/x86_64/loader/linux boot/x86_64/loader/isolinux.bin
    7-Zip [64] 9.38 beta Copyright (c) 1999-2014 Igor Pavlov 2015-01-03
    p7zip Version 9.38.1 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,8 CPUs)

    Processing archive: /D/OSes/openSUSE-11.4-DVD-x86_64.iso

    Warnings:
    There are data after the end of archive

    Extracting boot/x86_64/loader/initrd
    Extracting boot/x86_64/loader/isolinux.bin
    Extracting boot/x86_64/loader/linux

    Everything is Ok

    Archives with Warnings: 1

    Warnings: 1
    Files: 3
    Size: 38625622
    Compressed: 4614782976
    =================================================================================
    Bad example:

    root@deb6-xrig:/tmp/suse121# /home/alexey/7z e /D/OSes/openSUSE-12.1-DVD-x86_64.iso boot/x86_64/loader/initrd boot/x86_64/loader/linux boot/x86_64/loader/isolinux.bin

    7-Zip [64] 9.38 beta Copyright (c) 1999-2014 Igor Pavlov 2015-01-03
    p7zip Version 9.38.1 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,8 CPUs)

    Processing archive: /D/OSes/openSUSE-12.1-DVD-x86_64.iso

    Error: Can not open file as archive

    Can't open as archive: 1
    Files: 0
    Size: 0
    Compressed: 0
    =================================================================================
    Any ideas?

    -Technologov, 18.Apr.2015.

     
  • Technologov

    Technologov - 2015-04-18

    And, if this problem cannot be fixed quickly in 7zip, which alternatives do I have to extract files ?

    (without root permissions, so "mount -o loop ..." doesn't count)

     

    Last edit: Technologov 2015-04-18
  • Igor Pavlov

    Igor Pavlov - 2015-04-19

    I need direct link to download for that "unsupported" file.

     
    • Shell

      Shell - 2015-04-19

      Here. The download is rather slow for me - less than 300 KB/s. Torrent download may be more appropriate.

       
  • Shell

    Shell - 2015-04-19

    As far as I know ISO format, OpenSUSE images use HDD emulation for booting. For example, OpenSUSE 13.1 provides two partitions:

    • non-bootable, starts at CHS (1,53,21), type 0EFh, ends at CHS (5,53,20), LBA start 3764, LBA length 8192 (this is 4.fat);
    • bootable, starts at CHS (5,53,21), type 17h, ends at CHS (1023,63,32), LBA start 11956, LBA length 8919372 (this is 5.iso).

    Here is 7-Zip's Parser listing:

    7-Zip [32] 15.00 alpha : Copyright (c) 1999-2015 Igor Pavlov : 2015-04-01
    
    Scanning the drive for archives:
    1 file, 4572839936 bytes (4361 MiB)
    
    Listing archive: openSUSE-13.1-DVD-x86_64.iso
    
    --
    Path = openSUSE-13.1-DVD-x86_64.iso
    Type = #
    
       Date      Time    Attr         Size   Compressed  Name
    ------------------- ----- ------------ ------------  ------------------------
                        .....         2048         2048  1
                        .....      1189888      1189888  2.iso
                        .....       735232       735232  3
    2013-11-06 20:51:56 .....      4194304      4194304  4.fat
    2013-11-06 23:53:57 .....   4413937664   4413937664  5.iso
                        .....        10240        10240  6
                        .....    143932748    143932748  7.xz
                        .....          692          692  8
    2013-02-07 18:41:34 .....      1380424      1380424  9.exe
                        .....         4024         4024  10
    2013-10-25 14:08:21 .....       887416       887416  11.exe
                        .....         1416         1416  12
    2013-04-15 17:14:16 .....      1257800      1257800  13.exe
                        .....        28344        28344  14
    2007-04-29 14:43:12 .....       454656       454656  15.PuTTY
                        .....      1579008      1579008  16
                        .....       209251       209251  17.zip
                        .....        61085        61085  18
                        .....         6361         6361  19.gz
                        .....         1831         1831  20
    1992-06-20 01:22:17 .....        50688        50688  21.exe
                        .....      1591808      1591808  22
    1992-06-20 01:22:17 .....       204288       204288  23.exe
                        .....      1118720      1118720  24
    ------------------- ----- ------------ ------------  ------------------------
    2013-11-06 23:53:57         4572839936   4572839936  24 files
    

    The problematic image exposes only one partition: bootable, starts at CHS (0,0,1), type 17h, ends at CHS (1023,63,32), LBA start 0, LBA length 9039872.

    7-Zip [32] 15.00 alpha : Copyright (c) 1999-2015 Igor Pavlov : 2015-04-01
    
    Scanning the drive for archives:
    1 file, 4628414464 bytes (4414 MiB)
    
    Listing archive: openSUSE-12.1-DVD-x86_64.iso
    
    --
    Path = openSUSE-12.1-DVD-x86_64.iso
    Type = #
    
       Date      Time    Attr         Size   Compressed  Name
    ------------------- ----- ------------ ------------  ------------------------
                        .....         2048         2048  1
                        .....      1079296      1079296  2.iso
                        .....       684032       684032  3
                        .....       140889       140889  4.gz
                        .....          423          423  5
                        .....       145654       145654  6.gz
                        .....         1802         1802  7
                        .....       174593       174593  8.gz
                        .....         1535         1535  9
                        .....       181621       181621  10.gz
                        .....          651          651  11
                        .....       202213       202213  12.gz
                        .....          539          539  13
                        .....       209573       209573  14.gz
                        .....         1371         1371  15
                        .....       207410       207410  16.gz
                        .....         1486         1486  17
                        .....       196643       196643  18.gz
                        .....       133085       133085  19
                        .....       158894       158894  20.gz
                        .....        72530        72530  21
                        .....      2127330      2127330  22.biostest 5727.gz
                        .....          542          542  23
                        .....       102070       102070  24.cpio
                        .....      2900298      2900298  25
                        .....     39978318     39978318  26.initrd.gz
    <skipped>
    2007-04-29 14:43:12 .....       454656       454656  9302.PuTTY
                        .....       655360       655360  9303
    1992-06-20 01:22:17 .....       204288       204288  9304.exe
                        .....         2560         2560  9305
    1992-06-20 01:22:17 .....        50688        50688  9306.exe
                        .....      2515456      2515456  9307
                        .....       209251       209251  9308.zip
                        .....        61085        61085  9309
                        .....         6361         6361  9310.gz
                        .....         1831         1831  9311
                        .....    203037808    203037808  9312.xz
                        .....        56208        56208  9313
                        .....    132348620    132348620  9314.xz
                        .....        11572        11572  9315
                        .....    145493092    145493092  9316.xz
                        .....     22725532     22725532  9317
    ------------------- ----- ------------ ------------  ------------------------
    2011-11-10 19:07:15         4628414464   4628414464  9317 files
    

    IsoBuster 3.1 parses both images similarly: it shows 4 filesystems (ISO, Rock Ridge, Joliet and FAT) and no-emulation boot. However, 12.1 has boot sectors at DVD LBA 850 (isolinux) and 55110 (UEFI), whereas 13.1 uses LBAs 5980 and 941 correspondingly.

     
  • Igor Pavlov

    Igor Pavlov - 2015-04-20

    I'll fix that problem in next version (7-Zip 15.01 alpha).
    Thanks!

    openSUSE-12.1-DVD-x86_64.iso
    contains two boot entries:
    1-Boot-NoEmul-Legacy (isolinux).img
    2-Boot-NoEmul-UEFI (elilo).img
    And 7-Zip incorrectly parsed some fields for such case (boot image entry with special id string field: Vendor unique selection criteria).

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.