달력

3
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
2011. 10. 15. 06:52

구매했던 앱 복원하기 Mobile/iPhone2011. 10. 15. 06:52

컴퓨터를 교체했거나 기존앱을 복원하고 싶을때 다음과 과정을 통해 복원이 가능하다.


1. iTunes 에 로긴한다.


2. iTunes Store에서 아래 그림과 같이 "Purchased"를 클릭한다.
 

purchased001


3. "Apps"를 클릭하고 "Downloaded All"을 클릭하면 이전에 구매하였던 모든앱을 다시 다운로드 받을 수 있다.
 

purchased002

:
Posted by uno-ani
2011. 10. 13. 15:46

iPhone/iPad DFU 모드 복원 Mobile/iPhone2011. 10. 13. 15:46


아이폰/아이패드를 복원하려고 할 때는 아이튠즈에 아이폰/아이패드를 연결하고 '복원' 버튼을 누르면 원래대로 복원이 된다. 물론 복원할때 '백업' 할거냐고 물으면 당연히 하겠다고 해야 다시 셋팅하는 수고를 피할 수 있다.

하지만, 아이폰/아이패드에 문제가 생겨 부팅조차 제대로 되지 않는다거나 벽돌이 되었다면 DFU모드를 이용해서 복원 해야 한다.

DFU모드에 진입하는 방법은 아래 동영상을 보면서 따라 하면 된다.






동영상이 안보인다면 다음 링크를 클릭하여 새로운 윈도우즈에서 본다.

http://www.youtube.com/watch?v=ofpinyGlQ8I&feature=player_embedded
그래도 안보인다면 구글크롬을 설치하여 본다.

http://www.google.com/chrome/eula.html?hl=ko

iPad-2-001

1. 전원이 꺼진 아이폰/아이패드를 컴퓨터와 연결 한다.
2. 전원 버튼과 홈 버튼을 동시에 누른채로 유지한다.
3. 전원이 꺼지면 홈버튼은 그대로 누른 채로 전원 버튼에서만 손을 뗀다.
4. 조금 지나면 컴퓨터에 아이폰이 연결되었으며 iTunes에서 복원모드에 있는 아이폰을 발견했다는 메세지가 뜬다.
5. iTunes에서 복원 버튼을 눌러 복원한다.
- 혹 복원 과정중에 아이폰에 아무런 화면이 나타나질 않거나 진행바가 올라가지 않더라도 기다려 보고 조금 시간을 요구하는 것이 정상이다.

# 마지막으로 iPod 공장초기화하는 방법 - 위 과정과 유사
1. iPod를 USB케이블로 컴퓨터에 연결하고 iTunes를 실행한다.
2. iPod 터치 전원 ON 
3. Sleep 버튼+ Home 버튼 동시에 누른다.
 (전원 끄는 버튼이 나와도 계속 누르고 있으면 꺼지고 다시  Apple Logo가 뜰 때까지 누른다) 
4. Apple Logo가 뜨면 바로 Sleep 버튼은 떼고 Home 버튼은 계속 누르고 대기한다. 
5. iTunes에서 복원하라는 메시지가 나오면 복원을 진행한다.  
6. 이제 공장 초기화되었다.

간혹 5번 단계에서 USB연결을 뽑았다가 다시 연결하여야 하는 경우도 있으니 참고하기 바란다.

이 글이 도움이 되었다면 아래 추천 꾸욱 눌러 주세요.


'Mobile > iPhone' 카테고리의 다른 글

구매했던 앱 복원하기  (0) 2011.10.15
Photostream 에서 사진 삭제하기 iOS 5  (0) 2011.10.14
iOS 5 GM(Build 9A334) Update  (0) 2011.10.13
iOS 5 Beta 7 released  (0) 2011.09.01
iOS 5 Beta 6  (0) 2011.08.20
:
Posted by Ritz®™