LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 04-13-2005, 12:23 PM   #1
apolinsky
Member
 
Registered: Oct 2004
Location: Brooklyn
Distribution: Slackware 15;
Posts: 440

Rep: Reputation: 46
Installing an earlier kernel


I am currently running a Suse 9.1 machine with the latest kernel. I would like to install the original kernel in addition to the current one and choose between them at boot time. I have been having some difficulties with WMware, and the technical people there would like me try out the original kernel. I don't want to lose the current one. Can someone suggest the preferred way of installing the original kernel alongside the current one?

Thank you


Last edited by apolinsky; 04-13-2005 at 01:17 PM.
 
Old 04-13-2005, 12:54 PM   #2
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
are you using grub or lilo?

i've used 9.0 and now 9.2 and you probably have grub. back up your kernel and initrd. they should be in /boot/ and nameed:

vmlinuz-<blah>
initrd-<blah>

with <blah> being the kenel version number and such. just copy these some where on your computer for safe keeping. Now install the original kernel.

after you have the original kernel installed copy the 2 files back to /boot/ making sure they have a slightly diferent name then the original kernel and boot off the suse instaal cd. pick "install" then "repair existing linux system" then "expert tools" then "reinstall boot loader" this will reinstall grub now click "edit configuration files" and it will le t you edit menu.1st.

add these lines: (you might have to change this to get it to work for your system just make it look like the other entries in menu.1st on your system)


title SUSE LINUX My Kernel
kernel (hd0,1)/boot/vmlinuz-<blah> root=/dev/hda2 vga=0x317 selinux=0 splash=silent resume=/dev/hda1 desktop elevator=as showopts
initrd (hd0,1)/boot/initrd-<blah>


once again change blah to the names of the files you backed up. now finish reinstalling grub exit the repair utility and reboot. you should have a new entry on the startup menu to use your newer kernel.

Last edited by johnson_steve; 04-13-2005 at 01:26 PM.
 
Old 04-13-2005, 01:16 PM   #3
apolinsky
Member
 
Registered: Oct 2004
Location: Brooklyn
Distribution: Slackware 15;
Posts: 440

Original Poster
Rep: Reputation: 46
By default Suse 9.1 uses grub. I guess I need all steps from using rpm to installing the original kernel without touching the current one.
 
Old 04-14-2005, 03:28 AM   #4
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
You can simply install the previous kernel-rpm after you removed the current kernel from rpm database:
Code:
rpm -e --justdb kernel-default-<version>
The current kernel will remain on the system and can be addressed directly from menu.lst (instead of using the symlinks /boot/vmlinuz use the true binary /boot/vmlinuz-<version>, the same with initrd)
 
Old 04-14-2005, 07:27 AM   #5
apolinsky
Member
 
Registered: Oct 2004
Location: Brooklyn
Distribution: Slackware 15;
Posts: 440

Original Poster
Rep: Reputation: 46
That's exactly what I was looking for. Thanks a lot I'll try it tonight. I must admit, it is sometimes much easier to handle a system without all the automated tools. Being forced to use 'yast' on a system has been driving me nuts. I tend to be a Slackware type person, and with one exception, the apt tools of Debian, I have found that the tools actually make things more difficult.
 
  


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
Install earlier Kernel?? vbtalent Fedora 4 11-21-2005 09:17 PM
wish i was here earlier jacobus LinuxQuestions.org Member Intro 2 12-31-2004 08:13 PM
up2date installed a new kernel but did not remove earlier. dineshjk Red Hat 1 06-18-2004 01:39 PM
Earlier versions of gramps rpms marlaina1 Linux - Software 0 05-01-2002 01:03 PM
Replies related to earlier messages mistkhan Linux - Networking 1 06-16-2001 12:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 10:06 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