레이블이 Q&A인 게시물을 표시합니다. 모든 게시물 표시
레이블이 Q&A인 게시물을 표시합니다. 모든 게시물 표시

2010년 3월 14일 일요일

부팅 문제

I. 다음과 같은 화면에서 더 이상 진행되지 않는다면 당근 부팅 옵션을 줘야 합니다.
즉, "-v" 등의 부팅 옵션을 주어 어느 과정에서 멈추어 있는지 확인해야 합니다.
































부팅 옵션예)
-v -x
-v -f -s   <<< 안전모드 부팅
-v
cpus=1 -v
-v busratio=20 cpus=1
-v maxmem=4096 -x32

등등이 있습니다.






























II. 또한, 설치 DVD가 문제 있을 경우가 있는데 UltraISO를 이용하여 2배속이나 4배속이하로 이미지를 구우시면 됩니다.

III. 부트로더가 문제가 생겨 맥으로 부팅이 안되는 경우
이런 경우 다음과 같이 해결할 수 있습니다.

III-1. Boot Think를 Windows에 설치하여 주고 Darwin 하위 폴더에 관련 드라이버를 설치하여 준다.

III-2.  윈도우즈에서 usbit Tool을 이용하여 USB 부트로더 이미지를 USB에 복원한 다음, USB로 부팅하여 설치된 하드 디스크를 로딩한다.  물론, 메인보드가 다른 경우, TransMac등의 툴을 이용하여 USB의 /Extra 폴더를 재구성하여 주어야 한다.

III-3.  Linux로 부팅하여 Chameleon이나 PC_EFI등의 부트로더를 USB에 커맨드를 이용하여 설치하여 주고 USB로 부팅하여 하드디스크를 로딩한다.


IV. Kext 문제로 인한 부팅 불가
 먼저 안전모드("-v -s")로 부팅합니다.
#/sbin/mount -uw /            <<< 하드디스크를 읽고 쓰기 가능하게 마운트하는 명령어    
#cd /Extra/Extensions/   <<< 현재 경로를 Chameleon부트로드의 해킨드라이버가 설치된 위치로 이동
#rm -Rf SleepEnabler.kext    <<<<  문제가 된 SleepEnabler.kext 화일을 제거하는 명령어
#cp SleepEnabler.kext  /Extra/Extensions/  <<< 새로이 업데이트된 SleepEnabler.kext   화일을 복사하여 주는 명령어.  여기에서 윈도우즈에서 TransMac을 이용하여 설치하여 주어도 됨.

V.그외 참고할 만한 글


2010년 3월 13일 토요일

DivX Decoder.component Error

Symptom

Console Error Log

10. 3. 14. 오전 10:01:53 loginwindow[61] Error loading /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: dlopen(/Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder, 262): no suitable image found. Did find:

/Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: no matching architecture in universal wrapper

Solution



2010년 1월 8일 금요일

개발자용 파티션 만들기

개발자용 맥 파티션은 고려하여야 할 사항이 있습니다.

물론,  iPhone용 어플리케이션을 개발하는 것이라면 일반적인 파티션을 이용하여도 문제 없겠지만, 간혹 맥으로 복잡한 이를테면 다른 운영체제를 개발해야 하는 경우 대소문자에 영향을 받는 경우가 있습니다.


요약:

1. 컴파일시 대소문자 관련 에러가 발생할 때 적용하는 것이 바람직하다.

2. 일반 사용자에게는 권하지 않는다.

3. 대소문자 구분용 파티션을 만들면 그동안 접하지 않았었던 여러가지 에러를 경험할 수도 있으므로 가능한 권하지 않는다.

4. 예를 들면, 포토샵 같은 경우 대소문자 구분 파티션에서는 설치가 안되는 경우가 있다.








2009년 12월 7일 월요일

Leopard 로그인이 안될 때

로그인 화면은 나오지만 로그인 안되고 안전모드(-f -v -s) 부팅으로 시도를 하여도 로그인 안될 경우


가. 첫번째 시도.

먼저 싱글유저(-f -v -s)로 부팅시도를 하여 다음과 같은 명령어를 입력한다.

$mount -uw /
$launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist
$ls /Users
$dscl . -delete /Users/username AuthenticationAuthority
$passwd username
New password:
$exit

위와 같이 패스워드를 변경하고 진행하면 다시 부팅이 되면서 로그인 시도를 한다.
그래도 안되면 다음 단계를 진행한다.


