달력

4

« 2024/4 »

  • 28
  • 29
  • 30
2013. 3. 16. 10:27

Software Update 하는 방법 macOS/Tip2013. 3. 16. 10:27

Mac OS X 를 사용하는 도중 한동안 업데이트를 실행하지 않으면 많은 항목을 한꺼번에 업데이트해야 하는 상황이 발생한다.

이때 모든 항목을 업데이트하기에는 양이 너무 많아서 업데이트가 안되는 상황이 발생한다.

이런 경우 아래 그림과 같이 하나씩 업데이트해주는 간단한 팁이 도움이 된다.


특히 재시동이 필요한 업데이트는 제일 나중에 진행하는 것이 좋다.


'macOS > Tip' 카테고리의 다른 글

맥 부팅이 안될 때  (0) 2013.03.18
폰트통  (0) 2013.03.17
ad.yieldmanager 제거하는 방법  (0) 2013.03.02
Air Drop 설정하는 방법  (3) 2013.02.28
HDD 복구 방법 - Invalid BS_impBoot  (10) 2012.11.21
:
Posted by uno-ani
2013. 3. 2. 23:35

ad.yieldmanager 제거하는 방법 macOS/Tip2013. 3. 2. 23:35


1. 먼저  ~/Library/Internet Plugins 폴더와 /Library/Input Managers 폴더에 불필요한 화일들이 없는지 확인하고 있다면 제거한다.   간혹 숨김속성의 화일 존재한다.

2. 다음은  App Delete  와 AppZapper 를 이용하여 불필요한 화일을 제거한다.

3. /etc/hosts  화일에 다음과 같은 항목을 추가한다.


127.0.0.1      ad.yieldmanager.com


4. 사파리 환경 설정에서 "ad.yeildmanager"를 제거한다.




'macOS > Tip' 카테고리의 다른 글

폰트통  (0) 2013.03.17
Software Update 하는 방법  (0) 2013.03.16
Air Drop 설정하는 방법  (3) 2013.02.28
HDD 복구 방법 - Invalid BS_impBoot  (10) 2012.11.21
맥 파티션에 디스크 공간이 부족하여 부팅이 안될때 조치방법  (0) 2012.11.17
:
Posted by uno-ani
2013. 2. 28. 12:08

Air Drop 설정하는 방법 macOS/Tip2013. 2. 28. 12:08

이렇게 간단한 작업을 똥팔이들은 재설치를 권유한다.

하지만, 똥팔이들의 함정 : http://osx86.tistory.com/1512



1. 다음과 같이 환경설정에서 자신의 시스템의 이름을 설정한다.

- 이때, 한글에 집착하지 말자.  

- 가능한 영문으로 설정하는 것이 적절하다.

2. 다음 Air Drop에서도 마찬가지이다.  한글에 집착증이 있으신 분들은 포기하는 것이 적절하다.  걍 영문으로 포기하는 것이 적절하다.



:
Posted by uno-ani
2012. 11. 21. 15:18

HDD 복구 방법 - Invalid BS_impBoot macOS/Tip2012. 11. 21. 15:18




Update : http://cafe.naver.com/uefi/7064


1. 증상

아래 그림과 같이 "Invalid BS_impBoot in boot block:fa31c0"라는 메시지를 Disk Utility 에서 복구를 실행하면 볼 수 있다.

구글링하면 이 증상으로 쌍코피 흘리는 맥 사용자들이 아우성이다.

뭐 그닥 Apple사에서도 관심없는 듯 하고 아뭏든 사용자 실수이니 직접 해결할 수 밖에,,,,

Invalid BS_impBoot in boot block


 2012-11-21  3.56.38


- Mac OS X(Journal)로 포맷된 파티션이 어느날 갑자기 아래 그림과 같이 Disk Utility에서 MS-DOS(FAT) 포맷으로 보인다.


 2012-11-21  3.56.38


2. Windows 에서 Pragon HDD Manager를 이용하여 보면 Apple HFS로 정상적으로 보인다.

- 물론 Paragon HDD manager로 디스크 체크를 해보면 정상적으로 체크는 되지 않는다.

- 이 현상은 "Still Waiting Root Device"의 원인이 되기도 한다.

- 일반적으로 부팅실패하고 부팅시도하면 금지마크로 보인다.

