January 9, 201610 yr Does anyone know a way to mount a ram IMG file (OpenELEC in this case) in windows for the purpose of extracting files from it?
January 9, 201610 yr John, not sure if this would work with a disk in memory, but this is how I mount my Unraid-VM.img in windows... <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/virtualisation/vm/unraid-vm/unraid-vm.img'/> <target dev='hdd' bus='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </disk>
January 9, 201610 yr Author John, not sure if this would work with a disk in memory, but this is how I mount my Unraid-VM.img in windows... <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/virtualisation/vm/unraid-vm/unraid-vm.img'/> <target dev='hdd' bus='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </disk> Actually, you just triggered an idea. Since I want to move some files in the IMG file to the new OE VM, I guess I could just mount it as another disk in the OE VM and use Kodi File Manager to do it. As long as I make sure the existing OE IMG is the first boot device, I think this may work. I'll report back in a few. John
January 9, 201610 yr That's kind of what I do, I mount the .img in Windows to easily copy the bzroot and bzimage files to...
January 9, 201610 yr Author That's kind of what I do, I mount the .img in Windows to easily copy the bzroot and bzimage files to... Only problem is that I don't have a Windows VM. I was looking for a way to mount the IMG on a physical Windows machine.
January 9, 201610 yr That's kind of what I do, I mount the .img in Windows to easily copy the bzroot and bzimage files to... Only problem is that I don't have a Windows VM. I was looking for a way to mount the IMG on a physical Windows machine. I'm sure I've done that in the past let me rack my brains....
January 9, 201610 yr Just tried it again and can only open my .img file as read only. Any reason why you can't just mount it through cmd line on your Unraid box?
January 9, 201610 yr That's kind of what I do, I mount the .img in Windows to easily copy the bzroot and bzimage files to... Only problem is that I don't have a Windows VM. I was looking for a way to mount the IMG on a physical Windows machine. I use Daemon Tools for this purpose.
January 9, 201610 yr Author I think I used this... This is the first thing I tried but it does not recognize the format. Windows wants me to format it as soon as it mounts. Before I try Daemon Tools, are you guys sure it will mount a raw Linux (OE) IMG?
January 9, 201610 yr Same result with Daemon Tools. Daemon Tools will mount any image file as though it were a DVD. However it seems you need to also get the Linux file system recognised? What type of Linux file system is it - you will need to find a corresponding Windows driver to get a Linux file system recognised.
January 9, 201610 yr Author OK..I got it. I kept trying to add it is a second disk and mount it in OE, however, if I made it IDE like the primary disk (which is required for some reason with OVMF on my system) it kept trying to make it the first boot device. So, I changed it to SATA and OE mounted it fine: <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/cache/VMs/HTPCFAMILYRM/vdisk1.img'/> <backingStore/> <target dev='hda' bus='ide'/> <boot order='1'/> <alias name='ide0-0-0'/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </disk> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/cache/VMs/HTPCFAMILYRM.old2/vdisk1.img'/> <backingStore/> <target dev='hdb' bus='sata'/> <boot order='2'/> <alias name='sata0-0-1'/> <address type='drive' controller='0' bus='0' target='0' unit='1'/> </disk> Now when I reinstall Retroarch on this OE VM, I can just move my cofig and metadata from the old image rather than have to go through the whole setup again. John
January 9, 201610 yr John the way I ended up updating my Unraid-VM is here in the blog post I wrote (Appendix 2) May be another way to accomplish what you want?
Archived
This topic is now archived and is closed to further replies.