amazon linux won't boot
-
Hi all,
Forgive me if this is the wrong forum for this. I have a wazuh 4.8 OVA file (https://documentation.wazuh.com/current/deployment-options/virtual-machine/virtual-machine.html) which is running amazon linux as the underlying OS. The OVA imports fine, but when I start it bootup stalls at "booting the kernel" as shown in the screen capture below.
Any ideas what would cause this? It works correctly on vmware workstation.
Thanks,
-
@Bane I got it to boot...
In the console, as the VM starts, press ESC during the splash screen.
You should get a GRUB type menu with a few lines of what to boot. Select e to edit the first line and delete the
root=/dev/sda
near the end of the linux16 line.Press Control-X to start the OS. It will take several seconds to finish booting.
I don't know why they added /dev/sda in there as it does not exist (at least in Xen). So booting pauses waiting for it (but it will never be there).
As root, you can edit
/etc/default/grub
and remove theroot=/dev/sda
and then update the boot filegrub2-mkconfig -o /boot/grub2/grub.cfg
and reboot. -
This post is deleted! -
On the Wazuh forum they suggested that the issue might be the Para virtualization disk controller driver and suggested changing to IDE or SCSI drivers. Is there a way to change that in XCP-NG/XOA? I am not seeing an option in XOA.
-
@Bane No, that's not an option.
-
@Andrew It's interesting because I actually had one of the previous versions of the OVA running in XCP and now that VM halts in the same place so it appears something changed on the XCP-NG side.