Gelöschte Ubuntu, jetzt kann ich nicht auf Windows zugreifen

898

Mein Laptop arbeitete mit Dual-Boot, ich hatte Ubuntu Mate und Windows 8. Ich wollte Ubuntu löschen, also habe ich es durch Windows Disk Management gemacht, indem ich die Partition gelöscht habe, in der Linux war. Auf diese Weise habe ich GRUB-Boot gelöscht und das USB-Laufwerk mit Systemreparatur eingesetzt. Nach dem Neustart wird die Systemreparatur jedoch nicht ausgeführt. Ich habe ein paar Befehle ausprobiert, die ich online gesucht habe, aber nichts funktioniert, ich bekomme nur "Sie müssen zuerst den Kernel laden." Kann ich irgendetwas tun, um das Problem zu beheben?

0
Ist Ihr BIOS so eingestellt, dass es zuerst von USB bootet? Trennen Sie das Festplattenlaufwerk vom Computer, um sicherzustellen, dass es tatsächlich versucht, vom USB-Laufwerk zu starten. Obwohl ich denke, dass die Antwort unten als Gesamtkonzept Ihr Problem lösen sollte. Damon vor 6 Jahren 0

1 Antwort auf die Frage

1
snayob

You deleted Ubuntu partition => you deleted second stage of GRUB.

First stage of GRUB is still in control of the booting as it occupies the MBR (Master Boot Record) I suppose (let's ignore UEFI for this solution to simplify things).

To fix Windows 8 boot you need to execute two commands when booted from Windows 8 installation/recovery USB: (on command prompt)

  1. bootsect /nt60 ALL /mbr

bootsect writes boot code only to "usual" Windows partitions (e.g. NTFS, FAT) and MBR, does not write boot code to Linux partitions (not relevant in this case).

  1. bcdboot N:\windows /s c:

assuming c: is active partition, N: is where Windows is installed.

You can use diskpart.exe to get info about active partition on hard disk with:

list disk select disk #num - (#num = number of hard disk) list vol 

you get a list of volumes - volume (with or without drive letter) with "System" in last column is active.

You can map a volume like this:

sel vol #num - (#num = number of active) assign LETTER=R 

assigns drive letter R: to active.