I am using my machine for Embedded System Development. My kernel version is 3.2.0-23. Yesterday I was attempting to load a new kernel image to the sd card. Accidentally instead of overwriting the lib/modules and lib/firmware I overwrote the /lib/modules and /lib/firmware. Now the kernel does not detect my pendrive. It gives me the message that the kernel drive associated with the filesystem is not supported. What can I do to restore the original state?