Okay so I had a problem, that either nobody wanted to help me fix or either just didn't know how to answer my question. I accidentally deleted the contents of /lib/modules. I found a lot of answers through searching and I had successfully booted up into a live session and chroot'd into my filesystem. And I actually have the module package which is 3.2.0-40-generic-pae on my external, but I don't know how to copy it from my external into my chroot'd filesystem. My external is labeled My Passport, so in commands I can't use that because of the space in the name. So if I could figure out how to copy that package from my external into my filesystem, I think that may work. I could then use insmod (i believe) to load the modules individually once I boot back into the system. My previous question was what package I could download and install now that I have access to the internet, someone suggested linux-kernel-headers and I tried that, and it said it was the newest versiona already and wouldn't install. So all I need to know is either
1. What package I can download and install to replace my modules
or
2. How to copy files to and from My Passport (possibly how to change the name of the external) so I can either backup my files and re-install Ubuntu, or copy the 3.2.40-generic-pae package from the external and then load the modules into the system.
About question 2, if I can indeed copy the module package back into /lib/modules, if I do so, then reboot my filesystem, will the kernel automatically load the modules or will I have to go in and load them one by one using insmod?
Thank you for your help. The last time I posted, I got NO answers, so I figured I'd go again, and this time it's a little bit simpler, and I have two different options, so that gives me twice the possibility for a known answer to my problem, as either would work.
Edit: Referencing what someone said to me before (if you don't have current backups of your data then it must not be important to you), my data is very important to me, I just am not as fortunate as everyone to have terabytes of space to backup all my data to, as I share a computer, and don't have much internal space, and I do have an external where I backup certain imporant data to, but I don't do it every single time I download important data.
I recently backed up a lot of my data, that's actually WHAT I was doing when I messed up my /libs/modules, because I was backing up some Android development (due to low storage space) and saw that /lib/modules was taking up a lot of space on my system, and I actually have a /lib/modules folder for developing Android kernels, so I got mixed up on which /lib folder I was in. The first thing I was backing up was my Android development, then going to personal data, and that's when my system broke (that's how I have a backup of the 3.2.40-generic-pae)
Bookmarks