Systemrettung: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 15: | Zeile 15: | ||
chroot /trg | chroot /trg | ||
echo "we have entered the forign system (chroot)!" | echo "we have entered the forign system (chroot)!" | ||
cd /boot | |||
dpkg-reconfigure linux-image-4.4.5-towo.1-siduction-amd64 | |||
grub-install $BOOT_DISK | grub-install $BOOT_DISK |
Version vom 10. März 2016, 23:03 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)!" cd /boot dpkg-reconfigure linux-image-4.4.5-towo.1-siduction-amd64 grub-install $BOOT_DISK echo "use 'exit' to leave the forign system"