I have done alot of searching and can't figure out how to fix my ubuntu installation.
I have a dual boot system with windows 7 (I can boot into windows fine). When I try to boot ubuntu from grub as per usual, it now goes into kernel panic complaining
error while loading shared libraries: libpcre.so.3: cannot open shared object file: No such file or directory
This happened a while back and I haven't got around to fixing it until now. I can't remember what caused this (I assume a failed update). I can't use recovery mode as it gives the same issue nor any of the older kernels still installed.
I have tried booting into text mode or single mode, but it always fails the same way with the above error.
I have tried booting via a live usb stick and have managed to mount the root directories and chroot into them. However I can't do a
sudo apt-get update ; sudo apt-get upgrade
due to the same issue. Even trying to do ls in a directory fails with the above error.
I would really appreciate any advice on how to get the ubuntu up and running again.
I have tried copying the
libpcre.so.3.13.1 from the live cd to the
/lib/x86_64-linux-gnu/ on the harddisk, and then linked it in the same folder to
libpcre.so.3. Unfortuately that didn't work either. I can't find any useful log of the failed boot to share to help with the debugging.
Please let me know if there is any additional information I can provide to help debug the issue.