Reply to comment

Help with mkinitrd.yaird

I have followed this how-to step by step, but when started installing kernel i have stumbled this kind of errors:

Setting up linux-image-2.6.17-2-686 (2.6.17-6) ...
Running depmod.
Finding valid ramdisk creators.
Using mkinitrd.yaird to build the ramdisk.
yaird error: can't open directory /sys/block (fatal)
mkinitrd.yaird failed to create initrd image.
Failed to create initrd image.
dpkg: error processing linux-image-2.6.17-2-686 (--configure):
subprocess post-installation script returned error exit status 9
Errors were encountered while processing:
linux-image-2.6.17-2-686
E: Sub-process /usr/bin/dpkg returned an error code (1)

What can I do to get going with this?

Also, there is problem with localepurge v. 0.5.5, which is current version of it. It won't finish it's install, but I got it working with tiny workaround: Downloading older version from packages.debian.org, installing that, then installing newest version, and it works.

Despite that I was unable to get kernel, I wanted to try bootloaders, and I like grub more than lilo, so give that first shot. I exited chroot, and tried to install grub, but alas, it doesn't go into there. Then I removed grup and installed lilo in chroot, exited again and noticed that I don't have lilo installed at all outside of chroot. Is it planned to be installed outside too, or used just in chroot? (There was problems within chroot, it complained about /dev/hda there for some reason).

But I wish to get some help with that initrd problem, as output looks a bit different from this how-to...

Reply

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. Beside the tag style "<foo>" it is also possible to use "[foo]".

More information about formatting options