GrubRescue Bootanleitung
Aus Froggis Wissenssammlung
Version vom 6. Juni 2019, 22:30 Uhr von Froggi (Diskussion | Beiträge)
<btn>mainpage|Zurück</btn>
Part Eins
grub rescue > ls
- then you will see result something like this
- this are list of your partition in your laptop
(hd0) (hd0,msdos5) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1) (hd1) (hd1,msdos1)
- try to recognize which partition is this
grub rescue > ls (hd0,msdos1)
- let’s assume this is the linux partition
grub rescue > ls (hd0,msdos2)
- set (hd0,msdos2) as root
grub rescue > set root=(hd0,msdos2)
- set prefix to [partition]/boot/grub
grub rescue > set prefix=(hd0,msdos2)/boot/grub
- if this produced an error, reset root and prefix to something else
grub rescue > insmod normal
grub rescue > normal
Und dann
sudo update-grub
- use /dev/sda so the grub will installed at the root of your partition not at specific partition (all can access it)
sudo grub-install /dev/sda