On 18 February 2014 02:57, Philippe Meunier <meun...@ccs.neu.edu> wrote: > Hello, > > I have problems mounting Windows 7 DVD ISO images on OpenBSD 5.4 > stable. For example, you can download X17-59463.iso from > http://www.mydigitallife.info/official-windows-7-sp1-iso-from-digital-river/ > > # ls -l X17-59463.iso > -rw------- 1 meunier users 2564476928 Feb 16 01:24 X17-59463.iso > > Then: > > # vnconfig vnd0 X17-59463.iso > # disklabel vnd0 > # /dev/rvnd0c: > type: vnd > disk: GSP1RMCULFRER_EN > label: _DVD > duid: 0000000000000000 > flags: > bytes/sector: 512
I'm pretty sure that DVD's don't come with a disk sector size of 512 bytes. So trying to access it with 512 byte sectors could be one problem. You can play with the vnconfig '-t' option and add an appropriate entry to /etc/disktab that specifies the more likely sector size of 2048 bytes. Or you can burn the .iso to a physical device. If you burn it to a physical device, what does disklabel show? .... Ken > sectors/track: 100 > tracks/cylinder: 1 > sectors/cylinder: 100 > cylinders: 50087 > total sectors: 5008744 > boundstart: 0 > boundend: 5008744 > drivedata: 0 > > 16 partitions: > # size offset fstype [fsize bsize cpg] > a: 5008744 0 ISO9660 > c: 5008744 0 ISO9660 > # mount_cd9660 /dev/vnd0a /mnt > # ls -la /mnt > total 4 > dr-xr-xr-x 1 root wheel 112 Apr 12 2011 . > drwxr-xr-x 14 root wheel 512 Dec 31 18:44 .. > -r-xr-xr-x 1 root wheel 135 Apr 12 2011 README.TXT > # cat /mnt/README.TXT > This disc contains a "UDF" file system and requires an operating system > that supports the ISO-13346 "UDF" file system specification. > # umount /mnt > # mount_udf /dev/vnd0a /mnt > FSD does not lie within the partition! > mount_udf: mount: Invalid argument > # > > So... how do I access the UDF file system on such a DVD ISO image? > > For reference, here's what I get using Linux (booting Ubuntu from a > USB stick on the same computer): > > me@pc:~$ sudo mount -t ufs -o ufstype=44bsd,ro /dev/sda8 /mnt > me@pc:~$ sudo mount -o loop /mnt/meunier/X17-59463.iso /mnt2 > me@pc:~$ mount | egrep iso > /mnt/meunier/X17-59463.iso on /mnt2 type udf (ro) > me@pc:~$ ls /mnt2 > autorun.inf boot bootmgr efi setup.exe sources support upgrade > me@pc:~$ > > Is there any way to get the same thing on OpenBSD, or am I out of > luck? > > Thanks, > > Philippe