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.

[Feature] UUID strategy consideration when M.2 MVME or SATA Enclosures failed or are not connected on boot

Featured Replies

 

Hello all,

 

I succeed to boot on sata usb by seting the UUID of the armbian_root from mmcblk1p1 to sda1

I tested several M2 SSD enclosures both NVME and NGFF most of the time,

 

M2-SSD_enclosures.thumb.jpg.69b5279fbffe87be2eae2e620747f549.jpg

 

one in the middle, has a USB Hub and micro SDCARD port.

Now if the USB enclosures is not connected, we are stuck in initramfs stage because the UIID partition given in /boot/ArmbianEnv.txt does not exist.
I changed the UUID of emmc armbian_root (mmcblk1p1) thinking it would be overmapped with partition of S2 usb enclosure (sda1).
It is not the case, it will only boot on emmc , ignoring S2 enclosures when mmcblk1p1 and sda1 shares the same UUID.

I suggest USB enclosures should comes in higher boot priority than emmc after a bootable sdcard is present or not,
so the end user is not lost in initramfs jungle.

 

 


 

Edited by SoSie
Fix

  • SoSie changed the title to [Feature] UUID strategy consideration when M.2 MVME or SATA Enclosures failed or are not connected on boot
31 минуту назад, SoSie сказал:

It is not the case, it will only boot on emmc , ignoring S2 enclosures when mmcblk1p1 and sda1 shares the same UUID.

Each attached memory disk must have its own unique UUID. This is its essence.

 

37 минут назад, SoSie сказал:

I suggest USB enclosures should comes in higher boot priority than emmc after a bootable sdcard is present or not

This depends on the platform (BROM bootloader flashed into the chip) and possibly the switch soldered to the board.

  • Author

 

Hello @Going,

 

I mean If uboot is available on a sdcard plugged in, it will boot on it else on emmc, Sometimes when UUID are the same, it is the last device discovered that overlaps. Wehen cloning emmc UUID back to sdcard do'nt change. My mind was to have a multiboot like refind or ventoy that helps if a system crashed. having a failsafe system aside to fix it graphically can be a must.

 

Changing /boot/boot.cmd that affect u-boot may do the work

Edited by SoSie

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.