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

Re: error installing kernel-image, solved



/etc/kernel-img.conf contained the line ramdisk = /usr/sbin/yaird
I changed it to ramdisk = /usr/sbin/update-initramfs, and the installation continued without errors.

I now have squeeze up and running. Tanks for helping me out on this.

Best regards, Hans

"Joel Roth" <joelz@pobox.com> skrev i meddelelsen news:gHLDz-3WR-5@gated-at.bofh.it...
On Thu, Apr 14, 2011 at 09:22:18PM -0400, Stephen Powell wrote:
On Thu, 14 Apr 2011 04:40:38 -0400 (EDT), Hans Jespersen wrote:
> While upgrading from lenny to squeeze, i followed the installation
> notes to the point where I install the new kernel image:
>
> apt-get install linux-image-2.6-686
>
> then I get the following error:
> ..........
> Running depmod.
> Running /usr/sbin/yaird.
> yaird error: Unknown option: k
> (fatal)
> /usr/sbin/yaird failed to create initrd image.
> Failed to create initrd image.

(snip)

yaird is not supported in Squeeze.  Purge the package and install
initramfs-tools instead.  Then try again.  If you still get the
failure, search /etc/kernel/postinst.d and /etc/kernel/postrm.d
for yaird-related scripts that didn't get purged when you purged
the yaird package.  If you find any, erase (rm) them.  Also check
/etc/initramfs/post-update.d for any yaird-related scripts and
erase them from there too.  Then try again.

I had a similar problem described here:

http://lists.debian.org/debian-user/2010/10/msg00264.html

Stephen Powell gave the same advice as above. :-) Following that,
I tried this:

       # grep -r yaird /etc/*
And got this:

       /etc/kernel-img.conf: ramdisk = /usr/sbin/mkinitrd.yaird

I.e. in /etc/kernel-img.conf is a line you need to change to this:

       ramdisk = /usr/sbin/update-initramfs

Worked for me. I wonder if a bug ever got filed....

cheers,

Joel


--
  .''`.     Stephen Powell
 : :'  :
 `. `'`
   `-


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org Archive: [🔎] 1663235433.261291.1302830538326.JavaMail.root@md01.wow.synacor.com">http://lists.debian.org/[🔎] 1663235433.261291.1302830538326.JavaMail.root@md01.wow.synacor.com


--
Joel Roth


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org Archive: [🔎] 20110415072434.GA17736@sprite">http://lists.debian.org/[🔎] 20110415072434.GA17736@sprite


Reply to: