Provisioning Ubuntu 22.04 with F3.6.1 ends with broken MBR

Provisioning successfully ends with reboot but upon boot, the VM console reads "WARN: no MBR magic. Treating disk as raw." and tries to reboot again.

Since other F3.6.1 setups work like a charm, this rather points to this particular VM (VMware ESXi) as the source of the problem. We couldn’t get it unstuck by recreating the VM definition and wonder if anyone here ever encountered a similar situation.

I’m pondering about tweaking the script to comment out the reboot command and take a look at the system via ALT-F2 another console?

Thanks in advance

Ok, that clearly had to be some minor issue. Turns out, for whatever reason, installation is performed on /dev/sdb instead of /dev/sda. We are still looking into it.

sigh So as opposed to the recommended requirements (are those “recommended” 2.5GB a typo!?) we had allotted 10GB for the primary drive in that particular setup for ages now. Setting that to 20GB brought relief. Ah well, had so scrub sdb by hand otherwise GRUB would recognize it as an alternative OS partition.

We had to dig a little bit deeper because we overlooked the following passage:

Supported layouts

The two supported layouts at the time of writing are “lvm” and “direct”.

    name: lvm
    name: direct

By default these will install to the largest disk in a system

Only by replacing the storage definition by the one marked as solution we achieved stability when provisioning:

    - grub_device: true
      id: disk-sda
      path: /dev/sda
      ptable: gpt
      type: disk
      wipe: superblock-recursive
    - device: disk-sda
      flag: bios_grub
      id: partition-0
      number: 1
      size: 1048576
      type: partition
    - device: disk-sda
      id: partition-1
      number: 2
      size: -1
      type: partition
      wipe: superblock
    - fstype: ext4
      id: format-0
      type: format
      volume: partition-1
    - device: format-0
      id: mount-0
      path: /
      type: mount

hi , could you please share the steps required
to provision UBUNTU , (at this point only provision is needed )

  • im using Satellite 6.12 , in a disconnected network (Air Gapped)
    i managed to provision RHEL but
    and im struggling to provision ubuntu