나. 두번째 시도.
  1. 싱글모드로 부팅하여 다음과 같이 system.log를 확인한다.
  2. /sbin/fsck -fy
  3. tail -20 /var/log/system.log
  4. more /var/log/system.log
  5. system.log를 확인하면 다음과 같이 유사한 에러로그가 있을 것이다.


loginwindow[281]: Login authorization failed (-60008)!

loginwindow[281]: AuthorizationRef doesn't have a username (<LoginAuthRefMgr: 0x44b60>)
loginwindow[281]: exiting to console




2-1.

mount -uw /
cd /var/db/
mv .AppleSetupDone .AppleSetupDone.bad

위의 명령어를 주어 다시 재부팅한다.
위의 명령어를 주면 설정모드로 부팅이 된다.
하지만, 기존의 계정은 어떻게 해야 할까?
아직 진행중이다.


다. 세번째 시도
이렇게 하여도 안된다면
- sudo /etc/postfix/post-install create-missing
* 2-1 번과 3번은 순서를 달리하여도 됨.

라. 네번째 시도
위의 시도들이 다 실패하였다면 세팅관련 db과 문제 있을 것이다.
이를확인하는 방법은 부팅이 잘 되는 정상적인 MAC 파티션이나 설치 DVD로 부팅하여 디스크 유틸리티에서 문제있는 하드디스크의 권한점검이나 복구를 시도하면 에러가 발생이 되며 복구가 안될 것이다.

이런 경우는 다음과 같이 관련 세팅을 처음부터 하여 주는 방법이 있다.
1. 싱글 유저로 부팅한다.
2. /sbin/mount -uw /
3. cd /var/db4.
4. mv .AppleSetupDone .AppleSetupDone.Bak
5. exit

위 명령어를 주면 사용자 설정부터 다시 시작한다.


마. 위의 시도들이 모두 실패하였다면 리테일 dvd를 이용하여 재설치하여 주는 방법 밖에 없다.


2009년 3월 10일 화요일

기존 파티션에서 OSX용 파티션 만들기

  • 다음 그림과 같이 파티션을 지워줍니다.
  • 동시에 설정하여 준 의도대로 파티션이 재생성됩니다.

Disk Utility

  • Disk Utility 를 이용하여
  • “Repair Disk permissions” 를 클릭하시면
  • 그림과 같이 Error: The underlying task reported failure on exit.
  • 라는 메시지가 나옵니다.
  • 그리고 콘솔 메시지에서 보시면 다음과 같은 문구를 확인할 수 있습니다.

2009년 3월 9일 월요일

Windows 계열 복구 CD


맥에서는 Transmission 같은 프로그램이 필요합니다.
윈도우즈에서는 vuze를 사용하면 될 것입니다.



리눅스가 아닌 윈도우즈 Pre Environment로 부팅하셔서 커맨드로 들어가셔서 다음과 같은 명령어로 mbr을 복구 시킬 수 있습니다.

c:   <엔터
C:\fdisk /mbr      ; 반드시 윈도우즈 운영체제가 설치되어 있는 디스크로 이동하여서 이 명령어를 수행하셔야 합니다.

2009년 3월 2일 월요일

/Library/Preferences/SystemConfiguration/com.apple.Boot.plist


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>GraphicsEnabler</key>
<string>Yes</string>
<key>Kernel</key>
<string>mach_kernel</string>
<key>Kernel Flags</key>
<string></string>
<key>Timeout</key>
<string>5</string>
</dict>
</plist>

2009년 2월 19일 목요일

파일 시스템 공유설정 방법

파일시스템 공유

  • 파일 시스템 공유설정 방법
  • 다음 그림과 같이 네트웍 설정을 선택합니다.
  • “Advanced” 를 선택합니다.
  • AppleTalk 를 선택합니다.
  • “Make AppleTalk Active”를 체크합니다.
  • 확인을 누릅니다.
  • 이제 파일공유를 설정합니다.
  • 다음단계로 가기

2009년 2월 8일 일요일

이미지가 마운트 안될때

ISO 이미지나 DMG 이미지가 마운트 안될 경우가 있습니다. 
이런 경우는 Disk Utility나 Toast Titanium으로 마운트 할 수 가 있습니다. 




2009년 2월 7일 토요일

Spotlight T T

Feb  8 00:00:16 merteousyi-p5w-dh-deluxe CoreServicesUIAgent[3361]: Unable to load nib file: MainMenu, exiting
Feb  8 00:00:16 merteousyi-p5w-dh-deluxe com.apple.launchd[142] (com.apple.coreservices.uiagent[3361]): Exited with exit code: 1
Feb  8 00:00:16 merteousyi-p5w-dh-deluxe com.apple.launchd[142] (com.apple.coreservices.uiagent): Throttling respawn: Will start in 10 seconds
Feb  8 00:00:18 merteousyi-p5w-dh-deluxe Spotlight[3362]: Unable to load nib file: MainMenu, exiting
Feb  8 00:00:18 merteousyi-p5w-dh-deluxe com.apple.launchd[142] (com.apple.Spotlight[3362]): Exited with exit code: 1
Feb  8 00:00:18 merteousyi-p5w-dh-deluxe com.apple.launchd[142] (com.apple.Spotlight): Throttling respawn: Will start in 10 seconds


이걸 어케 해결해야 하나....... 
Spotlight는 완전 Disable시켜주는 건 없는건가? 에효....

Spotlight so much as one of the index plugins (mdimporters)

This probably isn't Spotlight so much as one of the index plugins (mdimporters). 
Spotlight itself is very robust, however, all it takes is a single bad indexing plugin. 
MDS, basically, identifies a file type and loads in a list of plugins that are registered for that file type and executes a routine in the plugin to grab the metadata. 
If the plugin is improperly written, it can go haywire. 
What was the last application that you installed prior to it going crazy? 
Perhaps one of the last 2-3... Failing that, you can wipeout the metadata database for a Volume like so 
(from Terminal.app)
: sudo mdutil -E /Volumes/your_volume_here ... 

or '/' in place of '/Volumes/...' for the local disk. 
You can turn off metadata indexing for a volume entirely like so
: sudo mdutil -i off /Volumes/your_volume_here 

You may also want to see what index plugins are being used
: sudo lsof | grep mdimporter ... 

which might help you understand what's being used to index, and this
: sudo lsof | grep mdworker 

... will tell you what worker threads are running and the files they have open (some of which will be the files they are indexing).

Spotlight is going rampant here.

Spotlight is going rampant here. 
The mds (metadata server, aka Spotlight) process is constantly accessing the disk and writing some data to it, filling it until there is no space left on the device. 
I cannot find out what file it is writing to. 
I've tried with fsevener which sadly didn't help. 
mds is also eating up all the CPU cycles it can get leaving my system fully loaded at all times. 
The mds process is also taking up inceasingly huge amounts of memory, causing permanent swapping of memory and bringing the system to a grinding halt. (Cache Hits go down below 1%, About 250.000 pageins happen per minute.) 
Memory Footprint is going up to several hundred MB or real RAM. 
$ vm_stat 
Mach Virtual Memory Statistics: (page size of 4096 bytes) 
Pages free: 53166. 
Pages active: 275736. 
Pages inactive: 135633. 
Pages wired down: 59698. 
"Translation faults": 10217862. 
Pages copy-on-write: 136166. 
Pages zero filled: 5983710. 
Pages reactivated: 96772. 
Pageins: 1236330. 
Pageouts: 77113. 
Object cache: 24391 hits of 1183451 lookups (2% hit rate) (This is 95 minutes after reboot. Only running: Finder, Terminal, LaunchBar, Safari, Mail) 
This bahaviour goes until the disk is full and I get a "low disk space" warning. 
Then mds crashes, the system frees up the (temporary?) files written by the process and also frees the RAM taken up by it. 
Resulting in even more swapping, as the system tries to page-in other processes now. 
Subseqently the system launches a new mds process and the game starts over. 
Things I've tried to remedy:


Rebuilt spotlight index several times. 
Including totally deleting the .Spotlight-V100 folder on local volumes. 
Doesn't help, takes about 16 to 20 hours to rebuild on my machine, so is not a thing one wants to just-try.


Reinstalled 10.5.5 Combo Update, doesn't help. 
Privileges are repaired.


Turn off spotlight completely: Does indeed stop the madness, but now I cannot find anything on my system. 
So this is not a solution at all.


I've tried to keep the index small by excluding more and more stuff in the privacy settings of the Spotlight PreferencePane. This doesn't solve the problem either.


My System:
PowerBook G4 1.5GHz
2GB RAM (Maximum) (Tested with ASD ok, Rember ok. Different RAM modules, also ok.)
160GB HD (5GB free) (SMART ok, Blockscan ok, Filesystem ok, File privileges ok)
Mac OS X 10.5.5 (9F33) including Security Update 2008/007 (no further updates available)

