Tuesday, March 31, 2009

MAC OS X: Create an ISO from CD/DVD (and mount it)

Run this command to create an ISO image from a physical CD/DVD:

# for i in `drutil status | grep dev | awk '{print $4}'`
> do diskutil unmountDisk $i
> dd if=${i} of=/Users/username/Desktop/thecdname.iso bs=2048
> done

Mount it
mount /Users/username/Desktop/thecdname.iso -t iso9660 -o ro,loop /mnt/

Enjoy!

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home