debian live under an alternate kernel (was binary.iso in Lenny)
On Sat, Sep 08, 2007 at 05:19:16PM +0200, Daniel Baumann wrote:
> jll wrote:
> > 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"
> so far so good.
> > lh_clean all
> > lh_config
> > lh_build
> since you have already a config, you don't need to call lh_config again.
> it should not hurt, though.
> > '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
> you're missing an initrd. you probably forgot --initrd when building the
> kernel with make-kpkg.
Thank you for your anwsers.
Let's go a litle bit further on. I made a kernel with the command :
# make-kpkg kernel_image --append_to_version -majilux --initrd
and I put the line in the file 'debian-live/config/chroot' :
The trick I found was to add the '-' in the --append_to_version
parameter and not in LH_LINUX_FLAVOURS...
Then I have a live-cd that can boot nicely after the splash screen,
but... after a few stuffs (recognition of hard disk, usb...), I get the
message "can't access tty; job control turned off" and a minimal shell.
Then I replaced the line in debian-live/config/common :
At the boot of this cd, I get the lines :
Begin: mounting root file system
/init: .: 150: can't open /scripts/live
kernel panic :-(
Here is the result of the command 'll binary/live/' :
-rwx------ 1 root root 219705344 2007-09-11 14:53 filesystem.squashfs
-rw-r--r-- 1 root root 4880323 2007-09-11 14:53 initrd.img
-rw-r--r-- 1 root root 94760 2007-09-11 14:53 memtest
-rw-r--r-- 1 root root 1792376 2007-09-11 14:53 vmlinuz
Another suggestion ?