Any help or suggestions are welcome. I'm happy to provide any further details you may need.
Best regards
Pepi

2009년 1월 30일 금요일

verifying dmi pool data... 시스템 멈춤


컴퓨터 켜면 대부분 DMI 점검 메시지( "Verifying DMI Pool Data ..".)가 잠시 뜨고 넘어는 과정이 있습니다.

그렇지만 이 단계에서 시스템이 멈추고 더 이상 진행하지 않는 경우가 많지요,


메인보드에는 DMI(Desktop Management Interface)라는 기능이 있는데, 이것은 메인보드 바이오스에서 메인보드에 연결된 각 장치들의 IRQ 자원을 할당하거나 관리하는 기능을 말합니다. 

즉, 'Verifying DMI Pool Data'라는 메시지가 나타나는 것은 설정된 자원을 확인하기 위한 것이며, 메인보드에 이상이 있는 것은 아닙니다.)  

시스템이 멈추기전 다음과 같은 사항이 진행되었을 경우가 있습니다.

- 하드웨어 변경 
- BIOS 세팅 변경 
- 잘못된 케이블 연결등으로 전기적인 데미지 회로 손상
- 하드디스크의 MBR (Master Boot Record) 오류 
- 하드디스크 또는 메인보드의 결함  << 차라리 하드디스크 "SMART.....F1 to resume...."관련 오류는 F1을 눌러주면 간단히 다음 단계로라도 넘어 갈 수가 있습니다만,,,,
- 바이러스 감염, 오버클럭킹 손상

위 단계의 작업으로 다음과 같은 사항이 의심되어집니다.

- 호환되지 않는 하드웨어 
- 바이러스 
- 전기회로 손상 
- 데이터 오류 
- 잘못된 BIOS 세팅 
- 오버클록킹 손상 

이렇게 시스템이 멈추면 다음과 같은 사항을 점검해보아야 합니다.

- 변경된 하드웨어를 원상태로 되돌리고 시스템이 동작하는지 확인 
- 모든 케이블과 확장카드가 제대로 꽂혀있는지 확인 
- CMOS SETUP에 들어가서 "PNP/PCI"부분을 찾아서 "Reset Configuration Data",“PNP/PCI 
configuration”을 "Enabled"로 바꾸고 리부팅 
- 메인보드 매뉴얼을 참고로 해서 "Clear CMOS jumper" 해준다. (반드시 전원 OFF 상태에서) 
- IDE케이블(하드디스크에 꽂힌)을 빼고 BIOS 세팅에 들어가서 부팅순서를 플로피 우선으로 조정 
플로피로 부팅해서 BIOS 업데이트파일(미리 구해둬야함)을 가지고 BISO를 업데이트 한다 
업데이트 끝나면 다시 CMOS Clear시키고 "Reset Configuration Data","PNP/PCI configuration" 을 
"Enabled" 시킨다.  
- 플로피로 부팅해서 

cd c:

fdisk /mbr

라고 입력하여 C드라이버의 MBR(Master Boot Recorder)를 살려준다. 


- 또는 해당 디스크 제조업체의 사이트에 들어가 진단 tool 프로그램으로 진단 
- 이도 저도 다 안되면 디스크를 빼고 복구 CD로 부팅 시도한 다음 정상이면 다시 H.D.D를 장착하여 복구 cd로 재 부팅하여 하드디스크 원인 해결. 



2009년 1월 28일 수요일

chain booting error를 피하는 방법

1. 가능한 XP와 MAC OSX를 물리적으로 다른 하드에 설치한다.
어쩔수 없이 하나의 하드디스크에 여러가지 운영체제를 설치하여야 한다면 다음과 같시 설치하는 것이 바람직하다.

파티션1 : Windows 설치 파티션 (Primary Partition) 
파티션2 : Mac OS X 설치 파티션 (Primary Partition) 
파티션3 : 기타 파티션 (Extend Partition), FAT32로 포맷해두면 MAC과 Windows에서 데이타 쓰고 읽기가 가능하여 데이타 공유가 편리하다.

2. OS 설치시에 OSX를 먼저 설치하고 다음 Windows를 설치하는 것이 좋다.

3. 중요한 것은 다음 두가지다.
- 파티션 순서
- 파티션 활성화