- 이럴때는 손상된 파티션을 Paragon HDD manager의 백업기능이나 파티션 복사 기능을 이용하여 여분의 HDD의 공간에 파티션 복사를 하여 준 다음 다시 원위치하면 간단하게 해결할 수 있다. 즉 paragon으로 복구시 자동으로 파티션을 복구하는 기능을 이용하는 방법이다.

- 그런데 460G정도의 파티션 기준으로 24시간 정도의 시간이 걸린다.  다시 복사하는 데 24 시간 해서 토탈 복구시간은 4일 그냥 우습게 지나간다.

- HDD 파티션의 데이타에 미련이 없다면 깔끔하게 재파티션 후 포맷을 해주는 것이 적절하다.

- 유사한 HDD 이슈는 다음글을 참조한다.  http://osx86.tistory.com/1515


3. 근본적인 원인은 현재 Mac Drive등의 소프트웨어로 인해 맥 파티션의 파티션 블락에 손상을 입힌다 정도이다. 물론, 무분별한 Mac OS X 반복설치때에도 발생하기도 한다.

- 용팔이 들이 은근슬쩍 사용자에게 이 소프트웨어 설치를 권하고 문제가 발생하여 HDD 복구요청을 하면 대략 30만원 정도 요구를 할 것이다.

- 용팔이들의 호갱용이다. ㅎ ㅎ 



Update:


INVALID BS_JMPBOOT IN BOOT BLOCK: 000000

MediaFour‘s MacDrive (7.2.6) keeps screwing up the GPT on my external GPT-formatted drive. It has one HFS+ partition and one 200 MB EFI system partition, and when I boot my iMac into Windows (Vista SP1 x86), mount the drive, and then boot back into Mac OS X (10.5), I usually find that OS X won’t recognize the HFS+ volume any more. The characteristic error is an ignore/eject/format unrecognized dialog after OS X login, and “invalid BS_jmpBoot in boot block: 000000″ from Disk Utility when trying to repair it.

It seems that the GUID for the HFS+ volume is changed from {48465300-0000-11AA-AA11-00306543ECAC} (HFS+) to {EBD0A0A2-B9E5-4433-87C0-68B6B72699C7} (“Microsoft Basic Data”). Windows doesn’t have any trouble mounting it as long as MacDrive is installed, it’s OS X that has the problem. I was able to fix the GPT by changing the GUID back to what it should be, at which point the drive was recognized by OS X, and found that the actual HFS+ file system was unharmed. I wrote most of a GPT editor in the process, and if Mediafour doesn’t fix MacDrive soon, I may end up turning it into a one-click GPT fixer.

***

update:

Here’s the tool I used to fix my own disk: gpt_surgeon.py

It’ll need Python 2.5 or higher, and has only been tried in OS X on my own machine. Run it with no arguments or look at the code for a usage statement. The repair process goes like this:

First, list the partitions on your disk to figure out which one needs to be relabeled with the right filesystem type. If you don’t know what your disk device path is, go look in Disk Utility or System Profiler or run diskutil(8) with its list option. The path for my external disk is /dev/disk1.

$ ./gpt_surgeon.py list /dev/disk1

Read MBR and GPT from /dev/disk1.
partition 0:
     type: EFI System
     name: u'EFI System Partition'
    flags: 0x00000000
partition 1:
     type: Microsoft Basic Data
     name: u'Untitled'
    flags: 0x00000000

Note the partition that says “Microsoft Basic Data”. Assuming that you had a single non-system partition on the disk, and that the partition was HFS+ before MacDrive got to it, this is probably that partition. In my case, it’s partition 1. Remember the number; you’ll need it in the next step.

If you have multiple data partitions on the disk, especially if one of them is actually a Windows data partition, you should use something like disktype to check what filesystems are present in each partition, so that you don’t accidentally relabel the wrong one.

If you have any other partitions from this disk mounted, unmount them now.

You’ll need to run with sudo to get the privileges necessary to actually repair the GPT on disk.

$ sudo ./gpt_surgeon.py repair /dev/disk1 1

Read MBR and GPT from /dev/disk1.
Changing type of partition #1 on /dev/disk1 to HFS+...
    Opened /dev/disk1 for writing.
    Wrote MBR.
    Wrote GPT header.
    Wrote GPT entries.
    Closed /dev/disk1.
