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

Menu