Last active
          October 16, 2019 11:44 
        
      - 
      
- 
        Save martinhj/07ba87874b0f51e7fd322852865d7353 to your computer and use it in GitHub Desktop. 
    mount disk images: scan image for partition and set up loop independent devices for each
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # Linux (when in need for read/write on ext* | |
| losetup -Pf --show imageFilePath.img | |
| mount /dev/loop0p1 /mnt/ | |
| # Mac | |
| hdiutil attach -nomount imageFilePath.img | |
| sudo diskutil mountDisk /dev/disk2 | |
| # don't need this anymore... sudo mount -t msdos /dev/disk2s1 /Volumes/somethingsomething | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment