[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

debian live under an alternate kernel (was binary.iso in Lenny)



On Sat, Sep 08, 2007 at 04:43:10PM +0200, jll wrote:
> Le lundi 3 septembre 2007 15:41, Justin Pryzby a ?crit?:
> > Did you try 2.6.18 in lenny?  Follow Daniel's advice:
> > http://lists.alioth.debian.org/pipermail/debian-live-devel/2007-July/001947
> >.html
> > Grab 2.6.18 and modules for {union,squash}fs from etch so this doesn't
> > require compilation.I would like to make a cd based on Etch with 2.6.21 
> kernel.
> 
> I would like to make a cd based on Etch with 2.6.21 kernel.
Like I said, the 2.6.21 might have problems with squashfs (IIRC).

> I tried to follow Daniel's advice :
> I made a linux-image-2.6.21.deb from Unstable source with make-kpkg.
> I put this package in ./debian-live/config/chroot_local-packages/
> I put this line in ./debian-live/config/chroot :
> LH_LINUX_PACKAGES="none"
> In ./debian-live/config/bootstrap, I have LH_DISTRIBUTION="etch"
> 
> lh_clean all
> lh_config
> lh_build
> 
> 'ls debian-live/chroot/boot' gives me :
> config-2.6.21  System.map-2.6.21  vmlinuz-2.6.21
> 'ls debian-live/binary/casper' gives me :
> filesystem.manifest  filesystem.squashfs  memtest  vmlinuz-2.6.21
> 
> But, when I boot on the cd, just after the splash screen, I get an
> error and the boot stops :
> Could not find kernel image: /casper/vmlinuz-*486
The problem is a shell wildcard, something like vmlinuz-*-$FLAVOUR.
I'm not sure if this is wrong, but I had to work around it too (since
we used make-kpkg --append-to-version).  Just name your kernel
something else and/or use lh_config --linux-flavours such that the
wildcard matches something.

Justin



Reply to: