LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-20-2014, 08:06 AM   #1
themeone
Member
 
Registered: Mar 2008
Location: Croydon UK
Distribution: Debian
Posts: 33

Rep: Reputation: 15
Booting previous kernel


I had a few problems recently upgrading to the latest Debian kernel as the psmouse module didn't work (simply cured by re-installing the new kernel), and I'd forgotten I'd manually installed the snd-hda-intel module, which was wiped out and I had to reinstall it.

It occurred to me I should have some way of easily booting the previous kernel and modules, but I can see no way to do this. I use LILO and have no "linux.old" entry in lilo.conf.

Can someone explain to me how to do this please?

As a start, I've copied /boot/vmlinuz-3.2.0-4-amd64 and /boot/initrd.img-3.2.0-4-amd64 to /boot/vmlinuz.old and /boot/initrd.img.old, referenced them as a new entry in lilo.conf and run lilo, but I've a feeling it's not as simple as this.
 
Old 07-20-2014, 07:22 PM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
i think some distros remove the previous kernel. just have a look what's in your /boot folder. on my debian based crunchbang there's a set of 4 files, all with the same version numbers. if you have more than 1 set, you most probably still have the older kernel and it's relatively easy to construct a boot command, only the version numbers change.
 
Old 07-21-2014, 12:55 AM   #3
themeone
Member
 
Registered: Mar 2008
Location: Croydon UK
Distribution: Debian
Posts: 33

Original Poster
Rep: Reputation: 15
I only have the two files I mentioned above, which appear to get over-written each time there's a kernel update.

Perhaps there's a way to configure apt to not do this?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Remove Previous Kernel dale_chip Linux - General 1 02-27-2008 10:20 AM
Go back to previous kernel? keith2045 Linux - General 9 11-07-2007 11:25 PM
Revert to Previous Kernel Sibre Linux - Software 3 01-17-2006 11:22 AM
Restore previous kernel muldereric Linux - Newbie 4 07-30-2005 05:22 PM
How do I uninstall a previous kernel? tlawlessrr Linux - Newbie 1 07-10-2004 10:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration