You are not logged in.

#1 2011-07-22 21:59:36

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Multiple kernels on boot

Hi

I am wondering how can i keep different kernels. I am used of Ubuntu which keeps different version of kernels which i can choose on boot. Is it enough to just rename existing kernel to, let's say, kernel26-old.img and edit the menu.lst accordingly before installing new ones?

Thanks for help because i really miss that freedom and simplicity.

Last edited by Shark (2011-07-22 21:59:50)


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

#2 2011-07-22 22:04:43

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Multiple kernels on boot

Offline

#3 2011-07-22 23:09:35

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: Multiple kernels on boot

I see the issue is going on and hot. But somewhere i read that it is possible. Any ideas?


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

#4 2011-07-22 23:32:41

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: Multiple kernels on boot

Build a backup from the current ABS source?  You could also look into the Arch Rollback Machine, which archives the repos bac to 2009.

Offline

#5 2011-07-22 23:33:57

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Multiple kernels on boot

ANOKNUSA wrote:

Build a backup from the current ABS source?  You could also look into the Arch Rollback Machine, which archives the repos bac to 2009.

I'm not sure installing an old kernel would work w/ the current system.

Offline

#6 2011-07-23 05:17:47

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: Multiple kernels on boot

I think it's really not needed since there are several LTS kernels to install. There is for example the standard -ARCH LTS kernel and you can install any variant of the ck-kernel that fits your hardware, and a LTS kernel for that too. With all these options you can always be sure that one of them will boot. The only limitations is HD space. Go to the AUR and do a seacrh on 'kernel' and you'll be amazed!

Offline

#7 2011-07-23 05:38:50

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Multiple kernels on boot

Shark wrote:

Hi

I am wondering how can i keep different kernels. I am used of Ubuntu which keeps different version of kernels which i can choose on boot. Is it enough to just rename existing kernel to, let's say, kernel26-old.img and edit the menu.lst accordingly before installing new ones?

Thanks for help because i really miss that freedom and simplicity.

kernel26.img is not your kernel. I can't wait for this naming convention to go away. Currently, the way we build kernels, its not possible to keep multiple kernels with the same package name installed at the same time. For any given kernel series, the module directory will always be  the same (e.g. 2.6.39 as well as 2.6.39.3 use /lib/modules/2.6.39-ARCH). The name of the kernel is hardcoded into it during the build and you cannot get around this without some fairly hackish maneuvers. Installing a completely unrelated kernel (with a differing package name) is your best bet.

Offline

#8 2011-07-23 07:27:23

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: Multiple kernels on boot

Thanks guys. I will try to install kernel26-ck and see.
I really hope that all this naming will change in the future. That is the only thing that i really miss from Ubuntu.


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

#9 2011-07-23 07:30:31

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Multiple kernels on boot

Shark wrote:

I really hope that all this naming will change in the future.

Here's a bugreport to keep an eye on https://bugs.archlinux.org/task/18719

Offline

#10 2011-07-23 08:26:06

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: Multiple kernels on boot

I have installed kernel26-ck and kernel26-lts and at least these kernels i can have in case s...    smile


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

#11 2011-07-23 08:33:16

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: Multiple kernels on boot

I permanently run the ck-k10 kernel for AMD. It's great. There are also variants for core2 and more.

Last edited by swanson (2011-07-23 08:35:24)

Offline

Board footer

Powered by FluxBB