Winclone-Backup zurückgespielt - MBR fehlt?

LosDosos

LosDosos

Aktives Mitglied
Thread Starter
Dabei seit
09.03.2008
Beiträge
15.873
Reaktionspunkte
4.117
Hi zusammen,

jetzt hats mich leider auch erwischt..

Da ich ein Image von Windows 7 zurückspielen wollte (ohne die Bootcamp 3.2-Treiber), habe ich in dem Zug gleich die Bootcamp-Partition vergrößert.

Ich hab also im FPDP die Bootcamp-Partition gelöscht und OS X wieder großgezogen.
Dann habe ich den Bootcamp-Assi gestartet, eine 85 GB-Partition (vorher 70) erstellt, Winclone gestartet und ein Image zurückgespielt.

Winclone zeigt mir nun folgenden Fehler:

percent completed
100.00 percent completed
Syncing ...
return value of "/Library/NTFSProgs/ntfsclone" --rescue -f -f -f -O "/dev/disk0s3" /dev/disk2 1>&2 is 0

=====unmounting disk image==============

/usr/bin/hdiutil detach /dev/disk2
return value of /usr/bin/hdiutil detach /dev/disk2 is 0

"disk2" unmounted.
"disk2" ejected.
Volume Win7destination_path is /Volumes/Win7
Unmounting /dev/disk0s3
/usr/sbin/diskutil unmount "/dev/disk0s3"return value of unmount is 0

=======copying BCD file=========

"/Library/NTFSProgs/ntfscp" -f "/dev/disk0s3" "/Applications/Winclone.app/Contents/Resources/BCD" /Boot/BCD
return value of "/Library/NTFSProgs/ntfscp" -f "/dev/disk0s3" "/Applications/Winclone.app/Contents/Resources/BCD" /Boot/BCD is 0

Unmounting /dev/disk0s3
/usr/sbin/diskutil unmount "/dev/disk0s3"return value of unmount is 256

output is disk0s3 was already not mounted

=====Syncing GPT with MBR Partition Table, setting partition to bootable, and restoring boot sector==============

"/Applications/Winclone.app/Contents/Resources/gptrefresh" -f -w -m "/Volumes/Schwarzes Loch/Win7.winclone/boot.mbr" -a 3 -u -i 0x07
return value of "/Applications/Winclone.app/Contents/Resources/gptrefresh" -f -w -m "/Volumes/Schwarzes Loch/Win7.winclone/boot.mbr" -a 3 -u -i 0x07

gptrefresh
Utility to write out BIOS partition table from information gathered from GPT. Also can write out Master Boot Record and active partition

usage: gptrefresh [-vwfu] [-m mbr_path] [-a flag_partition] [-i partition_number,filesystem_id] disk
-v: verbose output
-w: write out BIOS partition table (does not write out Master Boot Record. Use -m to specify Master Boot Record)
-f: force writing without any warning messages
-m: write out master boot record at mbr_path with partition table. Does nothing if -w is not specified
-a: flag flag_partition as active partition (flag_partition must be 1, 2, 3, or 4)
-i: set partition_number specified with -a to filesystem_id (System identifier in MBR partition table). Requires -a. Example: -i 0x0E
Examples of filesysem id: 0x0E(DOS FAT-16),0x07(HPFS/QNX/AUX),0x0B(Win95 FAT-32),0x0C(Win95 FAT32L)
-u: update the FAT/NTFS start sector offset (requires -a)
'disk' is of the form /dev/disk0.
"/Applications/Winclone.app/Contents/Resources/gptrefresh" -f -w -m "/Volumes/Schwarzes Loch/Win7.winclone/boot.mbr" -a 3 -u -i 0x07
cleaning up: Mounting Disk
Volume Win7Tue Apr 5 01:32:46 CEST 2011


Anscheinend fehlt der MBR?

Auf der Bootcamp-Partition sind alle Windows-Dateien wieder hergestellt, aber ich kann Windows nicht booten.

Mit rEFIt bekomme ich die Partition zwar zur Auswahl, statt Windows zu booten erscheint aber nur ein blinkender weißer Cursor.

Mich wundert auch dieser Hinweis auf gptrefresh, wenn ich das im Winclone-Contents starte, öffnet sich das Terminal und zeigt wieder nur an:

