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

    BIOS PC's not booting

    Scheduled Pinned Locked Moved Compute
    10 Posts 3 Posters 4.4k Views 2 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.
    • K Offline
      KoenraadL
      last edited by

      Hi,
      We are using XCP-ng for a few months now.
      I created a few of PC's booting with BIOS. They don't alwas run so now I needed one of those PC's and tried to boot it. It fails with this error :

      INVALID_VALUE(platform:device-model, BIOS boot is not supported with qemu-upstream-uefi)
      

      AFAIK no settings were changed on this PC.
      I tried to create a PC from scratch, also booting via BIOS, that also fails with the same message.
      Any pointers to what could be wrong ?
      UEFI PC's boot fine.
      XCP-ng is 8.1.

      TIA

      AlexanderKA 1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        Can you show us the VM object: xe vm-param-list uuid=<VM UUID>

        K 1 Reply Last reply Reply Quote 0
        • AlexanderKA Offline
          AlexanderK @KoenraadL
          last edited by

          @koenraadl
          had the same issue today. try to change uefi to bios or reverse.

          K 1 Reply Last reply Reply Quote 0
          • K Offline
            KoenraadL @olivierlambert
            last edited by

            @olivierlambert
            Sorry, I couldn't access the host from home (covid).

            uuid ( RO)                                  : e1edceb7-6601-260a-cb8a-4f72a5d6b5cd
                                        name-label ( RW): Windows 10 Secr Legacy
                                  name-description ( RW):
                                      user-version ( RW): 1
                                     is-a-template ( RW): false
                               is-default-template ( RW): false
                                     is-a-snapshot ( RO): false
                                       snapshot-of ( RO): <not in database>
                                         snapshots ( RO):
                                     snapshot-time ( RO): 19700101T00:00:00Z
                                     snapshot-info ( RO):
                                            parent ( RO): <not in database>
                                          children ( RO):
                                 is-control-domain ( RO): false
                                       power-state ( RO): halted
                                     memory-actual ( RO): 4297056256
                                     memory-target ( RO): 0
                                   memory-overhead ( RO): 37748736
                                 memory-static-max ( RW): 4294967296
                                memory-dynamic-max ( RW): 4294967296
                                memory-dynamic-min ( RW): 2147483648
                                 memory-static-min ( RW): 2147483648
                                  suspend-VDI-uuid ( RW): <not in database>
                                   suspend-SR-uuid ( RW): 0a4fb46c-84ac-6fa9-899f-76d48fec4e99
                                      VCPUs-params (MRW): weight: 256
                                         VCPUs-max ( RW): 2
                                  VCPUs-at-startup ( RW): 2
                            actions-after-shutdown ( RW): Destroy
                              actions-after-reboot ( RW): Restart
                               actions-after-crash ( RW): Restart
                                     console-uuids (SRO):
                                               hvm ( RO): false
                                          platform (MRW): timeoffset: 0; device-model: qemu-upstream-uefi; videoram: 8; hpet: true; acpi_laptop_slate: 1; secureboot: false; viridian_apic_assist: true; apic: true; device_id: 0002; cores-per-socket: 2; viridian_crash_ctl: true; pae: true; vga: std; nx: true; viridian_time_ref_count: true; viridian_stimer: true; viridian: true; acpi: 1; viridian_reference_tsc: true
                                allowed-operations (SRO): changing_NVRAM; changing_dynamic_range; changing_shadow_memory; changing_static_range; make_into_template; migrate_send; destroy; export; start_on; start; clone; copy; snapshot
                                current-operations (SRO):
                                blocked-operations (MRW):
                               allowed-VBD-devices (SRO): 1; 2; 4; 5; 6; 7; 8; 9; 10; 11; 12; 13; 14; 15; 16; 17; 18; 19; 20; 21; 22; 23; 24; 25; 26; 27; 28; 29; 30; 31; 32; 33; 34; 35; 36; 37; 38; 39; 40; 41; 42; 43; 44; 45; 46; 47; 48; 49; 50; 51; 52; 53; 54; 55; 56; 57; 58; 59; 60; 61; 62; 63; 64; 65; 66; 67; 68; 69; 70; 71; 72; 73; 74; 75; 76; 77; 78; 79; 80; 81; 82; 83; 84; 85; 86; 87; 88; 89; 90; 91; 92; 93; 94; 95; 96; 97; 98; 99; 100; 101; 102; 103; 104; 105; 106; 107; 108; 109; 110; 111; 112; 113; 114; 115; 116; 117; 118; 119; 120; 121; 122; 123; 124; 125; 126; 127; 128; 129; 130; 131; 132; 133; 134; 135; 136; 137; 138; 139; 140; 141; 142; 143; 144; 145; 146; 147; 148; 149; 150; 151; 152; 153; 154; 155; 156; 157; 158; 159; 160; 161; 162; 163; 164; 165; 166; 167; 168; 169; 170; 171; 172; 173; 174; 175; 176; 177; 178; 179; 180; 181; 182; 183; 184; 185; 186; 187; 188; 189; 190; 191; 192; 193; 194; 195; 196; 197; 198; 199; 200; 201; 202; 203; 204; 205; 206; 207; 208; 209; 210; 211; 212; 213; 214; 215; 216; 217; 218; 219; 220; 221; 222; 223; 224; 225; 226; 227; 228; 229; 230; 231; 232; 233; 234; 235; 236; 237; 238; 239; 240; 241; 242; 243; 244; 245; 246; 247; 248; 249; 250; 251; 252; 253; 254
                               allowed-VIF-devices (SRO): 1; 2; 3; 4; 5; 6
                                    possible-hosts ( RO): 4ad49ce6-3f67-4242-a758-59bdfad614cc
                                       domain-type ( RW): hvm
                               current-domain-type ( RO): unspecified
                                   HVM-boot-policy ( RW): BIOS order
                                   HVM-boot-params (MRW): order: dc; firmware: bios
                             HVM-shadow-multiplier ( RW): 1.000
                                         PV-kernel ( RW):
                                        PV-ramdisk ( RW):
                                           PV-args ( RW):
                                    PV-legacy-args ( RW):
                                     PV-bootloader ( RW):
                                PV-bootloader-args ( RW):
                               last-boot-CPU-flags ( RO): vendor: GenuineIntel; features: 1fcbfbff-97ba2223-2d93fbff-00000403-00000001-00000000-00000000-00000000-00001000-9c000400-00000000-00000000-00000000-00000000-00000000
                                  last-boot-record ( RO): ''
                                       resident-on ( RO): 4ad49ce6-3f67-4242-a758-59bdfad614cc
                                          affinity ( RW): 4ad49ce6-3f67-4242-a758-59bdfad614cc
                                      other-config (MRW): base_template_name: Windows 10 (64-bit); import_task: OpaqueRef:67e54772-7ce7-43e4-8002-a6eaf7b2a892; mac_seed: 01536947-ff8e-478c-1403-12f7007439a0; install-methods: cdrom; auto_poweron: false
                                            dom-id ( RO): -1
                                   recommendations ( RO): <restrictions><restriction field="memory-static-max" max="1649267441664"/><restriction field="vcpus-min" min="2"/><restriction field="vcpus-max" max="32"/><restriction field="has-vendor-device" value="true"/><restriction field="supports-bios" value="yes"/><restriction field="supports-uefi" value="yes"/><restriction field="supports-secure-boot" value="yes"/><restriction max="255" property="number-of-vbds"/><restriction max="7" property="number-of-vifs"/></restrictions>
                                     xenstore-data (MRW): vm-data: ; vm-data/mmio-hole-size: 268435456
                        ha-always-run ( RW) [DEPRECATED]: false
                               ha-restart-priority ( RW):
                                             blobs ( RO):
                                        start-time ( RO): 19700101T00:00:00Z
                                      install-time ( RO): 20201119T13:11:11Z
                                      VCPUs-number ( RO): 0
                                 VCPUs-utilisation (MRO):
                                        os-version (MRO): <not in database>
                                PV-drivers-version (MRO): <not in database>
                PV-drivers-up-to-date ( RO) [DEPRECATED]: <not in database>
                                            memory (MRO): <not in database>
                                             disks (MRO): <not in database>
                                              VBDs (SRO): ff9259f0-45d7-f4ab-43bc-e1f097c437b8; bedc1d56-5239-e4b7-9310-82cdac36183a
                                          networks (MRO): <not in database>
                               PV-drivers-detected ( RO): <not in database>
                                             other (MRO): <not in database>
                                              live ( RO): <not in database>
                        guest-metrics-last-updated ( RO): <not in database>
                               can-use-hotplug-vbd ( RO): <not in database>
                               can-use-hotplug-vif ( RO): <not in database>
                          cooperative ( RO) [DEPRECATED]: true
                                              tags (SRW):
                                         appliance ( RW): <not in database>
                                 snapshot-schedule ( RW): <not in database>
                                  is-vmss-snapshot ( RO): false
                                       start-delay ( RW): 0
                                    shutdown-delay ( RW): 0
                                             order ( RW): 0
                                           version ( RO): 0
                                     generation-id ( RO): 5864515912681412571:4738613654386700915
                         hardware-platform-version ( RO): 2
                                 has-vendor-device ( RW): true
                                   requires-reboot ( RO): false
                                   reference-label ( RO): windows-10-64bit
                                      bios-strings (MRO): bios-vendor: Xen; bios-version: ; system-manufacturer: Xen; system-product-name: HVM domU; system-version: ; system-serial-number: ; baseboard-manufacturer: ; baseboard-product-name: ; baseboard-version: ; baseboard-serial-number: ; baseboard-asset-tag: ; baseboard-location-in-chassis: ; enclosure-asset-tag: ; hp-rombios: ; oem-1: Xen; oem-2: MS_VM_CERT/SHA1/bdbeb6e0a816d43fa6d3fe8aaef04c2bad9d3e3d
            
            1 Reply Last reply Reply Quote 0
            • K Offline
              KoenraadL @AlexanderK
              last edited by

              @alexanderk
              Can you elaborate on what I need to do ?
              I tried to change from BIOS to UEFIand booted the machine. It booted to the UEFI shell. Then I had trouble to stop the VM, so I could revert back to BIOS.
              Now it's back to BIOS but the problem remains.

              1 Reply Last reply Reply Quote 0
              • olivierlambertO Offline
                olivierlambert Vates 🪐 Co-Founder CEO
                last edited by

                The issue is there: platform record got device-model: qemu-upstream-uefi; but it shouldn't.

                K 1 Reply Last reply Reply Quote 0
                • K Offline
                  KoenraadL @olivierlambert
                  last edited by

                  @olivierlambert How do I change that ?
                  I tried with both Orchestra-versions (App en OS) and with XC_ng center.
                  With Orchestra I can change the video-ram (checked with xe vm-param-list) but I can't change the device-model. I set it to default, bios and uefi, the output of xe vm-param-list always stays at qemu-upstream-uefi.
                  XCP-ng center has no means of modifying the boot-mode.

                  TIA

                  1 Reply Last reply Reply Quote 0
                  • olivierlambertO Offline
                    olivierlambert Vates 🪐 Co-Founder CEO
                    last edited by olivierlambert

                    You need to do that with xe:

                    xe vm-param-set uuid=e1edceb7-6601-260a-cb8a-4f72a5d6b5cd platform:device-model=qemu-upstream-compat
                    
                    K 2 Replies Last reply Reply Quote 0
                    • K Offline
                      KoenraadL @olivierlambert
                      last edited by

                      @olivierlambert
                      Thanks for the info.
                      Unfortunately, it seems I lost the harddrive : no bootable device.
                      I had a second "legacy" machine, with the same problem.
                      To test I created a 32bit Windows 10 machine. There device-model=qemu-upstream-compat.

                      1 Reply Last reply Reply Quote 0
                      • K Offline
                        KoenraadL @olivierlambert
                        last edited by

                        @olivierlambert
                        Strange, that 32bit windows was from the 32bit Windows 10 template.
                        I installed Windows10 but it seems I installed the 64bit.

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • First post
                          Last post