You are not logged in.

#1 2007-05-22 11:04:58

boar
Member
Registered: 2007-05-22
Posts: 21

howto larch livecd with custom kernel ??

Hello

I am making my own livecd, based on archlinux, using larch scripts.

I am trying to build it, with own customized kernel.
i built package of kernel, (following http://wiki.archlinux.org/index.php/Ker … rom_Source  howto, section "With makepkg and pacman")

i added into file config_larch line
PACINOPTS="-p /somewhere" 
in /somewhere, there is my new kernel pkg (kernel26-mylivecd-2.6.21-1.pkg.tar.gz)

into addedpacks i added kernel26-mylivecd

building of larch system was passed ... but when i am trying to make iso
(mklarch -p someprofile -b -o -g ) i got that message:


Error - more than 1 kernel found:
        vmlinuz26
        vmlinuz26-mylivecd


Anyone knows, how to solve it ?
i didn't find how to specify, which kernel to use.

Or does anyone know another way, howto use my own kernel into larch based livecd ?

Offline

#2 2007-05-22 13:19:22

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: howto larch livecd with custom kernel ??

Have you deleted or commented out kernel26 in the file addedpacks?
Are you aware that you might also rebuild some kernel modules to use your own kernel?

May I ask why you made your own kernel? I'm just wondering... ;-)

edit: btw, Welcome to the forum!

Last edited by Sigi (2007-05-22 13:19:57)


Haven't been here in a while. Still rocking Arch. smile

Offline

#3 2007-05-22 13:39:47

boar
Member
Registered: 2007-05-22
Posts: 21

Re: howto larch livecd with custom kernel ??

Sigi wrote:

Have you deleted or commented out kernel26 in the file addedpacks?

oh, thx, i didn't know, that kernel26 is in addedpacks. now, i am building it with  #kernel26 smile

Sigi wrote:

May I ask why you made your own kernel? I'm just wondering... ;-)

because i wanna change logo in FB, and/or  add splasscreen support.

or is it possible, add it, to kernel26?

Sigi wrote:

edit: btw, Welcome to the forum!

oh thx, hello here smile

Offline

#4 2007-05-22 13:53:48

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

Re: howto larch livecd with custom kernel ??

boar wrote:
Sigi wrote:

May I ask why you made your own kernel? I'm just wondering... ;-)

because i wanna change logo in FB, and/or  add splasscreen support.

or is it possible, add it, to kernel26?

It's pretty easy to adapt the normal kernel26 pkg build to add a few patches, youjust need to make sure that the final kernel is installed to exactly the same directories on your system - then you should be able to use the extra module pkgs just fine.

Offline

#5 2007-05-22 16:39:17

boar
Member
Registered: 2007-05-22
Posts: 21

Re: howto larch livecd with custom kernel ??

ok, so problem was solved smile

i had to only change  kernel26 for kernel26-myown (in addedpacks)
then i had to patch kernel for squashfs, and unionfs (no, in this days, patch is avaible only for kernel 2.6.20, bud works fine with kernel 2.6.21)

now everything works fine:)

thx for help!

Offline

#6 2007-05-22 18:14:40

Mhyrraner
Member
From: South Germany
Registered: 2007-02-14
Posts: 33

Re: howto larch livecd with custom kernel ??

Just in case you get tired of rebuilding your own kernel, you could use splashy which does not require a patched kernel.
(if you like it)

MyR

Offline

Board footer

Powered by FluxBB