Kun poistin Ubuntu-osion, käynnistin tietokoneen uudelleen ja sain vain kehotteen:
grub rescue >
Komento ls
listaa
(hd0) (hd0,msdos5) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1) (hd1) (hd1,msdos1)
Tarkistan ne yksi kerrallaan:
ls (hd0,msdos5)/
ls (hd0,msdos1)/
Mutta en löydä oikeaa osiota.
Kokeile seuraavia ..
grub rescue > ls
(hd0) (hd0,msdos5) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1) (hd1) (hd1,msdos1)
grub rescue > ls (hd0,msdos1) # try to recognize which partition is this
grub rescue > ls (hd0,msdos2) # let's assume this is the linux partition
grub rescue > set root=(hd0,msdos2)
grub rescue > set prefix=(hd0,msdos2)/boot/grub # or wherever grub is installed
grub rescue > insmod normal # if this produced an error, reset root and prefix to something else ..
grub rescue > normal
Pysyvää korjausta varten suorita seuraava käynnistyksen onnistumisen jälkeen:
sudo update-grub
sudo grub-install /dev/sdX
jossa /dev/sdX
on käynnistysasemasi.
Voit poistaa GRUBin lataamalla Windows 8:n tai 10:n toisesta tietokoneesta. Polta iso USB:hen Rufuksella. Käynnistä USB:ltä, valitse Vianmääritys, sitten Komentokehote ja kirjoita:
Bootrec /fixmbr
Windows käynnistyy normaalisti ilman Ubuntu'n GRUBia. Voit asentaa Ubuntun uudelleen.
Käynnistä tietokone Ubuntu live-CD:llä tai live-USB:llä.
seuraa sitten kohtaa 2. vaihtoehto : asenna Boot-Repair Ubuntuun tästä linkistä: