I tried installing debian-stable onto my NVMe drive using baremetal-deploy, and I ran into a bunch of various issues:
- Grub doesn’t respect the timeout, booting the default menu item immediately, even if GRUB_TIMEOUT_STYLE=menu and GRUB_TIMEOUT=30
- Grub config is missing the
arm-smmu.disable_bypass=0parameter, causing it to fail to finish booting - Due to the previous one, I had to boot recovery to mount the drive to fix it
- The boot stalled for a long time waiting for systemd-networkd-wait-online. According to the systemd status message, there was no limit to how long it would wait, so I didn’t wait around to see how long it actually waited. I ended up just booting recovery and masking that service instead.
- The installed OS wouldn’t accept the password I had entered for any user I could guess or for
root - I had to boot Recovery again to fix the password, upon which I found that it ignored where I tried to tell it to use
eth9and instead usedeth0. (Maybe I typedeth9to a yes/no question instead of to the actual prompt of which device to use?) - Grub doesn’t seem to see any serial devices (as shown by
terminal_inputcommands I added). I thought that was a factor in it ignoring the menu, but it’s a red herring. - Something (Grub? System firmware?) is trying to load a kernel parameter and garbage as EFI loaders
- Something (Grub? System firmware?) is waiting for DPMAC links instead of showing Grub’s menu
- The only way I could get Grub to actually show me the menu was to edit the
/etc/grub.d/scripts to remove the “if” statement guarding the addition of “UEFI Firmware Setup” and then set that as default to make it fail when it tries to forcibly boot the default entry.
fsl-mc: Booting Management Complex ... SUCCESS
fsl-mc: Management Complex booted (version: 10.36.0, boot status: 0x1)
device 0 offset 0x580000, size 0x40000
SF: 262144 bytes @ 0x580000 Read: OK
default DPL loaded
Autoboot in 5 seconds, press 's' to stop and bring up boot menu
Scanning for bootflows in all bootdevs
Seq Method State Uclass Part Name Filename
--- ----------- ------ -------- ---- ------------------------ ----------------
Scanning global bootmeth 'efi_mgr':
Hunting with: simple_bus
Found 0 extension board(s).
Scanning bootdev 'nvme#0.blk#1.bootdev':
0 efi ready nvme f nvme#0.blk#1.bootdev.part efi/boot/bootaa64.efi
** Booting bootflow 'nvme#0.blk#1.bootdev.part_f' with efi
Working FDT set to 90000000
TEN64: Using legacy fan device tree overlay
Missing TPMv2 device for EFI_TCG_PROTOCOL
INFO: RNG Desc SUCCESS with status 0
INFO: result a21aba44f5cb671c
Booting /efi\boot\bootaa64.efi
Failed to open efi\boot\console=ttyS0,115200 - Not Found
Failed to load image 灀?�: Not Found
start_image() returned Not Found, falling back to default loader
Welcome to GRUB!
DPMAC7@qsgmii Waiting for PHY auto negotiation to complete......... TIMEOUT !
DPMAC7@qsgmii: Could not initialize
DPMAC8@qsgmii Waiting for PHY auto negotiation to complete......... TIMEOUT !
DPMAC8@qsgmii: Could not initialize
DPMAC9@qsgmii Waiting for PHY auto negotiation to complete......... TIMEOUT !
DPMAC9@qsgmii: Could not initialize
DPMAC10@qsgmii Waiting for PHY auto negotiation to complete......... TIMEOUT !
DPMAC10@qsgmii: Could not initialize
Active input terminals:
console
Available input terminals:
serial_*
Active output terminals:
console
Available output terminals:
gfxterm serial_*
Booting `UEFI Firmware Settings'
error: can't find command `fwsetup'.
Press any key to continue...
<finally the menu shows up>