Last login: Tue Apr 5 12:44:12 on console
/Applications/Winclone.app/Contents/Resources/gptrefresh ; exit;
drdos:~ drdos$ /Applications/Winclone.app/Contents/Resources/gptrefresh ; exit;
gptrefresh
Utility to write out BIOS partition table from information gathered from GPT. Also can write out Master Boot Record and active partition

usage: gptrefresh [-vwfu] [-m mbr_path] [-a flag_partition] [-i partition_number,filesystem_id] disk
-v: verbose output
-w: write out BIOS partition table (does not write out Master Boot Record. Use -m to specify Master Boot Record)
-f: force writing without any warning messages
-m: write out master boot record at mbr_path with partition table. Does nothing if -w is not specified
-a: flag flag_partition as active partition (flag_partition must be 1, 2, 3, or 4)
-i: set partition_number specified with -a to filesystem_id (System identifier in MBR partition table). Requires -a. Example: -i 0x0E
Examples of filesysem id: 0x0E(DOS FAT-16),0x07(HPFS/QNX/AUX),0x0B(Win95 FAT-32),0x0C(Win95 FAT32L)
-u: update the FAT/NTFS start sector offset (requires -a)
'disk' is of the form /dev/disk0.
logout

[Prozess beendet]

Einstellen kann ich aber leider gar nichts.. :(

Wie kann ich denn das Windows wieder bootfähig kriegen?
 
Hi grüße Dich,

also was Du da alles aufgeführt hast .... ?????????
Aber unter Win7 schreibt man / rep. man den MBR so ...

Der Aufruf

bootrec.exe /FixMbr

schreibt einen neuen Master Boot Record. Du kannst das Programm auch verwenden, um einen beschädigten Bootsektor der Vista/Win7-Partition zu reparieren. Dazu benutzt Du den Aufrufparameter /FixBoot.


P.S.

.. bei meinem Mac (iMac) kann ich zum Starten die Win-Part. auswählen (Start mit gedrückter ALT-Taste, liegt nun eine Windows-CD im Laufwerk nimmt es diese ... so kommst Du dann an die bootrec.exe)
 
  • Gefällt mir
Reaktionen: LosDosos
Starte mal von der Windows DVD und formatier die erstelle Partition NTFS, dann sollte WinClone Windows auch ohne Fehler wiederherstellen können...
 
  • Gefällt mir
Reaktionen: LosDosos
Starte mal von der Windows DVD und formatier die erstelle Partition NTFS, dann sollte WinClone Windows auch ohne Fehler wiederherstellen können...

... ja da fällt´s mir auch wieder ein, hatte es irgendwo gelesen, die Formatierung aus dem FDP ist für Windowsinstallationen nicht zu gebrauchen ...

grüße Dich manue
 
  • Gefällt mir
Reaktionen: LosDosos
Hi :Waveyib:

das hatte ich auch schon gemacht, weil Bootcamp in Fat32 formatiert, also Windows Dvd rein, in NTFS umformatiert, dann ist der MBR auch aufgelistet (128 MB).

Das Ergebnis ist leider, dass Winclone dann das Image zwar 1:1 zurückspielt, aber besagte Fehlermeldung oben ausspuckt.

Windows ist dann zwar auf der Partition, lässt sich aber nicht booten, auch nicht mit rEFIt.

Ich hätte zwar gedacht, der Hase liegt hier begraben:
...gptrefresh
Utility to write out BIOS partition table from information gathered from GPT. Also can write out Master Boot Record and active partition..

Aber wenn ich gptrefresh starte, kommt eben nur die zweite Meldung
Last login: Tue Apr 5 12:44:12 on console
/Applications/Winclone.app/Contents/Resources/gptrefresh ; exit;
drdos:~ drdos$ /Applications/Winclone.app/Contents/Resources/gptrefresh ; exit;
gptrefresh
Utility to write out BIOS partition table from information gathered from GPT. Also can write out Master Boot Record and active partition

usage: gptrefresh [-vwfu] [-m mbr_path] [-a flag_partition] [-i partition_number,filesystem_id] disk
-v: verbose output
-w: write out BIOS partition table (does not write out Master Boot Record. Use -m to specify Master Boot Record)
-f: force writing without any warning messages
-m: write out master boot record at mbr_path with partition table. Does nothing if -w is not specified
-a: flag flag_partition as active partition (flag_partition must be 1, 2, 3, or 4)
-i: set partition_number specified with -a to filesystem_id (System identifier in MBR partition table). Requires -a. Example: -i 0x0E
Examples of filesysem id: 0x0E(DOS FAT-16),0x07(HPFS/QNX/AUX),0x0B(Win95 FAT-32),0x0C(Win95 FAT32L)
-u: update the FAT/NTFS start sector offset (requires -a)
'disk' is of the form /dev/disk0.
logout

[Prozess beendet]
im Terminal und ich kann nichts einstellen.:(
 
Hast mal versucht die Windows Installation zu beginnen (damit eventuell Daten in die kleine MBR Partition geschrieben werden), die Installation abzubrechen und dann WinClone zu bedienen?
 
  • Gefällt mir
Reaktionen: LosDosos
Ja, genauso hab ichs gemacht, Windows fängt nach dem Formatieren an, die Installationsdateien auf die Partition zu kopieren, ich breche ab, spiele problemlos das Image zurück und am Ende kommt die Fehlermeldung bzgl des MBR..
 
Ich hab es nochmal probiert, jetzt lässt sich Bootcamp anwählen, dann erscheint aber ein schwarzer Bildschirm mit der Mitteilung:

"BOOTMGR fehlt
Neustart mit Strg alt entf"

:confused:
 
Ist möglicherweise das WinClone-Image korrupt?
 
  • Gefällt mir
Reaktionen: LosDosos
"Schön" wärs, aber genau dies Image hab ich schonmal verwendet (ohne Probleme), und hab es sicherheitshalber auch zweimal auf unterschiedlichen Platten gespeichert.

Mit der BOOTMGR fehlt-Meldung soll man wohl mit der Reparaturfunktion den Bootmanager von der Win-Dvd nachinstallieren können, die sagt mir jedoch, dass das leider nicht möglich ist.

Auch ein anderes Winclone-Image von einem anderen Systemzustand bringt diesen Error.

Ich probier es jetzt nochmal von vorne von einem CCC-Klon gebootet.
 
Auch sehr merkwürdig:

Im Festplattendienstprogramm ist die neue Partition 85,79 GB groß, so wie ich sie neu angelegt hab, im Finderinfo aber nur 76,21 GB.
(so groß wie die alte Partition..)

attachment.php
 

Anhänge

  • Bildschirmfoto 2011-04-05 um 17.16.58.jpg
    Bildschirmfoto 2011-04-05 um 17.16.58.jpg
    62,2 KB · Aufrufe: 705
Ich würde die Partition noch mal komplett platt machen und neu anlegen; wahrscheinlich ist was an der Partitionstabelle nicht in Ordnung.
Geht das auch nicht, dann könntest du die Festplatte auch mal komplett plätten, das OSX Backup zurückklonen und dann nochmals per BC-Assi die Win7 Partition anlegen.
 
  • Gefällt mir
Reaktionen: LosDosos
Ja, so mach ich das am Besten.

Wird wohl ein paar Stunden dauern, ich geb dann wieder Bescheid.:)
 
Dumm, wieder die Meldung

=====Syncing GPT with MBR Partition Table, setting partition to bootable, and restoring boot sector==============

"/Applications/Winclone.app/Contents/Resources/gptrefresh" -f -w -m "/Win7.winclone/boot.mbr" -a 3 -u -i 0x07
return value of "/Applications/Winclone.app/Contents/Resources/gptrefresh" -f -w -m "/Win7.winclone/boot.mbr" -a 3 -u -i 0x07

gptrefresh
Utility to write out BIOS partition table from information gathered from GPT. Also can write out Master Boot Record and active partition

usage: gptrefresh [-vwfu] [-m mbr_path] [-a flag_partition] [-i partition_number,filesystem_id] disk
-v: verbose output
-w: write out BIOS partition table (does not write out Master Boot Record. Use -m to specify Master Boot Record)
-f: force writing without any warning messages
-m: write out master boot record at mbr_path with partition table. Does nothing if -w is not specified
-a: flag flag_partition as active partition (flag_partition must be 1, 2, 3, or 4)
-i: set partition_number specified with -a to filesystem_id (System identifier in MBR partition table). Requires -a. Example: -i 0x0E
Examples of filesysem id: 0x0E(DOS FAT-16),0x07(HPFS/QNX/AUX),0x0B(Win95 FAT-32),0x0C(Win95 FAT32L)
-u: update the FAT/NTFS start sector offset (requires -a)
'disk' is of the form /dev/disk0.

und Windows lässt sich nicht booten.

Wenn ich mit Rechtsklick auf das Winclone gehe, mir den Paketinhalt anzeigen lasse und gptrefresh in Resources ins Terminal ziehe, bekomme ich die selbe Meldung.

Wenn ich spaßeshalber die Option m dazugebe, kommt
drdos:~ drdos$ /Applications/Winclone.app/Contents/Resources/gptrefresh m
m must be run as root

Gebe ich aber
sudo /Applications/Winclone.app/Contents/Resources/gptrefresh m
ein, kommt:
Error while opening file: No such file or directory

Wie kann ich denn gptrefresh als root ausführen und mit der Option m den MBR erstellen? :kopfkratz:
 
:freu::freu::freu:
Ok, ich habe das Problem mit folgendem Terminalbefehl gelöst:

sudo "/Applications/Winclone.app/Contents/Resources/gptrefresh" -f -w -m "/Users/drdos/Desktop/Win7.winclone/boot.mbr" -a 3 -u -i 0x07 "/dev/disk0"

Gibt aus:
-------------------------------------- GPT ----------------------------------
start size index contents
40 409639 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
409640 1092206503 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
1092468736 1250263039 3 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7


----------------------------- BIOS Partition Table--------------------------
#: id cyl hd sec - cyl hd sec [ start - size]
------------------------------------------------------------------------
1: EE 0 0 2 - 25 127 14 [ 1 - 409639]
2: AF 25 127 15 - 1023 181 11 [ 409640 - 1091796864]
*3: 07 1023 8 38 - 1023 70 5 [1092468736 - 157794304]
4: 00 0 0 0 - 0 0 0 [ 0 - 0]
The GPT and BIOS partitions appear to be consistent with each other.


---------------------------------------------------------------
-----------------New Partition Table to write------------------
---------------------------------------------------------------


----------------------------- BIOS Partition Table--------------------------
#: id cyl hd sec - cyl hd sec [ start - size]
------------------------------------------------------------------------
1: EE 0 0 2 - 25 127 14 [ 1 - 409639]
2: AF 25 127 15 - 1023 181 11 [ 409640 - 1091796864]
*3: 07 1023 8 38 - 1023 70 5 [1092468736 - 157794304]
4: 00 0 0 0 - 0 0 0 [ 0 - 0]
Updating start sector offset

(Taken from here: http://forums.macrumors.com/showthread.php?t=1100255 )


Danach startet Windows wieder.

Jetzt nur noch um das Problem kümmern, dass das FPDP 85 GB anzeigt, der Finder und Windows selbst aber nur 76..:mad:
 
... na wenn´s sonst nichts war....
schön ... dass es jetzt wieder läuft!

P.S.:

Früher wurden die Byte nicht mit der Zehnerpotenz berechnet sondern mit der sogenannten Binärpräferenz. 1 KB = 1024 Byte.
Seit OS X 10.6 berechnet Apple modern 1 KB mit 1.000 Byte. Der Unterschied alte Berechnung: neue Berechnung ist bei Gigabyte 7.4 %
Anscheinend berechnet das Festplattendienstprogramm Binär, der Finder aber Dezimal.
Du hast also immer gleich wenig freien Speicher, er wird nur unterschiedlich berechnet.
 
  • Gefällt mir
Reaktionen: LosDosos
Schön wärs, aber ich hab jetzt per Shrink-Funktion via Winclone die Bootcamp-Partition auf 54 GB runtergerechnet, der Speicherplatz wird aber nicht freigegeben und im FPDP ist das Volumen immer noch 85 GB groß, im Finder 54..:(
 
Hallo NoVisper,

Dein Kommentar scheint exakt auf mein Problem zu passen:
"Der Aufruf

bootrec.exe /FixMbr

schreibt einen neuen Master Boot Record. Du kannst das Programm auch verwenden, um einen beschädigten Bootsektor der Vista/Win7-Partition zu reparieren. Dazu benutzt Du den Aufrufparameter /FixBoot."

nur wo soll ich eingeben können? Meine Config ist MBP i7 mit Mac OS X-ML, Bootcamp 4.0 und Win7pro SP1, aber am Ende der einwandfreien 'unattended installation' erfolgt ein ReBoot und der klappt nicht und damit auch kein weiterer …
 
Zurück
Oben Unten