System Rescue

SuSE SLES
Avviare il server con DVD di installazione e scegliere la voce: Rescue System

Montare i vari filesystem: Rescue:~ # mount /dev/system/root_lv /mnt Rescue:~ # mount /dev/system/var_lv /mnt/var Rescue:~ # mount /dev/sda1 /mnt/boot Rescue:~ # mount -t proc none /mnt/proc Rescue:~ # mount -o bind /dev /mnt/dev Rescue:~ # mount -t sysfs none /mnt/sys

Cambiare la root con chroot: Rescue:~ # chroot /mnt

Eseguire i comandi del caso: [Rescue:root](/) /etc/init.d/network restart [Rescue:root](/) /etc/init.d/sshd restart

[Rescue:root](/) [...]

[Rescue:root](/) /etc/init.d/sshd stop

[Rescue:root](/) exit

Smontare i filesystem montati in precedenza: Rescue:~ # umount /mnt/sys Rescue:~ # umount /mnt/dev Rescue:~ # umount /mnt/proc Rescue:~ # umount /mnt/boot Rescue:~ # umount /mnt/var Rescue:~ # umount /mnt

Riavviare il server: Rescue:~ # reboot