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.
Help! I tried to recompile ACPI support into my kernel and borked things up. Now I can't boot into Linux (I have a Toshiba laptop, dual-boot WinXP and Slack9.1). Good news is I have the official Slackware 9.1 CDs, so I can use disc 2 which is a rescue CD. I have popped it in and booted off of the CD and mounted my / partition and can access it.
My question is: how do I copy the stock kernel over and edit my /etc/lilo.conf in order to get back up and running?
1. Boot system from CD and mount drives.
2. Go to CD, /kernels/bare.i
3. Copy those files into /boot of your hard drive. (Overwrite the ones in there currently)
4. Run LILO. If you have the HD mounted on /mnt/root, for example, you would type /mnt/root/sbin/lilo. That should update the bootloader so you can boot the new kernel.
5. Reboot system.
But they're not working for me.
What I did:
I copied the following files from /cdrom/kernels/bare.i to my hard drive's /boot directory: System.map.gz, bzImage, config
I deleted pretty much everything in my hard drive's /boot directory except these files. Is there anything else I need in /boot besides these files?
Originally posted by chud67
I copied the following files from /cdrom/kernels/bare.i to my hard drive's /boot directory: System.map.gz, bzImage, config
I deleted pretty much everything in my hard drive's /boot directory except these files. Is there anything else I need in /boot besides these files?
Thanks.
Ok, I'm replying to myself now! :-)
A couple more questions, I think I need something more in /boot than those three files. Do I need to create a symlink called vmlinuz to the bzImage file?
Also, the file System.map.gz appears to be a zipped file, should I unzip it?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.