Found this thread to say this is still an issue. Removing the above mentioned lines during boot or disabling the serial console after boot doesn't resolve the issue. I don't really know how long it takes to boot, I waited about 30 minutes, then went to bed, it was booted up in the morning. Is there anything else I can do to get this fixed?
I'm on 22.02.2.1 SCALE.
EDIT: After some tinkering I found the issue may be the SATA DOM I use for TrueNAS boot volume. The way I determined this is that I tried to reinstall TrueNAS and the install sequence hang at "Welcome to GRUB" screen. So I tried a different USB stick with Windows Server install and that too hanged during the boot sequence, while trying to run NTFS service to iterate over devices. So I tried unplugging the SuperMicro SATA DOM from it's SATA connector and suddenly all the USB sticks and installers worked fine. I reinstalled SCALE on NVMe drive and it has since worked.
EDIT 2: The issue has reappeared, even with the NVME drive being used for OS install. I have retraced my steps for both cases and this has happened when I fiddled with NIC settings in TrueNAS. The first time this has happened was when I set IP address reservation for both NICs in my router/DHCP (which is a separate hardware) and went and rebooted TrueNAS. Since that moment, TrueNAS would not boot. I have then gone down the rabbit hole to convince myself the SATA DOM is at fault. This time, I was on a new installation of TrueNAS and a new NVME disk and I was working on setting up a bridge for one of the NICs so that VMs could talk to the host over network. The bridge IP kept leasing wrong IP address so I rebooted the router and rebooted the TrueNAS to force it to lease the reserved IP for the newly set up bridge. And voila, since that reset I can't boot. I get stuck on 'Loading initial ramdisk ...' again. I have also tried disabling serial ports in BIOS (which TrueNAS complains about briefly during boot, but then continues) to no help. I also found a way to disable both NICs in BIOS of my SuperMicro board just to test whether that could be the issue, but it isn't, the boot still doesn't work and is stuck on the loading initial ramdisk message. The OS just corrupted itself in a way that also hangs OS reinstalls from boot USB stick.
I'm really stuck on this, I won't be reinstalling TrueNAS for third time. Either I can resolve this in a few days, or I need to migrate to some other OS that isn't going to corrupt itself repeatedly in matter of days.
EDIT 3: So I found that disabling EFI makes everything work, except now I can't boot from NVME drives, only SATA drives. I've also tried editing the command during TrueNAS boot sequence and I've added 'echo test2' after the line that executes 'initrd /ROOT/path to truenas' command. And the echo line executes. So in my mind, the boot somewhat works but then TrueNAS stops working for some reason:
Quiet boot is disabled in bios. Secure boot is disabled in bios. UEFI only boot is enabled, CSM is disabled.
EDIT 4: So I was thinking if the first thing in parameter sequence for boot is the command load_video, it occurred to me I kept fiddling with HDMI plug to simulate plugged monitor. This is because of Plex. Furthermore, this SuperMicro board has ASpeed GPU onboard which serves IPMI. So technically... I have 2 monitors plugged into 2 different GPU adapters. So if this thing is plugged in, EFI boot for TrueNAS gets stuck after initrd command, which is loaded after "Loading initial ramdisk..." echo. I can reliably simulate this every time. If this plug is removed from the system, everything works in EFI. If I plug it in, it breaks boot which then takes between 30 minutes and 10 hours.
I honestly don't understand any of what is happening here, but the repeatability of this makes me think this could be the source of the problem I'm hunting.
I'm on 22.02.2.1 SCALE.
EDIT: After some tinkering I found the issue may be the SATA DOM I use for TrueNAS boot volume. The way I determined this is that I tried to reinstall TrueNAS and the install sequence hang at "Welcome to GRUB" screen. So I tried a different USB stick with Windows Server install and that too hanged during the boot sequence, while trying to run NTFS service to iterate over devices. So I tried unplugging the SuperMicro SATA DOM from it's SATA connector and suddenly all the USB sticks and installers worked fine. I reinstalled SCALE on NVMe drive and it has since worked.
EDIT 2: The issue has reappeared, even with the NVME drive being used for OS install. I have retraced my steps for both cases and this has happened when I fiddled with NIC settings in TrueNAS. The first time this has happened was when I set IP address reservation for both NICs in my router/DHCP (which is a separate hardware) and went and rebooted TrueNAS. Since that moment, TrueNAS would not boot. I have then gone down the rabbit hole to convince myself the SATA DOM is at fault. This time, I was on a new installation of TrueNAS and a new NVME disk and I was working on setting up a bridge for one of the NICs so that VMs could talk to the host over network. The bridge IP kept leasing wrong IP address so I rebooted the router and rebooted the TrueNAS to force it to lease the reserved IP for the newly set up bridge. And voila, since that reset I can't boot. I get stuck on 'Loading initial ramdisk ...' again. I have also tried disabling serial ports in BIOS (which TrueNAS complains about briefly during boot, but then continues) to no help. I also found a way to disable both NICs in BIOS of my SuperMicro board just to test whether that could be the issue, but it isn't, the boot still doesn't work and is stuck on the loading initial ramdisk message. The OS just corrupted itself in a way that also hangs OS reinstalls from boot USB stick.
I'm really stuck on this, I won't be reinstalling TrueNAS for third time. Either I can resolve this in a few days, or I need to migrate to some other OS that isn't going to corrupt itself repeatedly in matter of days.
EDIT 3: So I found that disabling EFI makes everything work, except now I can't boot from NVME drives, only SATA drives. I've also tried editing the command during TrueNAS boot sequence and I've added 'echo test2' after the line that executes 'initrd /ROOT/path to truenas' command. And the echo line executes. So in my mind, the boot somewhat works but then TrueNAS stops working for some reason:


Quiet boot is disabled in bios. Secure boot is disabled in bios. UEFI only boot is enabled, CSM is disabled.
EDIT 4: So I was thinking if the first thing in parameter sequence for boot is the command load_video, it occurred to me I kept fiddling with HDMI plug to simulate plugged monitor. This is because of Plex. Furthermore, this SuperMicro board has ASpeed GPU onboard which serves IPMI. So technically... I have 2 monitors plugged into 2 different GPU adapters. So if this thing is plugged in, EFI boot for TrueNAS gets stuck after initrd command, which is loaded after "Loading initial ramdisk..." echo. I can reliably simulate this every time. If this plug is removed from the system, everything works in EFI. If I plug it in, it breaks boot which then takes between 30 minutes and 10 hours.

I honestly don't understand any of what is happening here, but the repeatability of this makes me think this could be the source of the problem I'm hunting.
Last edited: