시스템 파일이 삭제되었습니다(rm -rf /*) 도움말

시스템 파일이 삭제되었습니다(rm -rf /*) 도움말

오늘 실행할 때 오류가 발생했습니다.

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

이제 어떤 명령도 사용할 수 없고 reboot작동하지도 않습니다.

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

답변1

예, 당신은 시스템을 망쳤습니다. 운영 체제를 다시 설치하고 백업을 복원하십시오.

관련 정보