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.

Boot failover

Featured Replies

I customized my Armbian install with 2 operating systems on two partitions.

In armbianEnv.txt I use rootdev to specify the default partition. 

 

I would like to set it so that if booting from the default rootdev fails (triggering panic or root-wait, etc.),

it will instead try to boot with rootdev/root set to the other partition.  

 

Is that possible?

 

  • Author

The problem is I believe those errors are given by the kernel, so u-boot has already passed things off to the kernel by that point.

 

Maybe I'm misunderstanding. I will read the scripts again, thanks.

You can try enabling ext4 write support in u-boot (depends on your device), then create an empty file in u-boot script and removing this file after successful boot up. Then you can check in u-boot script if this file exists, it should be a good indication of a failed boot.

  • Author

You can try enabling ext4 write support in u-boot (depends on your device), then create an empty file in u-boot script and removing this file after successful boot up. Then you can check in u-boot script if this file exists, it should be a good indication of a failed boot.

 

Oh, interesting. Uboot checks for file, if present load failover, else write file, load kernel, OS deletes file on boot. That works!

 

My board is the Orange Pi Zero. I will try to implement this, thanks.

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.