Technical professionals. Trusted advisors. Certified expertise.
There are times when you come across a dmg image that has a larger disk geometry size than needed. This can cause issues if you try to restore a monolithic disk image to a volume smaller than your total dmg size. This is a common issue if Disk Utility was used to capture an Image of a Macintosh HD. To fix this issue, follow the commands below.
#Find out the resize limits
sudo hdiutil resize -limits /Users/username/Desktop/Read.dmg
#Convert the dmg to read write
sudo hdiutil convert /Users/username/Desktop/Read.dmg -format UDRW -o Write.dmg
#Resize the DMG
sudo hdiutil resize -size 50g /Users/username/Desktop/Write.dmg
#Convert back to read only DMG
sudo hdiutil convert /Users/username/Desktop/Write.dmg -format UDRO -o Read.dmg
#Scan image for restore
sudo asr imagescan --source /Users/username/Desktop/Read.dmg
When you subscribe to the blog, we will send you an e-mail when there are new updates on the site so you wouldn't miss them.
80 Orville Drive Suite 100
Bohemia, NY 11716
Tel: (866) 518-9672
This email address is being protected from spambots. You need JavaScript enabled to view it.
65 High Ridge Road #510
Stamford, CT 06905
Tel: (866) 518-9672
This email address is being protected from spambots. You need JavaScript enabled to view it.
3321 SW 194th Terrace
Miramar, FL 33029
Tel: (866) 518-9672
This email address is being protected from spambots. You need JavaScript enabled to view it.
218 Barksdale Drive
Broussard LA 70518
This email address is being protected from spambots. You need JavaScript enabled to view it.
4 Knollwood Place
Joliet, IL 60433
This email address is being protected from spambots. You need JavaScript enabled to view it.
10 Grosvenor Court
Rayners Road
London SW15 2AX UK
© Copyright 2023, HCS Technology Group. All Rights Reserved.