Re: error installing kernel-image, solved
- From: "Hans Jespersen" <hans_jespersen@xxxxxxxxxxx>
- Date: Fri, 15 Apr 2011 15:26:13 +0200
/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
- Follow-Ups:
- Re: error installing kernel-image, solved
- From: Stephen Powell
- Re: error installing kernel-image, solved
- References:
- error installing kernel-image
- From: Hans Jespersen
- Re: error installing kernel-image
- From: Stephen Powell
- Re: error installing kernel-image
- From: Joel Roth
- error installing kernel-image
- Prev by Date: sata hotplug
- Next by Date: iSCSI + LUKS
- Previous by thread: Re: error installing kernel-image
- Next by thread: Re: error installing kernel-image, solved
- Index(es):
Relevant Pages
|