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@xxxxxxxxx> skrev i meddelelsen news:gHLDz-3WR-5@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/1663235433.261291.1302830538326.JavaMail.root@xxxxxxxxxxxxxxxxxxxx


--
Joel Roth


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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/io9h1j$hij$1@xxxxxxxxxxxxx



Relevant Pages

  • Re: What does this mean?
    ... Are you using squeeze for 64-bit architecture? ... The computer is running only a home brew data processing script ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)
  • Re: Sound - none happening.......
    ... Always had trouble getting sound to work with Debian, ... just be nice to have my Squeeze system working as it should. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: reboot hangs
    ... I have an old tower machine - a homebrew that I use as a sandbox. ... On an earlier installation ... This time around - 64bit image, squeeze, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: RAID1 does not boot
    ... Thanks Camaleon and TOM H. let me follow the instructions ill come ... can find instruction for installation grub on both drives. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)
  • RE: Testing, "could not start kdeinit. check your installation" since yesterdays updates
    ... It is on the repos if you google it, but ok, I have e-mailed it to you ... check your installation" ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)