xu4 - deleted all initrd.image* by accident

Post Reply
dandelot
Posts: 59
Joined: Sun Feb 25, 2018 1:35 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

xu4 - deleted all initrd.image* by accident

Unread post by dandelot » Fri May 10, 2019 12:03 am

There were a lot of old initrd.image* in /boot and though I only meant to
delete some very old ones.... I accidentally deleted them all.
Oh no.

System is live, but I'm afraid it now won't boot (were I to try that).

uInitrd-4.14.111-158 (and a few earlier ones still exist.
Content of /boot
-rw-r--r-- 1 root root 56387 Apr 16 08:30 exynos5422-odroidhc1.dtb
-rw-r--r-- 1 root root 62458 Apr 16 08:30 exynos5422-odroidxu3-lite.dtb
-rw-r--r-- 1 root root 63513 Apr 16 08:30 exynos5422-odroidxu3.dtb
-rw-r--r-- 1 root root 63628 Apr 16 08:30 exynos5422-odroidxu4-kvm.dtb
-rw-r--r-- 1 root root 63484 Apr 16 08:30 exynos5422-odroidxu4.dtb
-rw-r--r-- 1 root root 12252775 Feb 23 07:25 uInitrd-4.14.102-156
-rw-r--r-- 1 root root 12253771 Apr 1 09:37 uInitrd-4.14.107-157
-rw-r--r-- 1 root root 12258227 Apr 23 08:06 uInitrd-4.14.111-158
-rw-r--r-- 1 root root 12253264 Jan 13 08:03 uInitrd-4.14.87-153
-rw-r--r-- 1 root root 12253503 Feb 1 06:43 uInitrd-4.14.94-155
-rwxr-xr-x 1 root root 5682880 Apr 16 08:30 zImage

Suggestions? Comments?
Thanks in advance for any help.
David Anderson

User avatar
odroid
Site Admin
Posts: 30625
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 13 times
Been thanked: 89 times
Contact:

Re: xu4 - deleted all initrd.image* by accident

Unread post by odroid » Fri May 10, 2019 9:16 am

Try sudo apt install --reinstall linux-odroid-5422 and it will generate an initrd.img.

User avatar
meveric
Posts: 10083
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, N2
Has thanked: 9 times
Been thanked: 58 times
Contact:

Re: xu4 - deleted all initrd.image* by accident

Unread post by meveric » Fri May 10, 2019 1:56 pm

Initrd.img files are not used on ODROIDs.
They are only used to create the uInitrd files which are used instead.
You can create new Initrd.img files with:

Code: Select all

update-initramfs -c -k all
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

Post Reply

Return to “Issues”

Who is online

Users browsing this forum: No registered users and 1 guest