Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

alexbates

macrumors 65816
Original poster
Nov 24, 2008
1,082
0
Georgia, USA
I have made an ISO image from my Snow Leopard Install DVD. Here is what shows up in terminal with it mounted (diskutil list):

Code:
/dev/disk2
   #:               TYPE NAME                    SIZE          IDENTIFIER
   0:     Apple_partition_scheme              *8.1 GB     disk2
   1:     Apple_partition_map                   30.7 KB     disk2s1
   2:     Apple_Driver_ATAPI                    827.5 MB   disk2s2
   3:     Apple_HFS Mac OS X Install DVD   7.3 GB      disk2s3

Obviously, disk2s2 is the Boot Camp partition of the ISO.

What Unix commands would I use to delete the 827.5MB partition, and resize the 7.3GB partition to its full 8.1GB? I have done hours of searching, but haven't found any info on how to do this.

Thanks in advance!
 
Re-create the image by using "Image from folder" (with a mounted volume) rather than "Image from device". My guess is you actually want to make this a read-write image from the bat. Set the size to be what you want.
 
oh gonna listen in on this, always wanted to know how to modify read only images.

What is your goal? In some cases it is as easy as mounting with a shadow file, in other cases you just need to use 'hdiutil convert'. There are a number of techniques.
 
What is your goal? In some cases it is as easy as mounting with a shadow file, in other cases you just need to use 'hdiutil convert'. There are a number of techniques.

Well nothing right now. I dó remember several incidents where it would have been usefull to know.

Shadow file?
 
Re-create the image by using "Image from folder" (with a mounted volume) rather than "Image from device". My guess is you actually want to make this a read-write image from the bat. Set the size to be what you want.

Thanks so much! Simply making a new image from the mounted volume deletes the bootcamp partition, and automatically reduces the size of the image.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.