Boris Derzhavets
2009-Jul-25  05:11 UTC
[Xen-devel] Pygrub in Xen 3.5 unstable cannot read ISO image (CentOS 5.3, SNV_117).Cannot find kernel "/images/xen/vmlinuz"
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.
      
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Boris Derzhavets
2009-Jul-25  05:35 UTC
Re: [Xen-devel] Pygrub in Xen 3.5 unstable cannot read ISO image (CentOS 5.3, SNV_117).Cannot find kernel "/images/xen/vmlinuz"
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 <bderzhavets@yahoo.com> wrote:
From: Boris Derzhavets <bderzhavets@yahoo.com>
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" <keir.fraser@eu.citrix.com>
Cc: xen-devel@lists.xensource.com
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
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
      
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel