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

    Booting to Dracut (I trusted ChatGPT)

    Scheduled Pinned Locked Moved XCP-ng
    25 Posts 7 Posters 1.1k Views 6 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.
    • P Offline
      Pilow @bvitnik
      last edited by

      @bvitnik said in Booting to Dracut (I trusted ChatGPT):

      P.S. I guess metadata backup is also XML just like XAPI state file (database). I don't know why JSON came to my mind regarding metadata backup.

      Reply

      perhaps because of other thread discussing metadatabackup.list in audit log

      there is actually a bug there where the metadata is not only checked to be audited, but also completly dumped in JSON format.

      1 Reply Last reply Reply Quote 0
      • AtaxyaNetworkA Offline
        AtaxyaNetwork Ambassador @AtaxyaNetwork
        last edited by

        (BTW you don't have any backup from XOA ? If you have backup, you can just register a new XOA, connect to you remote and restore everything, it will be much simpler)

        C 1 Reply Last reply Reply Quote 0
        • C Offline
          cg @AtaxyaNetwork
          last edited by

          @AtaxyaNetwork did you ever think about "upgrading" the system?
          The installer should be able to detect and backup your current one, installl new and migrate all relevant data.
          That should exclude whatever home-brew-fiddlydiddly you did to your current installation.
          The reason you're seeing 2 almost identical partitions is exactly that: The way how upgrades work with XenServer/XCP-ng. One is your current system, the other one may contain a backup of a previous install (which can also be restored by the installer - if existing).

          As it's been mentioned: Neither trust USB-storage nor any AI without knowing what they suggest you to do. But you may have learned your AI-lesson: It can help, but it can end with a big pile of sh*t if you don't know what it's suggesting you. It's more A than I.

          N 1 Reply Last reply Reply Quote 0
          • N Offline
            nuentes @cg
            last edited by

            @cg I've definitely got some things to try. Thanks, guys. Just need to be cautious with how I proceed so I minimize any losses

            N 1 Reply Last reply Reply Quote 1
            • N Offline
              nuentes @nuentes
              last edited by

              @AtaxyaNetwork @Pilow @bvitnik

              Ok, knowing that the p2 partition was likely an old backup was exactly the breadcrumb that I needed. I confirmed via chroot and xsconsole that p2 was xcp-ng v8.2.1, and that p1 was v8.3. Then I was able to check the initrd files there. Namely I needed to see the updated dates and the kernel version. Thankfully, I saw initrd files on the backup that were the correct kernel and hadn't been disturbed. I then just cloned the initrd files from the backup partition to the p1 partition and BOOM. We booted right up.

              Much appreciated for the assistance, everyone. I'll still need to figure out why my disks are disconnecting, but that will be another post for another day.

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