ROS failure after system crash
Hi. I got a problem after my computer crashed. A few days ago I shut off the power of my computer by accident and caused a problem like " mount: mounting /dev on /root/dev failed: No such file or directory mount: mounting / sys/ on root/sys failed: No such file or directory mount: mounting /proc on /root/proc failed: No such file or dirctory" as a result I couldn't get into the ubuntu operating system. I fixed it following the guidance found on someone's blog, with the command "sudo fdisk -l".
However, there comes an other problem which is quite likely to be caused by the former accident. That is my ROS no longer works, as all ROS related commands are now invalid, including the command "roscore", because they are "not found". But I checked the file folders, the ROS folder seems intact, and I checked the bashrc, there was a line "source /opt/ros/electric/setup.bash", I am completely muddled....
I wonder if you could help me solve this with out reinstalling ROS, because I am afraid reinstalling ROS may erase some important files or settings. Thanks.