Linux:Kernel: Unterschied zwischen den Versionen

Aus Alexander's Wiki
(Die Seite wurde neu angelegt: „= Wiederherstellung des Bootmenüs = == Booten von einem Livesystem und chroot == <source lang="bash"> mount /dev/sda1 /mnt mount -o bind /dev /mnt/dev…“)
 
K
 
Zeile 12: Zeile 12:
<source lang="bash">
<source lang="bash">
   apt-get install linux-generic
   apt-get install linux-generic
</source>
== Grub anpassen und installieren ==
<source lang="bash">
  grub-install /dev/sda
  update-grub
</source>
</source>

Aktuelle Version vom 1. April 2016, 08:18 Uhr

Wiederherstellung des Bootmenüs

Booten von einem Livesystem und chroot

  mount /dev/sda1 /mnt
  mount -o bind /dev /mnt/dev 
  mount -o bind /sys /mnt/sys
  mount -t proc /proc /mnt/proc
  chroot /mnt /bin/bash

Installation des Kernels

  apt-get install linux-generic

Grub anpassen und installieren

  grub-install /dev/sda
  update-grub