2.6 kernels, initrd and /sys

Adrian von Bidder avbidder at fortytwo.ch
Mon Mar 13 17:11:38 CET 2006


On Monday 13 March 2006 14:36, Michael Tautschnig wrote:
> > Yo!
> >
> > (Using fai 2.8.4 from Debian sarge)
> >
> > Using the 2.6.15 kernel from backports.org as post-installation kernel
> > with the same kernel (plus non-modular network drivers and NFS root
> > support compiled in) as install kernel, I see that mkinitrd.yaird
> > fails, presumably because /sys is not mounted during installation.
> >
> > There certainly is an official fix described somewhere, isn't there?
>
> Sorry, I don't really understand what you are doing and at what point
> mkinitrd.yaird is involved!? Are you trying to build a new kernel image?
> If that is true, at what stage is it FAI's fault that it doesn't work?

mkinitrd.yaird is called in the postinst from linux-image-2.6.15-1-686
{,-smp} from backports.org (and, IIRC, in the versions in etch and sid, 
too.)  I don't know why the initrd needs to be built in the postinst, and I 
couldn't care less, but apparently that's how things work.

I just wrote a hook to mount /sys before software installation starts, but I 
feel I shouldn't be the first to encounter this problem.

(Don't expect to hear back from me this week, I'm away.  Still, thanks for 
any input, I'll look at it when I'm back!)

cheers
-- vbi

-- 
featured product: the KDE desktop - http://kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 388 bytes
Desc: not available
Url : http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20060313/749566b3/attachment.bin 


More information about the linux-fai mailing list