iso9660 mount problem
I have a CD of a commercial software program that I am attempting to run under wine. The CD works without problems under Windows, but when I mount it on linux the file system appears to be empty (no files or directories). The drive is capable of reading the CD because "strings /dev/cdrom" works.
What would I need to do in order to troubleshoot this problem?
Quoted 7 lines · On Wed, 07 Oct 2009 17:22:02 -0500 Jack Byer <[email protected]> wrote:
I have a CD of a commercial software program that I am attempting to run under wine. The CD works without problems under Windows, but when I mount it on linux the file system appears to be empty (no files or directories). The drive is capable of reading the CD because "strings
/dev/cdrom" works.What would I need to do in order to troubleshoot this problem?
Firstly check what occurs if you mount it by hand with -t iso9660 and with -t udf. Secondly check dmesg for any diagnostics from the mount such as corrupt metadata on the CD.
Quoted 9 lines · Alan Cox
Quoted 6 lines · On Wed, 07 Oct 2009 17:22:02 -0500 Jack Byer <[email protected]> wrote:
I have a CD of a commercial software program that I am attempting to run under wine. The CD works without problems under Windows, but when I mount it on linux the file system appears to be empty (no files or directories). The drive is capable of reading the CD because "strings
/dev/cdrom" works.
Quoted 7 lines
Quoted 1 line
What would I need to do in order to troubleshoot this problem?
Firstly check what occurs if you mount it by hand with -t iso9660 and with -t udf. Secondly check dmesg for any diagnostics from the mount such as corrupt metadata on the CD.
It will not mount as UDF:
UDF-fs: No VRS found
UDF-fs: No partition found (1)
As iso9660:
mount -t iso9660 /dev/cdrom /mnt/cdrom
mount: block device /dev/sr0 is write-protected, mounting read-only
dmesg:
ISO 9660 Extensions: Microsoft Joliet Level 1 ISO 9660 Extensions: IEEE_P1282
I tried this on three different machines all with the same result.
Quoted 7 lines · Jack Byer
I have a CD of a commercial software program that I am attempting to run under wine. The CD works without problems under Windows, but when I mount it on linux the file system appears to be empty (no files or directories). The drive is capable of reading the CD because "strings
/dev/cdrom" works.What would I need to do in order to troubleshoot this problem?
Maybe try mounting with the "-o unhide" option. Or maybe it is a multi-session disc?
Quoted 11 lines · Paul Hartman
Quoted 7 lines · Jack Byer
I have a CD of a commercial software program that I am attempting to run under wine. The CD works without problems under Windows, but when I mount it on linux the file system appears to be empty (no files or directories). The drive is capable of reading the CD because "strings
/dev/cdrom" works.What would I need to do in order to troubleshoot this problem?
Maybe try mounting with the "-o unhide" option. Or maybe it is a multi-session disc?
-o unhide does not help. Can a factory-pressed disc be multisession? It's not a CD-R
Quoted 9 lines · Jack Byer
Quoted 7 lines · Paul Hartman
Quoted 6 lines · Jack Byer
I have a CD of a commercial software program that I am attempting to run under wine. The CD works without problems under Windows, but when I mount it on linux the file system appears to be empty (no files or directories). The drive is capable of reading the CD because "strings
/dev/cdrom" works.
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
What would I need to do in order to troubleshoot this problem?
Maybe try mounting with the "-o unhide" option. Or maybe it is a multi-session disc?
-o unhide does not help. Can a factory-pressed disc be multisession? It's not a CD-R
Could you post the header part of the cd? ie:
dd if=/dev/cdrom of=header bs=1k count=32
Quoted 7 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Signature · 2 lines
Regards dave
Quoted 4 lines
Could you post the header part of the cd? ie:
dd if=/dev/cdrom of=header bs=1k count=32
Quoted 5 lines · Jack Byer
Quoted 4 lines
Could you post the header part of the cd? ie:
dd if=/dev/cdrom of=header bs=1k count=32
Sorry, my mistake, getting the meta data we need at least 64k.
Could you send again the header?
dd if=/dev/cdrom of=header bs=1k count=64
Signature · 2 lines
Regards dave
Quoted 7 lines · Dave Young
Quoted 5 lines · Jack Byer
Quoted 4 lines
Could you post the header part of the cd? ie:
dd if=/dev/cdrom of=header bs=1k count=32
Quoted 7 lines
Sorry, my mistake, getting the meta data we need at least 64k.
Could you send again the header?
dd if=/dev/cdrom of=header bs=1k count=64
From your previous 32k header, run
strings headergot:
...Apple_partition_map
HDiscRecording 4.0.3d3Apple_HFS
AppleApple_partition_map
...
So it must be an apple hfs disc, (or hybrid disc?).
Maybe you may try mount it as hfs, this problem is not relevant to iso9660.
Quoted 5 lines
--
Regards
dave
Signature · 2 lines
Regards dave
Quoted 2 lines
So it must be an apple hfs disc, (or hybrid disc?).
Maybe you may try mount it as hfs, this problem is not relevant to iso9660.
I can mount the disc as hfsplus but it shows the OS X contents instead of the Windows contents.
Quoted 5 lines · Jack Byer
Quoted 2 lines
So it must be an apple hfs disc, (or hybrid disc?).
Maybe you may try mount it as hfs, this problem is not relevant to iso9660.I can mount the disc as hfsplus but it shows the OS X contents instead of the Windows contents.
Looks like Rosetta Stone :) and i think it is hybrid HFS/iso9660. I can see windows-related filenames in the sample you uploaded, so we know they are out there somewhere. Maybe try this in your mount options (thanks google):
mount -t iso9660 -o norock,map=off
Also, if that doesn't work, do you have CONFIG_JOLIET=y in your kernel .config? Maybe it's needed...
Quoted 3 lines
Sorry, my mistake, getting the meta data we need at least 64k.
Could you send again the header?
Quoted 9 lines · Jack Byer
Quoted 7 lines · Paul Hartman
Quoted 6 lines · Jack Byer
I have a CD of a commercial software program that I am attempting to run under wine. The CD works without problems under Windows, but when I mount it on linux the file system appears to be empty (no files or directories). The drive is capable of reading the CD because "strings
/dev/cdrom" works.
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
What would I need to do in order to troubleshoot this problem?
Maybe try mounting with the "-o unhide" option. Or maybe it is a multi-session disc?
-o unhide does not help. Can a factory-pressed disc be multisession? It's not a CD-R
Yes (for example "Enhanced CDs" which contain both audio and data tracks). I think the default on MS Windows is to mount the last session on the disc. You should be able to use mount paramater "-o session=x" with x being the session number you want to mount.