[Yaird-devel] Bug#392072: yaird: Cannot run from a different kernel level then the target

John and Holly Klug j.h.klug at gmx.net
Tue Oct 10 04:07:25 UTC 2006


Package: yaird
Version: 0.0.12-8bpo1
Severity: normal

This problem came about when attempting the work-around for this bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=343042

If one uses a rescue CD to run yaird, and the level of the kernel in the rescue CD does not exactly match the target kernel, yaird fails, and you need to reverse engineer yaird to figure out how to fix the paths.

In my case, I had copied the root partition from a parallel IDE hard drive to a serial ATA hard drive.

The target kernel here was 2.6.14-2-386, and the kernel being executed was 2.6.14.3:

# chroot /tmp/root
# yaird -v -d -o /boot/initrd.img-2.6.14.2.386

yaird: goal: template, prologue (/etc/yaird/Default.cfg:52)
yaird: action: prologue,  {}
yaird: goal: module, fbcon (/etc/yaird/Default.cfg:56)
yaird error: can't open kernel config file /boot/config-2.6.14.3 (fatal)

I don't see any way to configure  yaird for a different kernel (module path, etc.) than the one you are running under.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i586)
Kernel: Linux 2.6.14.3
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages yaird depends on:
ii  cpio                  2.5-1.3            GNU cpio -- a program to manage ar
ii  dash                  0.5.2-5            The Debian Almquist Shell
hi  libc6                 2.3.2.ds1-22sarge4 GNU C Library: Shared libraries an
ii  libhtml-template-perl 2.6-2              HTML::Template : A module for usin
ii  libparse-recdescent-p 1.94-4             Generates recursive-descent parser
ii  perl                  5.8.4-8sarge5      Larry Wall's Practical Extraction 

-- no debconf information






More information about the Yaird-devel mailing list