메인 HDD가 부팅되지 않습니다. (일반, 안전 모드 또는 단일 사용자가 아님). 복구 모드 또는 DVD에서만 부팅 할 수 있습니다.
시나리오는 다음과 같습니다.
- 컴퓨터가 잠들었습니다 (아래로).
- 뚜껑을 들어 올린 후 USB 마우스를 연결했습니다.
- 마우스 나 트랙 패드 또는 키보드가 응답했습니다.
- 뚜껑을 닫고 USB 마우스를 제거한 다음 다시 뚜껑을 열었습니다.
- 트랙 패드와 키보드가 다시 한 번 반응하지만 일부 프로그램을 닫으려고하면 컴퓨터가 정지됩니다.
- 전원 버튼을 10 초 동안 눌러 컴퓨터를 종료하십시오.
- 다시 시작할 때 컴퓨터가 더 이상 부팅되지 않습니다.
장황하게 부팅 할 때 다음을 발견했습니다.
...
...
USBMSC Identifier (non-unique): 000000009833 0x5ac 0x8403 0x9833
disk0s2: I/O error.
0 [Level 3] [ReadUID 0] [Facility com.apple.system.fs] [ErrType IO] [ErrNo 5] [IOType Write] [PBlkNum 2] [FSLogMsgID 61471212] [FSLogMsgOrder First]
0 [Level 3] [ReadUID 0] [Facility com.apple.system.fs] [FSLogMsgID 61471212] [FSLogMsgOrder Last]
jnl: unknown-dev: update_fs_block: failed to update block 2 (ret 5)
jnl: unknown-dev: journal_open: Error replaying the journal!
hfs: early jnl init: failed to open/create the journal (retval 0)
Kernel is LP64
com.apple.launchd 1 com.apple.launchd
com.apple.launchd 1 com.apple.launchd
***
com.apple.launchd 1 com.apple.launchd
** /dev/rdisk0s2 (NO WRITE)
** Root file system
Executing fsck_hfs (version diskdev_cmds-557-393)
jnl: disk0s2: replay_journal: from 13043200 to: 3971072 (joffset 0x15502000)
disk0s2: I/O error.
0 [Level 3] [ReadUID 0] [Facility com.apple.system.fs] [ErrType IO] [ErrNo 5] [IOType Write] [PBlkNum 2] [LBlkNum 2] [FSLogMsgID 1396728806] [FSLogMsgOrder First]
0 [Level 3] [ReadUID 0] [Facility com.apple.system.fs] [DevMode devfs] [MountPth /dev] [Path /dev/disk0s2] [FSLogMsgID 1396728806] [FSLogMsgOrder Last]
jnl: disk0s2: update_fs_block: failed to update block 2 (ret 5)
jnl: disk0s2: journal_open: Error replaying the journal!
hfs_mount: journal_open == NULL; couldn't be opened on Macintosh HD
mount_hfs: Invalid argument
FIP USER Space POST: Integrity test failed!
BootCacheControl: could not unlink bootcache playlist /var/db/BootCache.playlist: 30 Read-only file system
그 후에 그것은 막히고 결코 그것을 지나치지 않습니다.
복구 모드로 부팅 한 다음 디스크 유틸리티를 넣은 상태에서 디스크 확인 및 복구를 시도해도 문제가없는 것 같습니다. 그러나 Macintosh HD는 마운트 할 수 없습니다.
복구 모드 터미널에서 fsck_hfs를 시도한 후 Macintosh HD를 복구 할 수 없습니다.
Mac OSX를 다시 설치하지 않고 시스템을 구출하거나 Mac OSX를 다시 설치하기 전에 드라이브에서 일부 파일을 복구하는 방법이 있는지 알고 싶습니다.
답변
- Mac OSX를 다시 설치하지 않고 시스템을 구출 할 방법이 없을 수 있습니다.
- 단일 사용자 모드로 부팅 할 수 있습니다
- 즉, 하드 드라이브의 백업되지 않은 데이터에 관심이있는 한, 다시 설치 / 복구하기 전에 파일을 복구하는 것이 좋습니다.
- DiskWarrior와 함께 행운을 빕니다
- “대상 디스크 모드”에서 손상된 디스크 / 노트북을 부팅 할 수 있습니다. Firewire가있는 경우, 케이블이있는 경우 및 Firewire가있는 다른 Mac이있는 경우 연결할 수 있습니다.
- 사용자 나 적절한 도구를 사용하는 사람이 내부 디스크 드라이브를 제거하고 적절한 종류의 USB / SATA 어댑터에 연결 한 다음 DiskWarrior를 사용할 수 없습니다.
행운을 빕니다!
답변
단일 사용자 모드 로 부팅하고 ( 시작시 CMD– 히트 S) 수동으로 복구를 실행해야합니다.
fsck -y
그런 다음 exit
/ reboot
.
도움이되지 않으면 마운트되지 않은 볼륨을 복구하려면이 안내서를 따르십시오 .
볼륨을 장착하는 다른 방법은 다음과 같습니다.
sudo mount -t hfs /dev/disk3s2 /mnt
(만들/mnt
폴더를하기 전에 :sudo mkdir /mnt
)sudo /System/Library/Filesystems/hfs.fs/hfs.util -MU disk3s2 ~/temp/ fixed readonly nosuid nodev
sudo diskutil mount readOnly /dev/disk3s2
testdisk
testdisk
명령을 사용 하여 파티션 테이블을 복구 할 수 있습니다 .
sudo testdisk ~/temp/flashdrive.dmg
다음 데모를 참조하십시오 .
ddrescue
작동하지 않으면 ddrescue
유틸리티를 사용 하여 HFS + 볼륨을 이미징하십시오.
sudo ddrescue -v /dev/disk3s2 ~/temp/foobar.dmg ~/temp/logfile.log
그런 다음 이미지 자체를 마운트하십시오.
$ hdiutil attach -nomount ~/temp/foobar.dmg
/dev/disk5
$ diskutil list
...
/dev/disk5
#: TYPE NAME SIZE IDENTIFIER
0: foobar *500.1 GB disk5
$ mount -t hfs -r /dev/disk5 ~/temp/
mount_hfs: Invalid argument
$ mount -t hfs -r /dev/disk5s0 ~/temp/
GetMasterBlock: Error 2 opening /dev/rdisk5s0
mount_hfs: No such file or directory
$ mount /dev/disk5 ~/temp/
mount: You must specify a filesystem type with -t.
$ diskutil mount readOnly /dev/disk5
Volume on disk5 failed to mount; if it has a partitioning scheme, use "diskutil mountDisk"
If the volume is damaged, try the "readOnly" option
$ diskutil mountDisk readOnly /dev/disk5
Volume(s) mounted successfully
# Despite the promising "Volume(s) mounted successfully" message, nothing was mounted
$ mount -t hfs -r /dev/disk5s0 ~/temp/
GetMasterBlock: Error 2 opening /dev/rdisk5s0
mount_hfs: No such file or directory
$ mount -t hfs -r /dev/disk5 ~/temp/
GetMasterBlock: Error 16 opening /dev/rdisk5
mount_hfs: Resource busy
DiskWarrior
sudo hdiutil mount -nomount -readwrite ~/temp/foobar.dmg
.- 복구를 위해 이미지가 DiskWarrior 또는 디스크 유틸리티에 나타납니다.