Meine Hauptfestplatte bootet nicht. (Weder normaler, abgesicherter Modus noch Einzelbenutzer). Ich kann nur vom Wiederherstellungsmodus oder von DVD booten.
Das Szenario war folgendes:
Beim Booten in verbose ist mir folgendes aufgefallen:
...
...
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
Danach bleibt es einfach hängen und kommt nie darüber hinaus.
Ich habe im Wiederherstellungsmodus gebootet und dann versucht, die Festplatte mit den Festplattendienstprogrammen zu überprüfen und zu reparieren. Scheint in Ordnung zu sein. Macintosh HD kann jedoch nicht gemountet werden.
Versuchte fsck_hfs vom Wiederherstellungsmodus-Terminal, dann bekam Macintosh HD kann nicht repariert werden.
Ich möchte wissen, ob es eine Möglichkeit gibt, das System zu retten, ohne Mac OSX neu zu installieren, oder zumindest eine Möglichkeit, einige Dateien vom Laufwerk wiederherzustellen, bevor Mac OSX neu installiert wird.
Viel Glück!
Sie sollten in den Einzelbenutzermodus booten (klicken Sie CMD- Sbeim Start) und versuchen, die Reparatur manuell auszuführen:
fsck -y
Dann exit
/ reboot
.
Wenn dies nicht hilft, befolgen Sie diese Anleitung , um ein Volume zu reparieren, das sich nicht bereitstellen lässt .
Hier sind verschiedene Methoden zum Mounten des Volumes:
sudo mount -t hfs /dev/disk3s2 /mnt
( /mnt
Ordner vorher erstellen: 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
Sie können testdisk
den Befehl verwenden, um die Partitionstabelle zu reparieren:
sudo testdisk ~/temp/flashdrive.dmg
Sehen Sie sich die folgende Demonstration an .
ddrescue
Wenn dies nicht funktioniert, verwenden Sie ddrescue
das Dienstprogramm, um ein Image des HFS+-Volumes zu erstellen:
sudo ddrescue -v /dev/disk3s2 ~/temp/foobar.dmg ~/temp/logfile.log
Versuchen Sie dann, das Image selbst zu mounten:
$ 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
sudo hdiutil mount -nomount -readwrite ~/temp/foobar.dmg
.
jonathanwiesel
jonathanwiesel
Martin Häberli