GrubRescue Bootanleitung: Unterschied zwischen den Versionen

Aus Froggis Wissenssammlung
Wechseln zu:Navigation, Suche
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…“)
 
K (1 Version importiert)
(kein Unterschied)

Version vom 27. Januar 2019, 01:19 Uhr

Part Eins

grub rescue > ls

  1. then you will see result something like this
  2. this are list of your partition in your laptop

(hd0) (hd0,msdos5) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1) (hd1) (hd1,msdos1)

  1. try to recognize which partition is this

grub rescue > ls (hd0,msdos1)

  1. let’s assume this is the linux partition

grub rescue > ls (hd0,msdos2)

  1. set (hd0,msdos2) as root

grub rescue > set root=(hd0,msdos2)

  1. set prefix to [partition]/boot/grub

grub rescue > set prefix=(hd0,msdos2)/boot/grub

  1. if this produced an error, reset root and prefix to something else

grub rescue > insmod normal

grub rescue > normal

Und dann

sudo update-grub

  1. 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

Part Zwei