Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I accidentally deleted EVERYTHING in that folder (obviously very unintelligent, happened when I was trying to just erase a symbolic link POINTING to it!!!!!!!!!!!!!) and I don't even wanna TRY rebooting my system till I figure out what to do.
Will simply compiling the kernel again remake this folder? And what is it exactly that I would have lost I'll have to put back again?
ACK!!!!!
I'll never type rm -rf again!!!!!!!!!!!!!!!!
(I'm currently in a Live CD environment so I can work with this, because I was having kernel problems anyway)
You probably don't even need to re-compile - switch to your source tree (highest level as normal) and try a make modules_install.
Presumes a 2.6 kernel.
'make modules_install' will put back all modules you built with kernel. However, you'll need also rebuild modules built against kernel source if you have any. Some DRI or wireless driver or whatever you had there.
I noticed that doing this didn't put back modules I had to install myself, such as ndiswrapper. Is there any way to get ndiswrapper back without having to reinstall it? The problem here is that anything else I can get by updating through the internet, but without an internet connection I can't get at ndiswrapper. Heh heh heh. Unless I moved my computer upstairs and attached it to the router with an ethernet cable.
The problem is that I can't just download the tarball upstairs and move it downstairs via USB or something because I use Portage to install things, the package manager with Gentoo. Hm..
Edit: Oh, you answered my question. Hm... I think I'll physically have to move it upstairs then. @_@ Oh well
Last edited by violagirl23; 01-13-2008 at 05:54 PM.
Thank you. I was lucky enough to still have ndiswrapper in /usr/portage/distfiles. I delete all of its contents often because I am VERY tight on disk space (like 10 gigs total). I'm back up!
AND I fixed my kernel. It was not working before. I'm almost 100% sure it not being about to mount /dev/hda2 as my root device arose from me changing ATA/ATAPI/MFM/RLL support from * to M.
And I finally compiled a kernel without the use of genkernel, which was happy. I never really used genkernel anyway, I just used it with menuconfig, and selected what I wanted, which is practically what a manual install is anyway, I guess.
THANK YOU!!!!!!!!!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.