SlackwareThis Forum is for the discussion of Slackware Linux.
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.
make install moves your old kernel to vmlinux.old (and you edit lilo like this so you can boot into your old kernel in case the new one fails), and the new one will just be called vmlinuz.
I would highly recommend reading the guides at the top of the board, they have some common gotchas in them.
Originally posted by Kovacs make install moves your old kernel to vmlinux.old (and you edit lilo like this so you can boot into your old kernel in case the new one fails), and the new one will just be called vmlinuz.
I would highly recommend reading the guides at the top of the board, they have some common gotchas in them.
Just figured it out too. Yea, I'm reading at the slicky now.
btw, I seems to have missed make dep, make clean, make bzImage. Now I'm at make install (Didn't know it takes so much time). Are the above 3 commands important? Can I "rollback" now?
afaik you don't have to do any of those if you're using the make install method, I've always compiled successfully with make && make modules_install && make install.
Originally posted by Kovacs afaik you don't have to do any of those if you're using the make install method, I've always compiled successfully with make && make modules_install && make install.
sheesh, 1st kernel compile failed
After selecting the new kernel at lilo, got a blank screen after that. Any idea why?
Those bits go in your .config file for your kernel. You can either make clean or remove your 2.6.7 source directory and repeat all the steps up until you get to make. Edit your /usr/src/linux/.config and find those options and change the values accordingly. There are also corresponding entries in make menuconfig (somewhere) if you'd rather do it that way. Then make && make modules_install && make install as normal.
Originally posted by Kovacs Those bits go in your .config file for your kernel. You can either make clean or remove your 2.6.7 source directory and repeat all the steps up until you get to make. Edit your /usr/src/linux/.config and find those options and change the values accordingly. There are also corresponding entries in make menuconfig (somewhere) if you'd rather do it that way. Then make && make modules_install && make install as normal.
oh so I can just re-do the kernel compiling all over again without removing or deleting any current files?
If you don't want to delete the source then you at least have to do a "make clean", although I would personally:
back up your /usr/src/linux-2.6.7/.config to another location (eg. /usr/src).
rm -rf /usr/src/linux-2.6.7
then extract the kernel source, make the symlink to linux, edit the Makefile, make mrproper
cp your .config to /usr/src/linux, edit as above to fix the blank screen stuff
make etc. etc as normal.
Originally posted by Kovacs If you don't want to delete the source then you at least have to do a "make clean", although I would personally:
back up your /usr/src/linux-2.6.7/.config to another location (eg. /usr/src).
rm -rf /usr/src/linux-2.6.7
then extract the kernel source, make the symlink to linux, edit the Makefile, make mrproper
cp your .config to /usr/src/linux, edit as above to fix the blank screen stuff
make etc. etc as normal.
thanx, got it to work.
But another problem. It seems that my usb devices are not working (mouse especially, no lights up on my usb optical mouse). Did a lsmod, not exactly sure what does the results mean but I think that all the mod are not working?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.