XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    amazon linux won't boot

    Scheduled Pinned Locked Moved Compute
    6 Posts 2 Posters 643 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B Offline
      Bane
      last edited by

      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.

      497b88ec-ad1f-4b65-884c-c3e442ad55b3-image.png

      Any ideas what would cause this? It works correctly on vmware workstation.

      Thanks,

      A 1 Reply Last reply Reply Quote 0
      • A Offline
        Andrew Top contributor @Bane
        last edited by

        @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 the root=/dev/sda and then update the boot file grub2-mkconfig -o /boot/grub2/grub.cfg and reboot.

        B 2 Replies Last reply Reply Quote 3
        • B Offline
          Bane @Andrew
          last edited by Bane

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • B Offline
            Bane @Andrew
            last edited by

            @Andrew

            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.

            A 1 Reply Last reply Reply Quote 0
            • A Offline
              Andrew Top contributor @Bane
              last edited by

              @Bane No, that's not an option.

              B 1 Reply Last reply Reply Quote 0
              • B Offline
                Bane @Andrew
                last edited by Bane

                @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.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post