How do I repair Ubuntu after running the command: sudo rm /*

Started by mahesh, Aug 14, 2023, 03:25 AM

Previous topic - Next topic

mahesh

While I was trying to remove files from a SD card from the same directory, I ran `sudo rm /*` and now Ubuntu isn't working.
when i restarted i get the error: kernel panic attempted to kill init.


I'm new to Linux. What should I do now? I dont want to loose my data.