Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-2048

Impossible to work around indexing mismatch of storage device between GRUB and Linux kernel

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Sprint:
      MEN Sprint 68
    • Story Points:
      2
    • Backlog:
      yes

      Description

      From email:

      Now it builds fine with

      MENDER_STORAGE_DEVICE = "/dev/mmcblk2"
      

      However when booting it drops to the grub rescue shell.

      If I manually change bootpartition:/EFI/BOOT/grub.cfg:

      -mender_grub_storage_device=hd2
      +mender_grub_storage_device=hd0
      

      it works!

      This will require a variable similar to MENDER_UBOOT_STORAGE_DEVICE which already exists for the U-Boot variant: A way to specify storage device directly to GRUB, if its indexing differs from Linux's indexing.

        Attachments

          Activity

            People

            Assignee:
            a10040 Kristian Amlie
            Reporter:
            a10040 Kristian Amlie
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support