살군의 보조기억 장치

Another memory device…

Archive for the ‘Memories’ Category

Mac OSX Mountain Lion 굽는법

leave a comment »

Mac 파티션을 정리하다 날린적이 있어서 OS를 찾다보니 없다. 이런… 여차저차해서 다운은 받았는데 웬걸 single layer DVD 로는 용량문제로 굽기가 안된다. 물론 구글로 찾아보니 이럴 해결하신 훌륭한 분이 있다. 원문은 아래 참고를 참조하자.

Step One – Download the Mountain Lion installer

Head over to the Apple App Store and download the installer.

mountain-lion-product-page

If you have already purchased Mountain Lion, check your “Purchases” section and you can download from there.

re-download

Then sit back and wait while it downloads.

mountain-lion-download

Step Two – Quit the Installer Once it’s Finished Downloading & Copy

The installer will automatically launch once it is completed downloading. You need to STOP that lion in it’s tracks right there. Just select “Quit” from the “File” menu.

installer-splash

Then, go into your “Applications” folder and copy the Mountain Lion Installer to another location like your Desktop. (Remember to copy and not move.)

copy-to-desktop

You can see that the installer is about 4.37 GB (as I mentioned before, the expanded size is LARGER than what will fit on a single-sided DVD so get a dual-sided DVD).

Step Three – Show Package Contents & Copy the Installer File

From the copy that you created of the installer (e.g., the one on your Desktop), you will need to extract the actual installer DMG from the Package Contents. To do this, right-click on the Installer file and choose “Show Package Contents”.

show-package-contents

From within the Package Contents, navigate to: Contents > Shared Support and select the “InstallESD.dmg” file and COPY that back to your Desktop (or wherever you want). You will need this file (“InstallESD.dmg”) for the bootable DVD.

InstallESD.dmg

Remember the location where you put that .dmg file.

Step Four – Burn the DVD (or the USB drive)

The next step is to burn the actual DVD. As I already said a few times, you need a dual-sided DVD (see step 4a below on how to burn a single-sided DVD). I only had a single-sided DVD so I’m showing the steps here that you would use.

(Note: untested instructions for how to make a bootable USB thumb drive are below as well.)

DVD Installer

First, launch the “Disk Utility” application. Then click on the “Burn” icon.

burn-dvd

When you click on the “Burn” icon, you will be asked which image you would like to burn. Navigate to where you saved the “InstallESD.dmg” file and select that.

burn-installESD

Normally, your DVD would start burning at this point, however, I didn’t have a dual-layer/double-sided DVD and the expanded size of the installer just wouldn’t fit.

not-enough-space

But if you do have a dual-layer DVD, you should then click the “Burn” button and you will shortly have a bootable Mountain Lion Installer DVD.

Step 4a – Burning a Single-Layer DVD

Thanks to comments and instructions by Benoit (in comments section below), there is now a way to burn a single-layer/single-sided DVD. I have tested this out and it seems to work. Here are the steps:

First, you need to create an empty image using Disk Utility. Click on “New Image”.

new-image

Then fill out the dialog box with:

Save As: “OSX Mountain Lion DVD”
Name: “OSX Mountain Lion DVD”
Size: Select –> “4.6 GB (DVD-R/DVD-RAM)”
Format: “Mac OS Extended (Journaled)”
Encryption: “None”
Partitions: “Single Partition – GUID Partition Map” “Single Partition – Apple Partition Map”
Image Format: “read/write disk image”

See below:

If you new image/partition doesn’t mount, run a “Repair” on it as that will correct the issue and allow you to mount it as well as update it to make it bootable.

repair-bootable

Next, create that image and then mount the “InstallESD.dmg” image that you had saved (to your Desktop) previously. When both are mounted, it should look something like this:

mounted-images

Since the mounted “InstallESD.dmg” image shows a capacity of 4.75 GB, Disk Utility can’t burn it since a single-sided DVD is less than that. So, what you need to do is actually copy the contents of the “installESD.dmg” mounted image into your newly created “OSX Mountain Lion DVD” image. At this point, you need to open your Terminal application to copy the files using the following terminal command (note: if you have spaces in the names, you need to use the “\” to denote that – slightly different than in Benoit’s comments):

cp -Rv /Volumes/Mac\ OS\ X\ Install\ ESD/* /Volumes/OSX\ Mountain\ Lion\ DVD/

(Note: Benoit did say that you can add a -p command to the command line – see the comments – I have not tested this – so it would be “cp -pvR”)

Here’s what it looks like in the Terminal:

terminal-command

The process of copying will take a few minutes but you will see the progress on the Terminal screen. When it it completed, and be sure you don’t have any errors, you should see something similar to this:

terminal-copy-completed

At this point, you can “exit” out of the Terminal app.

Now, you can BURN the single-sided DVD based on that new image that you created. Just follow the steps outlined in “Step Four – Burn the DVD” but use the newly created image instead of the “installESD.dmg” one:

burn-image-2

And look! It’s burning on a single-layer DVD:

burning-single-layer

And it burned the single-layer DVD successfully!

successful-burn

I took this newly created single-layer DVD and booted my MacBook Pro off of it (holding “Option” while rebooting), so it looks like this process works. It DOES take a very long time to boot from the DVD though. Thanks again Benoit!

참고
Advertisements

Written by gomiski

2014/08/22 at 7:05 pm

Posted in Life, Memories

Tagged with , , , , , , ,

잘 만든 소스코드란?

leave a comment »

흔히들 말하는 “잘 만든 소스코드란 무엇인가?” 에 대한 스크랩이다. 이 글을 본 지는 엄청 오래됐는데, 한번 봐야지 하면서 계속 미루고 미루다 결국 메일함의 한쪽구석에서 계속 방치되고 있어서 이리로 옮겼다. 둠3 소스코드 공개는 꽤 오래전에 있었던 이벤트였는데… 존 카막 이 냥반이 지금은 오큘러스 리프트의 CTO 로 옮겨가서 오큘러스에 대한 기대감이 급 상승되고있다. 그걸 반영하듯 얼마전에 오큘러스를 페북에서 낼름 사버리는 빅뉴스가 발표되었고. 제품이 시장에 나오면 게임내의 사용자 인터페이스가 엄청나게 바뀌게 될 가능성이 아주높아 보인다.
그치만 실제로 이걸 착용하고 하프라이프2 를 돌려보니 무진장 어지럽더라. 내가 기기에 적응을 해야되는건가?…;;; 여튼, 오늘은 The Exceptional Beauty of Doom 3’s Source Code 꼭 읽어봐야지.

Written by gomiski

2014/04/16 at 6:18 am

맥 원격접속 단축키

leave a comment »

여기를 참고했다.
Finder 창에 포커스를 두고, command + K
주소를 치면 접속 끝.

보안을 위해 원격접속의 환경설정에서 “항상 보안연결” 을 하면 좀 더 보안이 강화된 원격접속이 가능하다.

Written by gomiski

2014/04/10 at 1:18 am

Posted in Life, Memories

Tagged with , ,

첫번째 커밋. 그리고 fail…

with one comment

드디여 opencv community 에 처음으로 커밋을 했다.
나름 고민고민해서 올렸는데…

두둥!!!
build bot 에서 fail 이 떳다.
뭐가 문제인지 찾아볼려고 하니… 잉? 로그를 못찾겠네. 제일 좋은건 github 에서 commit 한 번호 옆에 떠 있는 마커를 클릭하면 빌드봇의 현재 상태를 알 수 있다. 아니면 여기에서 볼 수 있다.

일단은 fail 먹었으니… 로그보고 고쳐야지.

update
두번의 추가 커밋으로 build bot 에서 발생하는 에러는 다 잡았다. 이제는 under review 상태! 크흐흐.

Written by gomiski

2014/04/03 at 7:35 am

Posted in Life, Memories, opencv, study

Tagged with , , , ,

처음으로 opencv 커뮤니티에 질문을 올렸다.

leave a comment »

Duplicated declaration in ts.hpp 요렇게 올렸는데, 두근두근… 답이 있을려나? 혹시 아시는 분은 답변 부탁드려요~ 🙂

Written by gomiski

2014/02/10 at 7:08 am

공짜는 없구나.

with one comment

간만에 포스팅을 하니 광고가 보일 수.도 있다는 메시지가 뜨네. 역시 공짜는 없구나. 그냥 편하니까 쓴다.

Written by gomiski

2014/02/04 at 4:19 pm

Posted in Life, Memories

OpenCV 분석 시작

leave a comment »

예전부터 오픈소스 프로젝트에 참여를 하고 싶었으나, 어디서부터 시작해야 될 지를 고민하다 그만두기를 몇번을 반복했다. 결국은 다시 처음으로 돌아와서 OpenCV 를 타겟으로 잡았다. 이걸 잡고 보니… 역.시.나. 엄청난 규모의 프로젝트에 또 손을 놓을 뻔 했다.

다행히 low priority 중에서 내가 기여할 수 있는 부분을 발견했다. test code. 코드 분석을 시작하기에는 적당한 포인트인 것 같다. 그리고 wordpress 에서 코드를 붙여넣을 수 있는 방법도 발견했고. 이게 없었으면 아마 코드 분석도 시간이 좀 걸렸을 꺼 같다. 내 기록이 남아있어야 나중에라도 편안하게 찾아 볼 수 있으니 말이다.

이제 준비는 다됐다. 맘껏 시작하면 된다.!!

Written by gomiski

2014/02/04 at 4:16 pm

Posted in Life, Memories, study

Tagged with