Discuss How to resize a DMG with hdiutil? at the Tiger - Hackint0sh.org; hi, I've been trying to resize a DVD image with hdiutil. It showld work but ...
-
How to resize a DMG with hdiutil?
hi, I've been trying to resize a DVD image with hdiutil. It showld work but it doesnt.
I do:
hdiutil resize -size 1g disk1.dmg
hdiutil resize -size 1g -partitionOnly disk1.dmg
hdiutil resize -size 1g -imageOnly disk1.dmg
and I get this error every time,
hdiutil: resize request is below minimum size allowed.
hdiutil: resize: failed. Invalid argument (22)
the image has read/write privileges, and is not mounted. Its also empty (I deleted all the contents, I just need the bootsector).
Im missing something.....
-
-
this works perfectly fine for me :
~ : hdiutil resize -size 40M ~/Desktop/new4test.dmg
~ : ll ~/Desktop/new4test.dmg
-rw-r--r-- 1 caytam caytam 41980928 Jul 30 07:24 ~/Desktop/new4test.dmg
~ : hdiutil resize -size 100M ~/Desktop/new4test.dmg
~ : ll ~/Desktop/new4test.dmg
-rw-r--r-- 1 caytam caytam 104895488 Jul 30 07:25 ~/Desktop/new4test.dmg
your problem should be elsewhere.
Try to have a look to this i got different problem a bit time ago:
http://www.hackint0sh.org/forum/show...41&postcount=7
http://www.hackint0sh.org/forum/show...3&postcount=10
-
-
if you just need a boot sector
why not use dd and the i386s(standalone/i386) create one by yourself
-

Originally Posted by
hdfdisk
if you just need a boot sector
why not use dd and the i386s(standalone/i386) create one by yourself
Thats a good one!, thanks
-
Similar Threads
-
By k1piee in forum Genuine Mac Support
Replies: 1
Last Post: 06-29-2010, 01:39 AM
-
By ziffer in forum Winpwn
Replies: 1
Last Post: 03-19-2009, 11:54 PM
-
Replies: 3
Last Post: 08-15-2008, 06:03 AM
-
By joseluismb in forum General
Replies: 3
Last Post: 12-16-2007, 09:19 PM
-
By joseluismb in forum General
Replies: 1
Last Post: 11-27-2007, 06:34 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks