<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar/6154817622702903944?origin\x3dhttp://vincent1303.blogspot.com', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe", messageHandlersFilter: gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER, messageHandlers: { 'blogger-ping': function() {} } }); } }); </script>

Convert OSX dmg file to img file. IN Linux


download this file on linux:

extract, enter the dir and type:
make
sudo make install

Usage:
dmg2img -i image.img -o newimage.img

now you can mount it from root:
modprobe hfsplus
mount -t hfsplus -o loop newimage.img /folder_you_want

Link from

“ Convert OSX dmg file to img file. IN Linux ”