WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] unknown bootloader

To: kibirango moses <kibsmoses@xxxxxxxxx>
Subject: Re: [Xen-users] unknown bootloader
From: Jonathan Ludlam <Jonathan.Ludlam@xxxxxxxxxxxxx>
Date: Wed, 6 Oct 2010 09:51:30 +0100
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 06 Oct 2010 01:53:34 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTik45JNNsXNMR8eR6P=xXRULzXOBxJ10b01quAWx@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTik45JNNsXNMR8eR6P=xXRULzXOBxJ10b01quAWx@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: ActlM6FeTcHMQlQ4TPGkbc0p5xubjA==
Thread-topic: [Xen-users] unknown bootloader
Hi Kibirango,

Your bootloader should be set to 'pygrub' rather than '/usr/bin/pygrub'. You can set it with:

xe vm-param-set uuid=70645ba3-bcbc-683b-099e-ed197301fcc2 PV-bootloader=pygrub

Hope this helps,

Jon

On 6 Oct 2010, at 09:38, kibirango moses wrote:

Hullo Everybody ;

I am failing to start my new VM and it tells me unkown bootloader . Below are my parameters and output . Could somebody be having an idea of putting right this problem?

[root@virtualintranet /]# xe vm-param-list uuid=70645ba3-bcbc-683b-099e-ed197301fcc2
uuid ( RO)                          : 70645ba3-bcbc-683b-099e-ed197301fcc2
                    name-label ( RW): PVG1
              name-description ( RW): Installed via xe CLI
                  user-version ( RW): 1
                 is-a-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): d6a17b8f-c196-0876-4c0a-271c91c09f62
                      children ( RO):
             is-control-domain ( RO): false
                   power-state ( RO): halted
                 memory-actual ( RO): 0
                 memory-target ( RO): 0
               memory-overhead ( RO): 1048576
             memory-static-max ( RW): 268435456
            memory-dynamic-max ( RW): 268435456
            memory-dynamic-min ( RW): 268435456
             memory-static-min ( RW): 1024
              suspend-VDI-uuid ( RO): <not in database>
                  VCPUs-params (MRW):
                     VCPUs-max ( RW): 1
              VCPUs-at-startup ( RW): 1
        actions-after-shutdown ( RW): Destroy
          actions-after-reboot ( RW): Restart
           actions-after-crash ( RW): Restart
                 console-uuids (SRO):
                      platform (MRW): nx: false; acpi: true; apic: true; pae: true; viridian: true
            allowed-operations (SRO): changing_dynamic_range; changing_static_range; make_into_template; destroy; export; start_on; start; clone; copy; snapshot
            current-operations (SRO):
            blocked-operations (MRW):
           allowed-VBD-devices (SRO): 0; 1; 2; 3; 4; 5; 6; 7; 8; 9; 10; 11; 12; 13; 14; 15
           allowed-VIF-devices (SRO): 1; 2; 3; 4; 5; 6
                possible-hosts ( RO): 34618359-1da5-4ecf-a9bf-01413a05faff
               HVM-boot-policy ( RW):
               HVM-boot-params (MRW): order: dc
         HVM-shadow-multiplier ( RW): 1.000
                     PV-kernel ( RW):
                    PV-ramdisk ( RW):
                       PV-args ( RW):
                PV-legacy-args ( RW):
                 PV-bootloader ( RW): /usr/bin/pygrub
            PV-bootloader-args ( RW):
           last-boot-CPU-flags ( RO):
              last-boot-record ( RO): '('struct' ('uuid' '70645ba3-bcbc-683b-099e-ed197301fcc2') ('allowed_operations' ('array')) ('current_operations' ('struct' ('OpaqueRef:38ebb659-ac74-8e80-5ffe-a1da898f39ac' 'start'))) ('power_state' 'Halted') ('name_label' 'PVG1') ('name_description' 'Installed via xe CLI') ('user_version' '1') ('is_a_template' ('boolean' '0')) ('suspend_VDI' 'OpaqueRef:NULL') ('resident_on' 'OpaqueRef:NULL') ('affinity' 'OpaqueRef:NULL') ('memory_overhead' '1048576') ('memory_target' '268435456') ('memory_static_max' '268435456') ('memory_dynamic_max' '268435456') ('memory_dynamic_min' '268435456') ('memory_static_min' '1024') ('VCPUs_params' ('struct')) ('VCPUs_max' '1') ('VCPUs_at_startup' '1') ('actions_after_shutdown' 'destroy') ('actions_after_reboot' 'restart') ('actions_after_crash' 'restart') ('consoles' ('array')) ('VIFs' ('array' 'OpaqueRef:ad3fb92b-4261-87c5-d94d-3c958b90dca6')) ('VBDs' ('array')) ('crash_dumps' ('array')) ('VTPMs' ('array')) ('PV_bootloader' '/usr/bin/pygrub') ('PV_kernel' '') ('PV_ramdisk' '') ('PV_args' '') ('PV_bootloader_args' '') ('PV_legacy_args' '') ('HVM_boot_policy' '') ('HVM_boot_params' ('struct' ('order' 'dc'))) ('HVM_shadow_multiplier' ('double' '1')) ('platform' ('struct' ('nx' 'false') ('acpi' 'true') ('apic' 'true') ('pae' 'true') ('viridian' 'true'))) ('PCI_bus' '') ('other_config' ('struct' ('mac_seed' 'b75bc1d8-5b14-3f0b-2ee9-9676bf8735b9') ('install-methods' 'cdrom'))) ('domid' '-1') ('domarch' '') ('last_boot_CPU_flags' ('struct')) ('is_control_domain' ('boolean' '0')) ('metrics' 'OpaqueRef:5a9f21d1-5d74-c681-1cf0-7dbe90772886') ('guest_metrics' 'OpaqueRef:NULL') ('last_booted_record' '') ('recommendations' '<restrictions><restriction field=\"memory-static-max\" max=\"34359738368\" /><restriction field=\"vcpus-max\" max=\"8\" /><restriction property=\"number-of-vbds\" max=\"7\" /><restriction property=\"number-of-vifs\" max=\"7\" /></restrictions>') ('xenstore_data' ('struct')) ('ha_always_run' ('boolean' '0')) ('ha_restart_priority' '') ('is_a_snapshot' ('boolean' '0')) ('snapshot_of' 'OpaqueRef:NULL') ('snapshots' ('array')) ('snapshot_time' ('dateTime.iso8601' '19700101T00:00:00Z')) ('transportable_snapshot_id' '') ('blobs' ('struct')) ('tags' ('array')) ('blocked_operations' ('struct')) ('snapshot_info' ('struct')) ('snapshot_metadata' '') ('parent' 'OpaqueRef:28faccaa-edff-8694-37ec-0d07239e3b9e') ('children' ('array')) ('bios_strings' ('struct')))'
                   resident-on ( RO): <not in database>
                      affinity ( RW): <not in database>
                  other-config (MRW): mac_seed: b75bc1d8-5b14-3f0b-2ee9-9676bf8735b9; install-methods: cdrom
                        dom-id ( RO): -1
               recommendations ( RO): <restrictions><restriction field="memory-static-max" max="34359738368" /><restriction field="vcpus-max" max="8" /><restriction property="number-of-vbds" max="7" /><restriction property="number-of-vifs" max="7" /></restrictions>
                 xenstore-data (MRW):
                 ha-always-run ( RW): false
           ha-restart-priority ( RW):
                         blobs ( RO):
                    start-time ( RO): 19700101T00:00:00Z
                  install-time ( RO): 20101006T06:25:38Z
                  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): <not in database>
                        memory (MRO): <not in database>
                         disks (MRO): <not in database>
                      networks (MRO): <not in database>
                         other (MRO): <not in database>
                          live ( RO): <not in database>
    guest-metrics-last-updated ( RO): <not in database>
                   cooperative ( RO): true




