GrubRescue Bootanleitung: Unterschied zwischen den Versionen
Aus Froggis Wissenssammlung
fow>Oiswissa (Die Seite wurde neu angelegt: „== 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,msd…“) |
Froggi (Diskussion | Beiträge) K (1 Version importiert) |
(kein Unterschied)
| |
Version vom 27. Januar 2019, 01:19 Uhr
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