Grub2 /boot/grub/grub.cfg fehlt

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen

Retten

Wir starten Sytem und erhalten einen grub Prompt
  • grub>
Setzen des Root Verzeichnis für grub
  • grub> set root=(hd0,1)
Linux Modul laden
  • grub> insmod linux
Kernel setzen
  • grub> linux /boot/vm (hier Tab nutzen für Autokomplete)
  • grub> linux /boot/vmlinux-xxx root=/dev/sda(X) ro
Ramdisk laden
  • grub> initrd /boot/initrd (hier Tab nutzen für Autokomplete)
  • grub> initrd /boot/initrd-xxx
Booten
  • grub> boot

Konfiguration wiederherrstellen

als root
  • update-grub

Aufgabe

  • /boot/grub/grub.cfg löschen=
  • System retten