Fedora 34 VM can't boot

Hello !

I have a problem with virtual machine images and especially the Fedora 34 one (cloud and standard). No problem with Fedora 33 nor CentOS 8/8-Stream, Ubuntu images works fine too. The image directly boot into a grub shell :

To detach from the console, press: <ctrl>+a q
BdsDxe: loading Boot0008 "Fedora" from HD(1,GPT,26605C57-7580-4F15-8F47-F365FFC09D74,0x800,0x32000)/\EFI\fedora\shimx64.efi
BdsDxe: starting Boot0008 "Fedora" from HD(1,GPT,26605C57-7580-4F15-8F47-F365FFC09D74,0x800,0x32000)/\EFI\fedora\shimx64.efi
      Minimal BASH-like line editing is supported. For the first word,
      TAB lists possible command completions. Anywhere else TAB lists
      possible device or file completions.


Secure boot is disabled as indicated in my profile dedicated to VM :

  limits.cpu: "2"
  limits.memory: "4294965097"
  security.secureboot: "false"
  user.user-data: |
      - name: core
        passwd: $6$FgAtyWthG1Wrbjsk$/G4aclNeGDfWHQOir.qWpkXLt97Uxn7.4Sn1B6/CgihXHJWcOB9A7mTvvRQ1exBjNa0KbE6/zim35UlUmctll1
        lock_passwd: false
        groups: lxd
        shell: /bin/bash
        sudo: "ALL=(ALL) NOPASSWD:ALL"
      mode: auto
      devices: ['/']
      ignore_growroot_disabled: false
description: LXD profile for virtual machines
    source: cloud-init:config
    type: disk
    name: eth0
    network: lxdbr0
    type: nic
    path: /
    pool: machines
    type: disk
name: machines
- /1.0/instances/v1 

Is there something I’m missing ? It’s difficult to gather logs, because the console output is not very chatty and instances logs are empty. Same issue using the snap version of LXD on Ubuntu host and RPM packaged by ganto on Fedora host.

LXD version : 4.14


@monstermunchkin I believe that’s known?

No, I didn’t know about this, but I’m investigating it.

I tracked down the issue. It was caused by a missing GRUB config.

1 Like

Thanks for your investigation :wink:

It’s working now, thanks !