Done.

And this is what the disk’s GPT should look like afterwards. Your HFS+ partition should be mountable now.

$ ./gpt_surgeon.py list /dev/disk1

Read MBR and GPT from /dev/disk1.
partition 0:
     type: EFI System
     name: u'EFI System Partition'
    flags: 0x00000000
partition 1:
     type: Apple HFS+
     name: u'Untitled'
    flags: 0x00000000

***

second update: commenter James let me know that Christophe Grenier‘s TestDisk utility can also be used to fix this problem.

***

third update: here’s a video walkthrough of the process. For people who have Flash turned off for some reason, please see the QuickTime version of the walkthrough.

***

last updategpt-surgeon is opening up! Thanks to all who submitted usage reports, suggestions, failure data, and proposed patches. I hope you’ll find future versions at least as useful.Comments have been turned off for this post; all questions, comments, suggestions, and support requests about gpt-surgeon must be submitted through the gpt-surgeon LaunchPad siteand should be accompanied with disktype reports.


:
Posted by Ritz®™

우선 부팅이 된다면 :  http://osx86.tistory.com/1361


싱글유저모드로 부팅하여 사용자 계정의 폴더에 있는 불필요한 파일들을 제거하여 주면 된다.



1 싱글 유저 모드로 맥을 시동한다.

2 '/sbin/fsck  -fy' 라고 입력하고 엔터를 눌러 파일시스템을 복구한다.
‘mount -uw /’라고 입력하고 [Return]키를 누른다.
4 사용자계정아이디 디렉토리에서 Downloads 폴더와 Documents 폴더에서 용량이 큰 화일을 제거한다.  또한, 음악이나 동영상등을 iTunes에서 다운로드 받았다면  이 파일들을 제거하여 주어야 한다.


싱글 유저 또는 Verbose 모드로 시동하는 방법
트러블 슈팅이나 소프트웨어 개발시 사용되는 싱글 유저 모드, 또는 Verbose 모드로 맥을 시동할 때는 적절한 키 조합을 이용한다. 그 방법은 다음과 같다. 

맥의 전원을 제거한다 -> 파워 버튼을 눌러 컴퓨터를 시동한다 -> 곧바로 [Command]키를 누른 채 다음 중 하나의 키를 누른다(싱글 유저 모드 시동 : [S]키, Verbose 모드 시동 : [V]키) -> 싱글 유저 모드를 종료하고자 한다면 ‘reboot’라고 입력한다 -> [Return]키를 누른다 

화면에 하얀 텍스트가 표시되면 ‘싱글 유저 모드’ 또는 ‘Verbose 모드’로 시동하는 데 성공한 것이다.




사용자 계정 폴더 확인 및 파일제거 방법

1. cd 명령어를 이용하여 폴더로 이동하기
#cd /Users/사용자계정아이디/Downloads/ 
- 사용자계정아이디 다운로드 폴더 위치
/Users/사용자계정아이디/Downloads/ 
- 사용자계정아이디 문서 폴더 위치
/Users/사용자계정아이디/Documents/ 
- 사용자계정아이디 iTunes 다운로드 폴더 위치
/Users/사용자계정아이디/Music/iTunes/iTunes Media/ 

2. ls 명령어를 이용하여 파일크기가 큰 화일 확인하기
#ls   -al  
3. rm(remove) 명령어를 이용하여 불필요한 파일제거하기
이 명령어를 사용할때는 특히나 주의하여야 한다.
#rm  -rf  /Users/사용자계정아이디/Downloads/제거해야 할 파일명.zip

4. 파일 크기가 큰 파일을 제거하였다면 "exit"를 입력하고 'Ent'를 눌러서 정상부팅을 계속 진행한다.
#exit


'macOS > Tip' 카테고리의 다른 글

Air Drop 설정하는 방법  (3) 2013.02.28
HDD 복구 방법 - Invalid BS_impBoot  (10) 2012.11.21
FaceTime 과 iMessages 가 안될 때  (0) 2012.11.09
Apple ID 일관성 있게 유지하는 방법  (0) 2012.10.08
유용한 터미널 명령어  (1) 2009.03.10
:
Posted by uno-ani
2012. 11. 9. 16:40

