Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Include fsck on a init ramdisk - espressobin

Featured Replies

I am building a kali linux for espreso bin. I used the initrd and kernel from Armbian and I already got it to boot without any problem.  However during the boot process, when it is using the ramdisk this warning appears.

Warning: fsck not present, so skipping root file system

I Would like to be able to check root partition during the boot.

How could I add fsck to the ramdisk?

 

I also noticed that armbian buster for espressobin have the fsck present on the ramdisk.

On my building script I added the armbian respositories for debian buster and installed:

  • linux-dtb-next-mvebu64
  • linux-image-next-mvebu64
  • linux-headers-next-mvebu64
  • linux-u-boot-espressobin-next

 

The conversion of the initrd for an u-boot format ramdisk is being made with a post-update rule, just like armbian.

Any idea what I might be missing?

Edited by cirne

You need to add the relevant executables

echo \
'#!/bin/sh
. /usr/share/initramfs-tools/hook-functions
copy_exec /sbin/e2fsck /sbin
copy_exec /sbin/fsck /sbin
copy_exec /sbin/fsck.ext2 /sbin
copy_exec /sbin/fsck.ext4 /sbin
copy_exec /sbin/logsave /sbin' \
  | sudo dd of=/etc/initramfs-tools/hooks/e2fsck.sh
sudo chmod +x /etc/initramfs-tools/hooks/e2fsck.sh

before building the initrd

sudo update-initramfs -c -k ${kver}

 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.