Jump to content

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


Recommended Posts

Posted (edited)

 

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
Posted
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.

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines