henere
Goto Top

2012R2 von legacy boot auf UEFI ändern

Hallo,
hat das schon mal jemand ausprobiert ?
Funktionieren diese Anleitung oder gibt es bessere dafür ?

http://www.libe.net/index.php/Windows-BIOS-UEFI-Boot

http://www.heise.de/ct/hotline/BIOS-UEFI-Umstellung-2055705.html

Und sind diese Anleitungen überhaupt auf 2012R2 übertragbar ?

Danke euch vorab,

Henere

Content-Key: 297957

Url: https://administrator.de/contentid/297957

Printed on: April 25, 2024 at 00:04 o'clock

Member: Pjordorf
Pjordorf Mar 02, 2016 at 16:08:23 (UTC)
Goto Top
Hallo,

Zitat von @Henere:
Und sind diese Anleitungen überhaupt auf 2012R2 übertragbar ?
Frage: Kann dein Server Mainboard denn überhaupt UEFI?

Gruß,
Peter
Member: Henere
Henere Mar 02, 2016 updated at 16:21:41 (UTC)
Goto Top
Hallo Peter,
ja kann es, hatte aber beim installieren auf UEFI + Legacy stehen, dann hat er wohl Legacy draus gemacht.
Es ist ein ASUS Z10PE-D16 WS
Problem ist, dass ich eine Samsung 950pro habe, die auf dem vorhandenen M.2 Slot nur mit PCIE 2.0 mit 2x angefahren wird.
Deshalb habe ich eine Asus Hyper M.2 x4 Minia Karte gekauft (Adapter um die NVM direkt auf den PCIE 3.0 4x zu betreiben).
Dazu muss ich aber im BIOS auf nur UEFI umstellen, und dann wird die OS-Installation nicht mehr gefunden face-sad
Daher gehe ich davon aus, dass es im Legacy Mode installiert wurde und würde dies gerne, ohne Neu-Installation, ändern um die SSD endlich mit voller Geschwindigkeit fahren zu können. Da der Datenträger so aussieht:

DISKPART> lis dis

Datenträger ### Status Größe Frei Dyn GPT

Datenträger 0 Online 7079 GB 0 B *
Datenträger 1 Online 476 GB 0 B
Datenträger 2 Online 13 TB 0 B *

DISKPART> lis par

Partition ### Typ Größe Offset

Partition 1 Primär 350 MB 1024 KB
Partition 2 Primär 476 GB 351 MB

gehe ich stark von einer Legacy Installation aus.

Grüße, Henere
Member: Pjordorf
Pjordorf Mar 02, 2016 at 16:27:21 (UTC)
Goto Top
Hallo,

Zitat von @Henere:
würde dies gerne, ohne Neu-Installation, ändern
Vielleicht hilft dir https://community.spiceworks.com/how_to/86591-convert-a-mbr-disk-to-gpt- ...

Gruß,
Peter
Member: Henere
Henere Mar 02, 2016 at 16:34:07 (UTC)
Goto Top

Ist das auf 2012R2 übertragbar ?

Gruß,
Peter

Grüße, Henere
Member: Pjordorf
Pjordorf Mar 02, 2016 at 16:39:01 (UTC)
Goto Top
Hallo,

Zitat von @Henere:
Ist das auf 2012R2 übertragbar ?
Lies es, baue es nach, teste es oder las es face-smile

Gruß,
Peter
Member: Henere
Henere Mar 02, 2016 at 16:40:48 (UTC)
Goto Top
Werde mit Clonezilla mal noch den Server sichern, dann werde ich das mal testen.

Was ist denn mit http://www.libe.net/index.php/Windows-BIOS-UEFI-Boot ?
Sieht einfacher aus. Oder täusche ich mich da ?

Grüße, Henere
Member: Henere
Henere Mar 02, 2016 at 16:54:54 (UTC)
Goto Top
Zitat von @Pjordorf:

Hallo,

Zitat von @Henere:
würde dies gerne, ohne Neu-Installation, ändern
Vielleicht hilft dir https://community.spiceworks.com/how_to/86591-convert-a-mbr-disk-to-gpt- ...

Gruß,
Peter

Der Punkt:; (You can use a CD if you wish, but you will have to keep your BIOS/firmware in "Legacy Mode" for a longer duration of the process, and it may complicate things).

Die DVD vom 2012R2 kann doch im UEFI Mode starten, oder muss ich das wirklich über den Umweg mit dem USB Stick machen ?
Hintergrund: Ich kann über das IMPI Modul die ISO einfach mounten.

Kannst Du mir dazu was sagen ?

Danke, Henere
Member: Henere
Henere Mar 02, 2016 at 17:01:42 (UTC)
Goto Top
Zitat von @Pjordorf:

Hallo,

Zitat von @Henere:
würde dies gerne, ohne Neu-Installation, ändern
Vielleicht hilft dir https://community.spiceworks.com/how_to/86591-convert-a-mbr-disk-to-gpt- ...

Gruß,
Peter

Scheitert bei mir schon mal am nicht vorhandenen:
In Windows (on the HDD you will be converting), pull up regedit and navigate to

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\msahci

and change the (Default Value) to 0.

F*CK ! Will nicht neu installieren face-sad

Grüße, Henere
Member: Henere
Henere Mar 03, 2016 at 02:27:53 (UTC)
Goto Top
Also die Variante mit testdisk von LInux scheitert daran, dass mein OS auf einer M.2 SSD installiert ist. Diese wird von testdisk nicht erkannt. face-sad

