Skip to contentSkip to conversation

domUloader Vs pygrub

DISCUSSION jd 1 participant 1 message Jan 11, 2008

lore
Share & tools
lore

jd

author
#0 lore raw

fwding to xendevel for comments.

Basically, I have some vm_templates with pygrub that work, but with domUloader for each image, one has to find out the kernel/ramdisk from domU and provide this in the vm config file.

What is a good way to do this ?

(scanning disks, partitions, mounting them, and then search for kernel. .. isnt this what the loader is supposed to do ?)

I really hope I am missing something in the way to use domUloader.

thanks
/Jd

Quoted 17 lines · --- jd

Hi
I have been using pygrub for most of the needs.
Was
trying out some stuff on SLES 10 SP1. It seems that it
does not have pygrub!!

On the other hand,they have domUloader.py which
requires bootargs="--entry=hda:/boot/vmlinuz...., path
to ramdisk.

It is quite strange to be asking for the path of
the kernel and the ramdisk to be supplied in the conf
file!!.

Quoted 7 lines

Am I missing something here ? PyGrub does not
require
all these details.

For example :
on one of my images, the path is

/boot/initrd-2.6.16.29-0.11.smp.pae.gcc3.4.x86.i686.xen.domU.img

Quoted 15 lines

-- Also, the domUloader does gives error when there is
not partition. i.e. the image can be simply mounted by
using mount -o loop /file.disk /mount/point

/Jd

____________________________________________________________________________________

Quoted 3 lines

Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.

http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

Quoted 3 lines
      ____________________________________________________________________________________

Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs