ipxe failes to boot in efi mode due to incomplete ipxe script

Bug #2002303 reported by Michal Kielkowski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Triaged
High
Unassigned

Bug Description

Out of the box booting using ipxe ends with kernel panic (see screenshot). It can be worked around by putting

initrd=boot-initrd

to command line option. However I think this should be addressed in the ipxe script template.

Please see
https://forum.ipxe.org/printthread.php?tid=10770
for reference.

Steps to reproduce:

1. Create Hyper-V machine, version 2 (efi). Optional: verify that regular PXE boot works.
2. Mount dvd image from https://boot.ipxe.org/ipxe.iso and set it as a boot defice
3. Commisioning ends with kernel panic.

Default script that does not work:
root@maas:~# curl http://10.0.0.1:5248/ipxe.cfg-00:15:5d:38:01:0f
#!ipxe
kernel http://10.0.0.1:5248/images/ubuntu/amd64/generic/focal/stable/boot-kernel
imgargs boot-kernel nomodeset ro root=squash:http://10.0.0.1:5248/images/ubuntu/amd64/generic/focal/stable/squashfs ip=::::laptop:BOOTIF ip6=off overlayroot=tmpfs overlayroot_cfgdisk=disabled cc:{'datasource_list': ['MAAS']}end_cc cloud-config-url=http://10.0.0.1:5248/MAAS/metadata/latest/by-id/end4q7/?op=get_preseed apparmor=0 log_host=10.0.0.1 log_port=5247 --- BOOTIF=01-${net0/mac}
initrd http://10.0.0.1:5248/images/ubuntu/amd64/generic/focal/stable/boot-initrd
boot
root@maas:~#

What works:

root@laptop:~# cat /var/log/kern.log |grep Command
Jan 9 10:19:14 laptop kernel: [ 0.000000] Command line: boot-kernel nomodeset ro root=squash:http://10.0.0.1:5248/images/ubuntu/amd64/generic/focal/stable/squashfs ip=::::laptop:BOOTIF ip6=off overlayroot=tmpfs overlayroot_cfgdisk=disabled cc:{'datasource_list': ['MAAS']}end_cc cloud-config-url=http://10.0.0.1:5248/MAAS/metadata/latest/by-id/end4q7/?op=get_preseed apparmor=0 log_host=10.0.0.1 log_port=5247 --- initrd=boot-initrd BOOTIF=01-00:15:5d:38:01:0f
root@laptop:~#

Regards!
Michal Kielkowski

Revision history for this message
Michal Kielkowski (mikiel) wrote :
summary: - ipxe mode failes to boot in efi mode due to incomplete ipxe script
+ ipxe failes to boot in efi mode due to incomplete ipxe script
Changed in maas:
status: New → Triaged
Changed in maas:
importance: Undecided → High
Changed in maas:
assignee: nobody → Jack Lloyd-Walters (lloydwaltersj)
Changed in maas:
assignee: Jack Lloyd-Walters (lloydwaltersj) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.