Jump to content











Photo
- - - - -

Using Imdisk to create a backing store with .iso file extension gives error


  • Please log in to reply
3 replies to this topic

#1 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 09 March 2017 - 01:18 PM

Just curious...

I had a brain fart and accidentally types test.iso instead of test.imgPTN in an ImDisk command line

The result was that it would not create the file! Is there something special about .iso when specifying it with -f ???

test.iso did not exist and I also tried C:\temp\test.iso with the same result,

c:\Users\Steve\AppData\Local\Temp>imdisk -a -s 5422m -m z: -f "G:\temp\test.iso" -x 53 -y 255 -p "/FS:FAT32"
Creating device...
Error creating virtual disk: The system cannot find the file specified.
c:\Users\Steve\AppData\Local\Temp>imdisk -a -s 422m -m z: -f "G:\temp\test.iso" -x 53 -y 255 -p "/FS:FAT32"
Creating device...
Error creating virtual disk: The system cannot find the file specified.
c:\Users\Steve\AppData\Local\Temp>imdisk -a -s 422m -m z: -f "G:\temp\test.imgptn" -x 53 -y 255 -p "/FS:FAT32"
Creating device...
Created device 0: Z: -> G:\temp\test.imgptn
Formatting disk Z:...
The type of the file system is FAT32.
Enter current volume label for drive Z: An incorrect volume label was entered for this drive.
^C
c:\Users\Steve\AppData\Local\Temp>


#2 Olof Lagerkvist

Olof Lagerkvist

    Gold Member

  • Developer
  • 1448 posts
  • Location:Borås, Sweden
  •  
    Sweden

Posted 09 March 2017 - 01:31 PM

Yes. The iso (and nrg etc) extensions defaults to read-only CD/DVD emulation. Read-only mounting never creates a new image file.

#3 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 09 March 2017 - 01:37 PM

Thanks. Is there an override switch so that it could be made to work?



#4 Olof Lagerkvist

Olof Lagerkvist

    Gold Member

  • Developer
  • 1448 posts
  • Location:Borås, Sweden
  •  
    Sweden

Posted 09 March 2017 - 01:49 PM

Yes.

-o hd

This disables any auto-detections and specifies "hard disk volume" as device type.
  • steve6375 and Chandra-Orbit like this




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users