Skip to contentSkip to conversation

Pygrub in Xen 3.5 unstable cannot read ISO image (CentOS 5.3, SNV_117).Cannot find kernel "/images/xen/vmlinuz"

DISCUSSION Boris Derzhavets 1 participant 1 message Jul 25, 2009

lore
Share & tools
lore
#0 lore raw

I was able to perform install via HTTP source :-

# wget http://192.168.1.42/rhel/images/xen/vmlinuz
# wget http://192.168.1.42/rhel/images/xen/initrd.img

name="RHEL53PV"
memory=2048
disk = ['phy:/dev/sdb6,xvda,w' ]
vif = [ 'bridge=eth0', ]
vfb = [ 'type=vnc,vncunused=1' ]

# bootloader = "/usr/local/bin/pygrub"
kernel = "/home/boris/rhel/vmlinuz"
ramdisk = "/home/boris/rhel/initrd.img"
vcpus=1
on_reboot = 'restart'
on_crash = 'restart'
# xm create rhel53.install
# vncviewer localhost:0

--- On Sat, 7/25/09, Boris Derzhavets <[email protected]> wrote:

From: Boris Derzhavets <[email protected]>
Subject: [Xen-devel] Pygrub in Xen 3.5 unstable cannot read ISO image (CentOS 5.3, SNV_117).Cannot find kernel "/images/xen/vmlinuz"
To: "Keir Fraser" <[email protected]>
Cc: [email protected]
Date: Saturday, July 25, 2009, 1:11 AM

root@ServerJaunty:/home/boris/nevada# losetup -a

/dev/loop0: [0812]:27534 (/home/boris/rhel53.iso)

/dev/loop1: [0812]:27534 (/home/boris/rhel53.iso)

/dev/loop2: [0812]:1334 (/home/boris/snv117.iso)

Attempt  to run :-
1.)

root@ServerJaunty:/home/boris/rhel# cat rhel53.install
name="RHEL53PV"
memory=2048
disk = ['phy:/dev/loop1,hdc:cdrom,r',
'phy:/dev/sdb6,xvda,w' ]
vif = [ 'bridge=eth0', ]
vfb = [ 'type=vnc,vncunused=1' ]
bootloader = "/usr/local/bin/pygrub"
kernel = "/images/xen/vmlinuz"
ramdisk = "/images/xen/initrd.img"
vcpus=1
on_reboot = 'restart'
on_crash = 'restart'
root@ServerJaunty:/home/boris/rhel# xm create rhel53.install
Using config file "./rhel53.install".
Error: Cannot find kernel "/images/xen/vmlinuz"

2)

root@ServerJaunty:/home/boris/nevada# cat snv117.install
name = 'Solaris117PV'
memory = '2048'
disk = [ 'phy:/dev/loop2,6:cdrom,r','phy:/dev/sdb5,0,w']
vif = [ 'bridge = eth0' ]
bootloader = '/usr/local/bin/pygrub'
kernel = '/boot/platform/i86xpv/kernel/amd64/unix'
ramdisk =
 '/boot/amd64/x86.miniroot'
extra = '/platform/i86xpv/kernel/amd64/unix - nowin -B install_media=cdrom'
root@ServerJaunty:/home/boris/nevada# xm create -c snv117.install
Using config file "./snv117.install".
Error: Cannot find kernel "/boot/platform/i86xpv/kernel/amd64/unix"

*************************************************
Same profiles work fine at Xen 3.4.1 Dom0
*************************************************

Diff doesn't show any changes in pygrub :-

root@ServerJaunty:/usr/src# diff -uN ./xen-3.4-testing.hg/tools/pygrub/src/pygrub ./xen-unstable.hg/tools/pygrub/src/pygrub

root@ServerJaunty:/usr/src#

Boris.

-----Inline Attachment Follows-----

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel