Systemrettung: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Die Seite wurde neu angelegt: „Kategorie:Host == Grub restaurieren == * Rettungssystem starten {{{ BOOT_DISK=/dev/sdX ROOT_PART=/dev/sdX5 test -d /trg || mkdir /trg mount $ROOT_PART /trg …“) |
|||
Zeile 3: | Zeile 3: | ||
== Grub restaurieren == | == Grub restaurieren == | ||
* Rettungssystem starten | * Rettungssystem starten | ||
<pre> | |||
BOOT_DISK=/dev/sdX | BOOT_DISK=/dev/sdX | ||
ROOT_PART=/dev/sdX5 | ROOT_PART=/dev/sdX5 | ||
Zeile 19: | Zeile 19: | ||
echo "use 'exit' to leave the forign system" | echo "use 'exit' to leave the forign system" | ||
</pre> |
Version vom 27. Mai 2014, 21:04 Uhr
Grub restaurieren
- Rettungssystem starten
BOOT_DISK=/dev/sdX ROOT_PART=/dev/sdX5 test -d /trg || mkdir /trg mount $ROOT_PART /trg for dir in /sys /dev /proc ; do mount -o bind $DIR /trg/$DIR done chroot /trg echo "we have entered the forign system (chroot)!" grub-install $BOOT_DISK echo "use 'exit' to leave the forign system"