Hat noch jemand eine Idee, was ich tun könnte ?

Was würde denn passieren, wenn ich Windows neu installiere (im UEFI-Mode) und dann das erstellte Backup von C:\ zurückspiele ?
Könnte das klappen ?

Danke und Grüße, Henere
Member: Henere
Henere Mar 04, 2016 at 01:46:08 (UTC)
Goto Top
Hab die jetzt erstmal an einer virtuellen Maschine ausprobiert. (https://community.spiceworks.com/how_to/86591-convert-a-mbr-disk-to-gpt- ..)

Es scheitert irgendwo, auch wenn ich keine Fehlermeldungen während der ganzen Anleitung bekomme.
Der Boot-Versuch: Message: No x64-based UEFI boot loader was found.
Hab das Ganze 2x gemacht um Vertipper auszuschliessen.

Meine Idee wäre jetzt, 2012R2 neu zu installieren, gleich im UEFI Mode. Dann würde ich die Komplettsicherung zurückspielen.
Nur welche Komponenten darf ich dann zurückspielen ?
Ich denke nur:
C:\
SystemState

Weglasssen würde ich:
Bare-Metal-Recovery und System-reserviert.

Kann mir jemand sagen, ob ich da nen Denkfehler bei habe ?
Member: Henere
Henere Mar 04, 2016 updated at 03:53:27 (UTC)
Goto Top
So, Problem auf der virtuellen Maschine gelöst.

Man braucht: https://sourceforge.net/projects/gptfdisk/files/gptfdisk/
und eine 2012R2 Installations DVD

Anleitung:

Mit UltraISO die Win2012R2 Installations-DVD eingelesen, den Ordner GDISK hinzugefügt. In den Ordner GDISK die Dateien aus obigem Download eingefügt). Wichtig ist hier die GDISK64.EXE
Nun wurde ein ISO erzeugt, dieses ist UEFI-bootfähig und kann entweder per IPMI gemounted werden oder als klassische DVD.

Es wird im UEFI-Modus von der DVD gebootet, dann beim ersten Bild mit Windows SHIFT-F10 gedrückt. Nun wechselt man auf der DVD in den Ordner GDISK

Auszug aus: https://community.spiceworks.com/how_to/86591-convert-a-mbr-disk-to-gpt- ...

6.2 Run "gdisk64.exe" (or gdisk32 if your running 32-bit).

Enter the following:

(6.3) \\.\physicaldrive#

Where # is the Disk number of the HDD (usually 0). It will present a message about an invalid GPT and having an MBR only. Go ahead and enter "y" at the prompt.

(6.4) t

If any of you have ever used fdisk for any Linux distros, you will quickly become familiar with the commands and menus. "t" will bring up the Code change menu.

(6.5) 1
# of your System partition, usually always 1

(6.6) EF00

This will it that we want to change the type code to EFI.

(6.7) w

//This will write the changes to the table and exit. A message will come up warning you once more about the permanent changes. Enter "y" to proceed. GDisk will then exit after writing the changes.

Damit wird die HDD von MBR zu GPT umgewandelt.

Nun gehts mit einem Teil dieser Anleitung weiter: http://social.technet.microsoft.com/wiki/contents/articles/14286.conver ...

We will need the disk partitioning tool. With this, we will recreate the boot partitions. Type:

diskpart
Identify the boot disk where Windows is located, typing:

list disk

Something like this should appear:

Disk ### Status Size Free Dyn Gpt

-------- ------------- ------- ------- --- ---

          • Disk 0 Online 128 GB 0 B *
          Once identified, select the disk (replace with the correct number):

          select disk 0
          Verify the partitions:

          list partition
          Something similar at the info below should appear.

          Partition ### Type Size Offset

          ------------- ---------------- ------- -------

          Partition 1 Primary 350 MB 1024 KB

          Partition 2 Primary 126 GB 350 MB
          Delete the previous system partition:

          select partition 1

          delete partition

          Create the new boot partition, Microsoft reserved partition:

          create partition EFI size=100 offset=1

          format quick fs=fat32 label="System"

          assign letter=S

          create partition msr size=128 offset=103424
          If you list the partitions again, you should have ended up with something like this:

          Partition ### Type Size Offset

          ------------- ---------------- ------- -------

          Partition 1 System 100 MB 1024 KB

          Partition 2 Reserved 128 MB 101 MB

          Partition 3 Primary 126 GB 229 MB
          Ensure that your Windows installation is mounted, replacing 3 with the volume number of the Windows installation (usually 1):

          list volume

          select volume 3

          assign letter=C
          Exit diskpart:

          exit
          Generate boot partition data, replacing C: with the letter of the Windows installation (usually Cface-smile:

          bcdboot c:\windows /s s: /f UEFI
          Cross your fingers and then restart your computer!

          *
          Hat bei mir in Hyper-V funktioniert, wenn mir jemand meine Frage aus dem letzten Post beantwortet, dann probiere ich das morgen auf echtem Metall. Und wenn das auch klappt mache ich eine schöne Anleitung für den Wissensteil daraus.

          Grüße, Henere
Member: Henere
Henere Mar 12, 2016 at 15:50:52 (UTC)
Goto Top
Also, hat auch auf der physikalischen Maschine funktioniert.