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

xen-users

[Top] [All Lists]

Re: [Xen-users] pygrub error booting iso

To: greno@xxxxxxxxxxx
Subject: Re: [Xen-users] pygrub error booting iso
From: Gerry Reno <greno@xxxxxxxxxxx>
Date: 2010年6月13日 18:34:17 -0500 (CDT)
Cc: tknchris@xxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2010年6月13日 16:35:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
ok, some other things that are weird:
hdc ends up on xvda
hdd ends up on xvde
Huh?

I don't know whether this is pygrub or Xen that's causing the problems.

-Gerry





Jun 13, 2010 06:54:02 PM, greno@xxxxxxxxxxx wrote:
You mean like this?:
disk = [
'file:/tmp/ubuntu/10.04/ubuntu-10.04-server-amd64.iso,hdc:cdrom,r',
"tap:aio:/var/lib/xen/images/CLOUD-CC-1.img,xvda,w"
]

Gives me the exact same result:
Error: Boot loader didn't return any data!

I've verified the paths to the kernel and ramdisk. It's weird because I did this some time ago without any problem. But now it doesn't work. Maybe because I updated to Xen 4.0.0-rc8? Pygrub says version 0.6 inside it.

-Gerry


Jun 13, 2010 06:19:46 PM, tknchris@xxxxxxxxx wrote:
Why not just use file: and iso path? I don't see any benefit to
another layer of abstraction

Sent from my iPhone

On Jun 13, 2010, at 5:49 PM, greno@xxxxxxxxxxx wrote:

> I mounted an iso file like so:
> -------------------------------------------
> # mount -o loop=/dev/loop0 /path/to/iso /tmp/mnt
> #ls /tmp/mnt
> cdromupgrade dists doc install isolinux md5sum.txt pics pool
> preseed README.diskdefines ubuntu
> -------------------------------------------
>
> I used the following file to try to have pygrub boot the mounted iso:
> -------------------------------------------
> name = "RESCUE"
> memory = 1024
> vcpus = 4
> bootloader = '/usr/local/bin/pygrub'
> kernel = "/boot/vmlinuz-2.6.32.13"
> ramdisk = "/boot/initrd.img-2.6.32.13"
> disk = [
> 'phy:/dev/loop0,hdc:cdrom,r',
> "tap:aio:/var/lib/xen/images/CLOUD-CC-1.img,xvda,w"
> ]
>
>
>
>
> vfb = [ 'type=vnc,vncunused=1' ]
> -------------------------------------------
>
> Then I tried to create:
> -------------------------------------------
> # xm create test.py
> Using config file "./test.py".
> Error: Boot loader didn't return any data!
> -------------------------------------------
>
> Is there something else I need to get pygrub to boot an iso?
>
> -Gerry
>
>
> _______________________________________________
> 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 
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-users] domU Networking Issues , JohnD
Next by Date: RE: [Xen-users] Xen Client won't start after reboot (when upgradeCentOS 5.4 to 5.5) , James Harper
Previous by Thread: Re: Re: [Xen-users] pygrub error booting iso , Gerry Reno
Next by Thread: [SPAM] Re: [Xen-users] pygrub error booting iso , Tapas Mishra
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /