Timeline for Can not resize disk image file .dmg
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 31 at 1:26 | comment | added | matt |
I found this answer very useful; hdiutil works just fine where Disk Utility refuses with that "disk image cannot be resized" message.
|
|
Dec 14, 2022 at 20:05 | comment | added | Kamafeather |
Thank you, it's always hard to figure out what unit each different utility uses. Some use Gigabits, others Gigabytes, and it's not clear what a g or G are meant to represent.
|
|
Dec 10, 2022 at 4:11 | comment | added | rtx13 |
@Kamafeather — In 150g , the g represents 1024^3, not 1000^3, so 150g works out to approximately 161*1000^3 bytes.
|
|
Jul 2, 2021 at 11:11 | comment | added | ensbana | When I typed hdiutil resize -size 35g ~/Volumes/Transcend\ SD\ Card/Backup.dmg, the Terminal said that “No such file or directory”. Did I type it wrong somehow? | |
Sep 12, 2020 at 4:05 | comment | added | Enrico Susatyo | This also works on read/write disk image, thank you. | |
Apr 4, 2020 at 9:22 | comment | added | Kamafeather |
Funny that in my case I specified -size 150g but it resized to 160GB 🤷♂️. However it worked, thank you! +1
|
|
Apr 17, 2018 at 1:10 | history | answered | Bill | CC BY-SA 3.0 |