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

mender-convert: bios support

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: (None)
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Days in progress:
      0

      Description

      Today Mender only supports EFI on x86-64.

      Smaller adjustments would be needed to support BIOS on x86, and the following steps have been verified by a user (manual changes):

      1. mender-convert should copy the 440 first bytes of MBR from input image to output image if it detects that this is an BIOS image

      • the 440 first bytes are "boot code" which contains jump instructions to the GRUB binary which is stored between MBR and first partition (boot-gap)
      • we already have a feature in mender-convert to copy the boot-gap from input to output image

      2. grub.cfg and related file should be installed to boot/grub directory instead of boot/EFI/BOOT

      3. Change boot part mount location to /boot/grub instead of /boot/efi (same as we do in Yocto)

      • this works as-is today, but might be confusing to have the /boot/efi mount on a bios system

      Additional possible steps:

      1. Create a default config for a x86 bios build (e.g a qemu) as reference

      2. Test integration

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mirzak Mirza Krak
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Zendesk Support