|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] pygrub error booting iso
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"
]
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
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
|
|
|
|
|