FaceTime 과 iMessages 가 안될 때 macOS/Tip2012. 11. 9. 16:40

1. 시스템 환경설정을 열어서 날짜와 시간을 선택한다.

2. 날짜와 시간 탭에서 자동으로 날짜 및 시간 설정에 체크를 하고 옆의 칸에  Apple 미국  으로 설정한다.

3. 시간대 탭에서서 현재 위치를 사용하여 자동을 시간대 설정을 체크한다.  자기 위치로 시간대 설정이 된다.

4. 이제 iMeessages 와 FaceTime을 실행한다.



 2012-11-09  4.28.10

:
Posted by Ritz®™
2012. 10. 8. 08:37

Apple ID 일관성 있게 유지하는 방법 macOS/Tip2012. 10. 8. 08:37

아이폰, 맥북, 아이맥, 맥프로 등을 사용할 때 각각의 기기들의 Apple ID가 존재하는 경우가 있다.

즉, 기존에 맥북이나 아이맥등을 사용하고 있었고 아이폰을 신규구매하여 Apple ID를 추가구매하였을 경우에는 어떻게 해야 할까?

이 경우에는 다음과 같은 방법으로 Apple ID를 일관성있게 관리해 보자.

1. 우선 공통적으로 사용할 iCloud ID 가 있다.  그리고 아이폰 앱을 구매한 이력이 있는 iTunes ID 와 Mac System에서 사용하는 ID가 있다.  또한 기존의 me.com ID 등이 있다.

- iCloud ID 용도는 알다시 Safari, iMessages, 연락처, Photo Stream, text editor, iWork 등에서 사용한다.  따라서, 반드시 iCloud ID 를 중심으로 대동단결하는 것이 적절하다.

- iTunes Store ID

- App Store ID

- 즉, ???@icloud.com 이나 ???@mac.com 을 기준으로 삼고 gmail등의 메일주소를 대체 메일 주소로 추가하여 사용하는 것이 적절하다.


1. Apple ID를 추가하여 주는 방법

https://appleid.apple.com/

Apple ID

- Manager Your Apple ID 로 접속한다.

- 반드시 iCloud ID로 로긴한다.

- 제일 아래 부분의 Add Email Address 를 클릭하여 Apple ID(iTunes ID, App Store ID등)를 추가하여 준다.

Add Apple ID

2.  패스워드를 리셋시켜서 다시 로긴한다.

- 만약 Apple ID 를 추가하였음에도 불구하고 아이폰이나 맥시스템에서 로긴이 안된다면 패스워드를 리셋시킨 후 다시 접속한다.

- 이때, 패스워드는 반드시 영문 대문자가 적어도 하나는 포함이 되어야 하고 영소문자와 숫자의 조합으로 구성되어야 한다.

- iTunes를 실행하여 아이폰과 맥 시스템을 연동한다.

Reset Apple ID


:
Posted by Ritz®™
2009. 3. 10. 23:31

유용한 터미널 명령어 macOS/Tip2009. 3. 10. 23:31





1. Shell Script를 이용하여 터미널 히스토리 제거하는 방법

function cls { 
osascript -e 'tell application "System Events" to keystroke "k" using command down' 
}

#history -c

2. Download History 제거하는 방버

  • Terminal:

sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV* 'select LSQuarantineDataURLString from LSQuarantineEvent'

database and dump the results.:

sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV* 'select LSQuarantineDataURLString from LSQuarantineEvent' | sort

 

Deleting the Download History List

 

sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV* 'delete from LSQuarantineEvent'


Kill process by searching something from 'ps' command

Terminal - Kill process by searching something from 'ps' command
pkill -f <process name>
2010-06-19 02:36:31
User: eikenberry
Kill process by searching something from 'ps' command

Using -f treats the process name as a pattern so you don't have to include the full path in the command. Thus 'pkill -f firefox' works, even with iceweasel.

Alternatives

There are 3 alternatives - vote for the best!

Terminal - Alternatives
ps ux|grep <process name>|awk '{print $2}'|xargs -n 1 kill
ps h -o pid,command | grep 'TEXT' | sed 's/^ \+//' | cut -d ' ' -f 1 | xargs -n 1 kill

Know a better way?

If you can do better, comment.








:
Posted by Ritz®™