[root@virtualintranet /]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             4.0G  1.5G  2.3G  39% /
none                  376M     0  376M   0% /dev/shm
/dev/mapper/XVG-xvda1
                       79G  1.7G   74G   3% /xen
/xen/images/slackware.13-1.x86.20100820.img
                      9.7G  916M  8.3G  10% /xen/domu
[root@virtualintranet /]# cd xen/
[root@virtualintranet xen]# cd domu/
[root@virtualintranet domu]# ls
bin  boot  dev  etc  home  lib  lost+found  media  mnt  modules  opt  proc  root  sbin  srv  sys  tmp  usr  var


[root@virtualintranet boot]# ls
config-2.6.31.6  grub  System.map-2.6.31.6  vmlinuz-2.6.31.6
[root@virtualintranet grub]# ls
grub.conf
[root@virtualintranet grub]# cat grub.conf
default=0
timeout=10
title vmlinuz-2.6.31.6
root (hd0,0)
kernel /boot/vmlinuz-2.6.31.6 console=hvc0 root=/dev/xvda1 ro

[root@virtualintranet /]# xe vm-start uuid=70645ba3-bcbc-683b-099e-ed197301fcc2
The requested bootloader is unknown
vm: 70645ba3-bcbc-683b-099e-ed197301fcc2 (PVG1)

Thanx
<ATT00001..txt>

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>