Posts

Showing posts from January, 2013

dmg2iso script for mac

To convert .dmg file to iso on MAC, use this script.      $> sudo vi /usr/bin/dmg2iso            #!/bin/bash            echo "Converting "$1".dmg to "$1".iso:"            hdiutil convert "$1".dmg -format UDTO -o "$1".iso            mv "$1".iso.cdr "$1".iso      $> sudo chmod +x /usr/bin/dmg2iso      $> dmg2iso [filename without extension .dmg] [Ref:  http://hints.macworld.com/article.php?story=20040121135301830 ] Another easy way.  Open terminal $>mount Then, find ODD path like /dev/disk1s2.  then  $>dd if=/dev/dis1s2 of=image.iso Easy isn't it?

How to install Xcode 3.2.6 on Snow Leopard

1. To check log file on /var/log/install.log 2. iOS or iPhone related pkg failed due to UNTRUSTED. 3. Then roll back system date to before March 2012. 4. Install again. 

Bootcamp로 윈도 설치중에 다시 파티션 복구하는법

제목은 쉬어보이지만, 복구하는게 20-30분 넘어도 안될때가 있습니다. 그럴땐 디스크유틸리티 실행하셔서 포멧안된 파티션을 FAT로 포멧해버린 후에 다시 부트캠프 어시스턴트 실행시키면 바로 복구가 되네요. 그럼 참고하세요.

Convert Dos file to Unix file on MAC

1. To make /usr/bin/dos2unix excutable file as below: #/usr/bin/sh perl -pi -e 's/\r/\n/g' $* 2. make it excutable $> chmod +rx /usr/bin/dos2unix 3. To type following script: $> find . -name "*" -type f -exec dos2unix {} \;