Accidentally rm / * only deleted the files under /, how to restore the folders?

accidentally rm / * forgot to add the previous point, resulting in no file / file directory, dual system, I can open the disk under kali (debian) on window, but I can"t go to the system, is there any way to restore it?

ask urgently, do not want to reinstall the system!

Jan.26,2022

there are no files in the root folder, they are all folders. It should not be affected. In addition, there is no way to recover rm after deletion, maybe hard disk first aid can be done, as long as the deleted files are not overwritten.


No


tell the truth. Reload it faster.


has been resolved. Some connection files in the / directory are missing so that the command cannot be executed and the system cannot be initialized. Just copy a copy of the connection file on the live directly on the USB disk. Thank you

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36fc9-2c064.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36fc9-2c064.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?