Arquivos sys removidos (rm -rf / *) help

0

Hoje cometi um erro ao executar:

rm -rf /*
0200:00/power/control': Operation not permitted
rm: cannot remove /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:01/PNP0200:00/power/runtime_suspended_time': Operation not permitted

Portanto, agora não posso usar nenhum comando, mesmo reboot não funcionará.

root@HLCommunity12:/var/www# ls
-bash: /bin/ls: No such file or directory
root@HLCommunity12:/var/www# ps x
-bash: /bin/ps: No such file or directory
root@HLCommunity12:/var/www# cd
-bash: cd: /root: No such file or directory
root@HLCommunity12:/var/www# umount /dev/sdb
-bash: umount: command not found
root@HLCommunity12:/var/www# grub-install '(hd0)'
-bash: /usr/sbin/grub-install: /bin/sh: bad interpreter: No such file or directory
root@HLCommunity12:/var/www# fsck /dev/sda1
-bash: fsck: command not found
root@HLCommunity12:/var/www# umount /home
-bash: umount: command not found
root@HLCommunity12:/var/www# apt-get
-bash: /usr/bin/apt-get: No such file or directory
root@HLCommunity12:/var/www# yum
-bash: yum: command not found
root@HLCommunity12:/var/www# chmod ugo+w .
-bash: /bin/chmod: No such file or directory
root@HLCommunity12:/var/www# grep -a -C 500 'known pattern' /dev/sda | tee /tmp/recover
-bash: grep: command not found
-bash: /usr/bin/tee: No such file or directory
root@HLCommunity12:/var/www# init=/bin/bash
root@HLCommunity12:/var/www# mount -rw -o remount /
-bash: mount: command not found
root@HLCommunity12:/var/www# pwconv
-bash: /usr/sbin/pwconv: No such file or directory
root@HLCommunity12:/var/www# reboot
-bash: reboot: command not found
    
por dev0L 24.10.2016 / 17:03

1 resposta

8

Sim, você destruiu seu sistema. Reinstale o sistema operacional e restaure os backups.

    
por 24.10.2016 / 17:04

Tags