From: jd Subject: Re: domUloader Vs pygrub Date: Fri, 11 Jan 2008 13:10:31 -0800 (PST) Message-ID: <535244.61150.qm@web35808.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xendevel , XenUsers List-Id: xen-devel@lists.xenproject.org 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 --- jd wrote: > 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!!. > > 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 > > > -- 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 > > > > > ____________________________________________________________________________________ > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > > > ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs