Results 1 to 5 of 5
Hi,
I had a Slackware 12 system and I've recompiled a newer kernel version. After installing it, the system is not booting any more. As I don't want to reinstall ...
- 09-09-2009 #1Just Joined!
- Join Date
- Sep 2009
- Posts
- 2
system not booting after kernel compilation
Hi,
I had a Slackware 12 system and I've recompiled a newer kernel version. After installing it, the system is not booting any more. As I don't want to reinstall everything and lose existing information, I need to know what can be done to restore my system.
Any help would be highly appreciated.
- 09-09-2009 #2
Hello and Welcome.
Did you have a different Kernel working before you compiled your own? You can add the old kernel to grub and use that to boot with.I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
- 09-10-2009 #3Slackware uses lilo, but other than that it's a good point. Did you (PeterMas) not keep the old kernel in your lilo.conf? That would have been the safest choice.
Originally Posted by "MikeTbob
Anyway, your system should still be rescuable (<=that should be a word). Assuming you have only your new kernel entry in lilo.conf, do this:
Boot up the Slackware install CD/DVD. At the prompt, mount your root partition. That is probably /dev/hda1 or /dev/sda1
Now change your root directory (because you where running from the CD/DVD and you want to run from the hard drive)Code:mount /dev/hda1 /mnt
Voila! You're working on the hard drive again. Edit lilo.conf to restore your old kernel:Code:chroot /mnt
And now finish it by running lilo. Don't forget this!Code:vim /etc/lilo.conf
RebootCode:lilo
And you should be done.Code:reboot
Can't tell an OS by it's GUI
- 09-10-2009 #4
Thanks for the info regarding Lilo, Freston. I've never used Slack.
I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
- 09-11-2009 #5Just Joined!
- Join Date
- Sep 2009
- Posts
- 2
Thank you, Freston. I followed your instructions exactly and everything worked great!
Indeed, Slackware uses lilo.


Reply With Quote