august_burg hat geschrieben: 21.10.2021, 14:11Jedoch kein Problem, weil aktuelles AOMEI-Backup vorhanden ist.
Einer "Eingebung" folgend, habe ich die Systemplatte vor Rückspielung des Images mit gparted-live via USB-Stick geputzt.
Interessantes Ergebnis:
Der bootmgr ist zwar nach wie vor doppelt vorhanden, jedoch gleichen sich die Sektoren jetzt komplett
Seltsam, jetzt zeigen/zeigten beide Einträge auf den Startsektor 63.
Was bedeutet 'gparted-live via USB-Stick geputzt'? Hast du Partitonen gelöscht und neue Partitonen innerhalb gparted-live erstellt?
Hast du in der Vergangenheit ein Image zurückgespielt?
Eventuell stammt(e) der zweite NVRAM Eintrag vom Image zurückspielen.
Welche System Festplatte verwendest du? Ist das eine 512e Festplatte?
https://en.wikipedia.org/wiki/Advanced_Format
https://de.wikipedia.org/wiki/Advanced_Format
https://www.anandtech.com/show/2888
DK2000 hat geschrieben: 20.10.2021, 23:22Geht jetzt nicht unbedingt hervor, dass da auch der Eintrag aus dem UEFI Boot Manager entfernt wird. Müsste mal jemand testen.
Test auf realer und virtueller Hardware:
Windows 11 22000 auf einem Asrock J3355B-ITX mit UEFI P1.90. Bootauswahl mit F11: F11 steht unten für die reale Hardware.
Windows 10 im VMWare Player. Bootauswahl mit ESC: ESC steht unten für die virtuelle Hardware.
bcdedit.exe /copy {bootmgr} /d "Copy bootmgr"
Neustart, F11 UEFI boot menu:
nur "Copy bootmgr" wird angeboten, Windows Boot Manager wird nicht angezeigt
Neustart, ESC UEFI boot menu:
Der Windows Boot Manager und "Copy bootmgr" wird zur Auswahl angeboten.
bcdedit.exe /delete {e39465ae-1b0a-11ec-9a83-bf0798c66af8}
Neustart, F11 UEFI boot menu:
Der Windows Boot Manager wird angeboten, "Copy bootmgr" fehlt
Neustart, ESC UEFI boot menu:
Der Windows Boot Manager wird angeboten, "Copy bootmgr" fehlt
Test unter verschäften Randbedingungen:
'bcdedit.exe /delete {bootmgr}' wird abgelehnt, aber ein Hinweis zu /f (force) angezeigt.
mountvol s: /s
dir s:\efi\Boot\bootx64.efi && bcdedit.exe /delete {bootmgr} /f
Neustart, F11 UEFI boot menu:
Der Windows Boot Manager wird angeboten.
Neustart, ESC UEFI boot menu:
Es wird kein Windows Boot Manager angeboten.
Windows 11 bootet nicht, der Booteintrag fehlt in BCD.
Die Reparaturaumgebung wird gestartet, cmd.exe gewählt.
mountvol s: /s
bcdboot c:\windows /s s:
Neustart, F11 UEFI boot menu:
Der Windows Boot Manager wird angeboten.
Neustart, ESC UEFI boot menu:
Der Windows Boot Manager wird angeboten.
Windows bootet wieder.
Zusammenfassung:
Bcdedit stellt Löschanfragen an das UEFI. Die Asrock UEFI Variante löscht Einträge im NVRAM, aber behält minimal einen Eintrag.
Ein Versuch auf anderer Hardware mag andere Ergebnisse liefern.
Die BCDEdit Reference von 2008 beschreibt NVRAM Einträge für Windows Vista
https://docs.microsoft.com/de-de/previo ... 6(v=vs.85)
https://download.microsoft.com/download ... _reff.docx
Von 2008
https://docs.microsoft.com/en-us/previo ... 1(v=ws.10)
During this step, Bcdedit.exe creates an EFI non-volatile random access memory (NVRAM) entry for the Windows Boot Manager.
Remove Duplicate Firmware Objects in BCD and NVRAM
https://docs.microsoft.com/en-us/previo ... 0(v=ws.10)
Hier wird bcdedit import verwendet. Nicht getestet.
[quote=august_burg post_id=376419 time=1634818316 user_id=39544]Jedoch kein Problem, weil aktuelles AOMEI-Backup vorhanden ist.
Einer "Eingebung" folgend, habe ich die Systemplatte vor Rückspielung des Images mit gparted-live via USB-Stick geputzt.
Interessantes Ergebnis:
Der bootmgr ist zwar nach wie vor doppelt vorhanden, jedoch gleichen sich die Sektoren jetzt komplett[/quote]
Seltsam, jetzt zeigen/zeigten beide Einträge auf den Startsektor 63.
Was bedeutet 'gparted-live via USB-Stick geputzt'? Hast du Partitonen gelöscht und neue Partitonen innerhalb gparted-live erstellt?
Hast du in der Vergangenheit ein Image zurückgespielt?
Eventuell stammt(e) der zweite NVRAM Eintrag vom Image zurückspielen.
Welche System Festplatte verwendest du? Ist das eine 512e Festplatte?
https://en.wikipedia.org/wiki/Advanced_Format
https://de.wikipedia.org/wiki/Advanced_Format
https://www.anandtech.com/show/2888
[quote=DK2000 post_id=376373 time=1634764922 user_id=39966]Geht jetzt nicht unbedingt hervor, dass da auch der Eintrag aus dem UEFI Boot Manager entfernt wird. Müsste mal jemand testen.[/quote]
Test auf realer und virtueller Hardware:
Windows 11 22000 auf einem Asrock J3355B-ITX mit UEFI P1.90. Bootauswahl mit F11: F11 steht unten für die reale Hardware.
Windows 10 im VMWare Player. Bootauswahl mit ESC: ESC steht unten für die virtuelle Hardware.
bcdedit.exe /copy {bootmgr} /d "Copy bootmgr"
Neustart, F11 UEFI boot menu:
nur "Copy bootmgr" wird angeboten, Windows Boot Manager wird nicht angezeigt
Neustart, ESC UEFI boot menu:
Der Windows Boot Manager und "Copy bootmgr" wird zur Auswahl angeboten.
bcdedit.exe /delete {e39465ae-1b0a-11ec-9a83-bf0798c66af8}
Neustart, F11 UEFI boot menu:
Der Windows Boot Manager wird angeboten, "Copy bootmgr" fehlt
Neustart, ESC UEFI boot menu:
Der Windows Boot Manager wird angeboten, "Copy bootmgr" fehlt
Test unter verschäften Randbedingungen:
'bcdedit.exe /delete {bootmgr}' wird abgelehnt, aber ein Hinweis zu /f (force) angezeigt.
mountvol s: /s
dir s:\efi\Boot\bootx64.efi && bcdedit.exe /delete {bootmgr} /f
Neustart, F11 UEFI boot menu:
Der Windows Boot Manager wird angeboten.
Neustart, ESC UEFI boot menu:
Es wird kein Windows Boot Manager angeboten.
Windows 11 bootet nicht, der Booteintrag fehlt in BCD.
Die Reparaturaumgebung wird gestartet, cmd.exe gewählt.
mountvol s: /s
bcdboot c:\windows /s s:
Neustart, F11 UEFI boot menu:
Der Windows Boot Manager wird angeboten.
Neustart, ESC UEFI boot menu:
Der Windows Boot Manager wird angeboten.
Windows bootet wieder.
Zusammenfassung:
Bcdedit stellt Löschanfragen an das UEFI. Die Asrock UEFI Variante löscht Einträge im NVRAM, aber behält minimal einen Eintrag.
Ein Versuch auf anderer Hardware mag andere Ergebnisse liefern.
Die BCDEdit Reference von 2008 beschreibt NVRAM Einträge für Windows Vista
https://docs.microsoft.com/de-de/previous-versions/windows/hardware/design/dn653986(v=vs.85)
https://download.microsoft.com/download/9/c/5/9c5b2167-8017-4bae-9fde-d599bac8184a/bcdedit_reff.docx
Von 2008
https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-vista/cc765951(v=ws.10)
[QUOTE]During this step, Bcdedit.exe creates an EFI non-volatile random access memory (NVRAM) entry for the Windows Boot Manager.[/QUOTE]
Remove Duplicate Firmware Objects in BCD and NVRAM
https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-vista/cc749510(v=ws.10)
Hier wird bcdedit import verwendet. Nicht getestet.