You are not logged in.

#1 2005-06-23 12:02:47

tony
Member
Registered: 2004-10-11
Posts: 108

How to be able to boot more than one kernel

This is my question - yesterday I 've compiled the kernel26ck 2.6.11.ck9-1 and used pacman to install it (pacman -A etc) I supposed that after running the lilo I'll have the chance to choose between already or before installed kernel and this, well new one. But now again I'm able only to run the new kernel. Please can you help me or point me towards some wiky or so - how to be able to use - boot more than just one kernel?

Thank you in advance

Offline

#2 2005-06-23 12:06:01

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: How to be able to boot more than one kernel

It depends how you built your kernel - you may have overwritten your old one - can we see your PKGBUILD smile

Offline

#3 2005-06-23 13:01:23

tony
Member
Registered: 2004-10-11
Posts: 108

Re: How to be able to boot more than one kernel

Thank you for your quick response dibblethewrecker.

The PKGBUILD and all related to it I have from AUR the
kernel26ck 2.6.11.ck9-1, so please take a look there(I don't want to copy the same thing in here and use a lot of space).

(And please do not forget that I would like to be able to boot more kernels from lilo.)

Thank you once again.

Offline

#4 2005-06-23 13:04:44

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: How to be able to boot more than one kernel

ok - can you post you /etc/lilo.conf now please smile

Offline

#5 2005-06-23 14:59:11

tony
Member
Registered: 2004-10-11
Posts: 108

Re: How to be able to boot more than one kernel

As you wish  lol

#
# /etc/lilo.conf
#

boot=/dev/discs/disc0/disc
# This line often fixes L40 errors on bootup
# disk=/dev/discs/disc0/disc bios=0x80

default=arch
timeout=50
lba32
prompt

image=/boot/vmlinuz26
        label=arch
        root=/dev/discs/disc0/part1
        append="devfs=nomount"
        vga=792
        read-only

#other=/dev/discs/disc0/part1
#        label=dos

# End of file

THNX

Offline

#6 2005-06-23 15:10:37

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: How to be able to boot more than one kernel

OK - add the sections marked with +

#
# /etc/lilo.conf
#

boot=/dev/discs/disc0/disc
# This line often fixes L40 errors on bootup
# disk=/dev/discs/disc0/disc bios=0x80

default=arch
timeout=50
lba32
prompt

image=/boot/vmlinuz26
        label=arch
        root=/dev/discs/disc0/part1
        append="devfs=nomount"
        vga=792
        read-only

+ image=/boot/vmlinuz26ck
+         label=arch-ck
+         root=/dev/discs/disc0/part1
+         append="devfs=nomount"
+         read-only

#other=/dev/discs/disc0/part1
#        label=dos

# End of file

Then run lilo:

lilo -v

and reboot and you should get a choice at startup of arch or arch-ck

Offline

#7 2005-06-23 15:54:29

tony
Member
Registered: 2004-10-11
Posts: 108

Re: How to be able to boot more than one kernel

<Shouts loud but really loud>>:

Dibblethewrecker you're my heeeerrrooooo!!!!!!!  tongue  tongue  tongue

It woiks . . .

BTW can I proceed the same way every time I install some new kernel
(now some nitro is on my mind) and do I have to setup e.g. user rights for each one??? :oops:  roll

Thank you great oh great viking warior from Sweden some day we meet in linux Valhala. wink

Offline

#8 2005-06-23 16:27:57

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: How to be able to boot more than one kernel

I always liked the Ride of the Valkyries - i think i'd like it played at my funeral.

To answer your question yes, you always need to add a new kernel entry when you install a NEW kernel - when you UPDATE an already installed one you just need to run lilo -v

Offline

#9 2005-06-23 23:17:16

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: How to be able to boot more than one kernel

There's a PKGBUILD for a 2.6-ck kernel? Why was I left out of the loop?!


A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.

Offline

#10 2005-06-24 07:43:48

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: How to be able to boot more than one kernel

Maybe you should look at the AUR more often?  ABout five pkgs are added everyday tongue

Offline

#11 2005-06-24 08:05:11

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: How to be able to boot more than one kernel

dibble: are you swedish? big_smile


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#12 2005-06-24 09:32:00

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: How to be able to boot more than one kernel

dibblethewrecker wrote:

Maybe you should look at the AUR more often?  ABout five pkgs are added everyday tongue

Or subscribe to AUR RSS big_smile

Offline

#13 2005-06-24 09:58:53

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: How to be able to boot more than one kernel

or that!

Um - no, I'm british!  But seeing as Britain has been invaded by just about everyone within a few thousand miles i could easily be part Viking!

Offline

#14 2005-06-24 10:40:08

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: How to be able to boot more than one kernel

hehe big_smile

that is true, we vikings attacked everyone big_smile *smile*


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#15 2005-06-24 10:46:41

tony
Member
Registered: 2004-10-11
Posts: 108

Re: How to be able to boot more than one kernel

Oooooh that's nice,   lol
what a lively (or maybe lovely) discussion we have here  wink

Looks like one of those in "off topics"

Of course Dibblethewrecker is Viking how dare that you doubt about it.

Anyway thank you once more Dibblethewrecker.

Offline

#16 2005-06-24 10:58:31

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: How to be able to boot more than one kernel

tony wrote:

Of course Dibblethewrecker is Viking how dare that you doubt about it.

I didn't doubt it big_smile


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

Board footer

Powered by FluxBB