[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-users] DomU pygrub issue - OSS Xen to XCP
George
Thanks for quick response, have you successfully installed grub on such kind of my domU and bootup into OS?
Seems it doesn't' work for me to install pygrub according to this wiki http://wiki.xen.org/wiki/PyGrub
Any ideas?
On Thu, Dec 8, 2011 at 10:58 AM, George Shuklin <george.shuklin@xxxxxxxxx> wrote:
You have no bootloader and what how you expect virtual machine to
boot?
Chroot to domU filesystem, install grub. Or use
PV-kernel/PV-ramdisk/PV-args variables to boot kernel from 'outside'
domU (they must resides in /boot/guest of XCP dom0).
On 08.12.2011 06:45, Johnny Tao wrote:
George & Joseph
Thanks for your response , since this domU copied from dom0 and
has no a grub on it, although I give other try to installed
kernel-xen and grub manually on OSS Xen Host, which still being
stuck to start up.Do I need fix the grub installation first on OSS
Xen Host and then start migration ?
With many thanks
Check info below reference
xm creatc -c /etc/xen/demo - OSS Xen Host
Traceback (most recent call last):
File "/usr/bin/pygrub", line 693, in ?
data = "">
IOError: [Errno 2] No such file or directory
No handlers could be found for logger "xend"
Error: Boot loader didn't return any data!
Usage: xm create <ConfigFile> [options] [vars]
xe vm-list params - XCP Xen Host
uuid ( RO) :
47dc79b3-e763-8712-8769-49bbbf9dc7ec
name-label ( RW): demo_old
name-description ( RW):
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): <not in database>
children ( RO):
is-control-domain ( RO): false
power-state ( RO): halted
memory-actual ( RO): 0
memory-target ( RO): <expensive field>
memory-overhead ( RO): 4194304
memory-static-max ( RW): 268435456
memory-dynamic-max ( RW): 268435456
memory-dynamic-min ( RW): 268435456
memory-static-min ( RW): 16777216
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): <expensive field>
allowed-VIF-devices (SRO): <expensive field>
possible-hosts ( RO): <expensive field>
HVM-boot-policy ( RW):
HVM-boot-params (MRW): order:
HVM-shadow-multiplier ( RW): 1.000
PV-kernel ( RW):
PV-ramdisk ( RW):
PV-args ( RW):
PV-legacy-args ( RW):
PV-bootloader ( RW): pygrub
PV-bootloader-args ( RW):
last-boot-CPU-flags ( RO):
last-boot-record ( RO): <expensive field>
resident-on ( RO): <not in database>
affinity ( RW):
288977fd-1836-475a-9109-7f2e68ccae1e
other-config (MRW): import_task:
OpaqueRef:495fd90f-8b8a-96b8-ca22-5c9ff4d427b8; mac_seed:
709328f5-aca8-3c87-bb3b-de81d2aab3d5; 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): 19700101T00:00:00Z
VCPUs-number ( RO): 0
VCPUs-utilisation (MRO): <expensive field>
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): <expensive field>
protection-policy ( RW): <not in database>
is-snapshot-from-vmpp ( RO): false
tags (SRW):
On Thu, Dec 8, 2011 at 1:16 AM, Joseph
Hom <jhom@xxxxxxxxxxxxx>
wrote:
Also
if you can please post your menu.lst or grub.cfg from
the domU.
Post all PV fields of VM (xe
vm-list params and copypaste all fields with PV in
name). Looks like you having bad settings for
PV-bootloader(-args).
On 07.12.2011 11:35, Johnny Tao wrote:
Hi, All
I'm just new to this list, I'm
started to dealing with OSS Xen to XCP migration
earlier this week, seem the domUs installed via
virt-install are function well,
but domUs copied via dom0 are
failed during bootup process, finally I realize
if I could fix this on my OSS Xen will resolve
all.
Can
I have any suggestion from you please ?
XEN: xen-hypervisor-3.4.2-1.1.0.704.20055
Traceback (most recent call
last):
File "/usr/bin/pygrub",
line 693, in ?
IOError: [Errno 2] No such
file or directory
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|