Welcome! Log In Create A New Profile

Advanced

Latest released kernel lost initrd.img-6.10.11-kirkwood-tld-1 ?

Posted by shijun 
/boot# mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-6.10.11-kirkwood-tld-1 -d initrd.img-6.10.11-kirkwood-tld-1 uInitrd
mkimage: Can't open initrd.img-6.10.11-kirkwood-tld-1: No such file or directory
Re: Latest released kernel lost initrd.img-6.10.11-kirkwood-tld-1 ?
October 26, 2024 01:02PM
What are the contents of the current directory.
Re: Latest released kernel lost initrd.img-6.10.11-kirkwood-tld-1 ?
October 26, 2024 01:49PM
shijun,

The rootfs installation:

Quote
https://forum.doozan.com/read.php?2,12096

Note: If this is your first time installation, then you only need rootfs Debian-6.5.7-kirkwood-tld-1-rootfs-bodhi.tar.bz2 (this has kernel linux-6.5.7-kirkwood-tld-1 already installed). Please scroll down to 01 Nov 2023 section for download link and installation instruction.

And then after you've booted up the box into Debian successfully, then do kernel upgrade inside Debian.

The latest kernel installation:

Quote
https://forum.doozan.com/read.php?2,12096

Updated 25 Sep 2024:

Kernel linux-6.10.11-kirkwood-tld-1 package has been uploaded. The following features were added/updated:

.....

3. And install it with dpkg. Remove flash-kernel first to avoid potential problem (if flash-kernel was not installed then you'll see some error output):

cd /boot
apt-get remove flash-kernel
dpkg -i linux-image-6.10.11-kirkwood-tld-1_1_armel.deb

....

4a. Boot with DTB file (standard way to boot FDT kernel). Recommended.

Generate the uImage and uInitrd (the kernel files vmlinuz-6.10.11-kirkwood-tld-1 and initrd.img-6.10.11-kirkwood-tld-1 were generated by dpkg in Step 3):

....

4b. Boot with DTB file embedded in the kernel image.Again, this step 4b is for stock U-Boot only.

Please replace kirkwood-goflexnet.dtb below with the correct DTB name for your box (find in /boot/dts).

Generate the uImage and uInitrd (the kernel files vmlinuz-6.10.11-kirkwood-tld-1 and initrd.img-6.10.11-kirkwood-tld-1 were generated by dpkg in Step 3):

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Thanks bodhi!

This was on me,I found the cause of the issue:

This rootfs was created by me using debootstrap, and the initramfs-tools package was not installed.

As a result, when running dpkg -i linux-image-6.10.11-kirkwood-tld-1_1_armel.deb, the /boot/initrd.img-6.10.11-kirkwood-tld-1 was not generated.
Re: Latest released kernel lost initrd.img-6.10.11-kirkwood-tld-1 ?
October 27, 2024 10:38PM
shijun,

> This rootfs was created by me using debootstrap,
> and the initramfs-tools package was not
> installed.

Yeah! glad you found the problem. That was an important part of the debootstrap. (Used to be) modules_init should always be one of the extra packages when you run debootstrap.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: