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 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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 <jdsw2002@yahoo.com> 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> > >____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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 <jdsw2002@yahoo.com> 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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
jd wrote:> fwding to xendevel for comments. >Removing xen-devel as xen-users is more appropriate. However I don''t monitor xen-users so please cc if further enqueries.> 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 ? >1. Edit bootargs entry in domU config, providing kernel/ramdisk. If you don''t know the paths, use lomount to mount the image and poke around. 2. Use vm-install and select "I have a disk or disk image with an installed operating system" and let it create the config for you.> (scanning disks, partitions, mounting them, and then > search for kernel. .. isnt this what the loader is > supposed to do ?) >Yes :-). I would like to start using pygrub in SLES11. I was not with the project when domUloader was born but I think it was originally written to support Netware - which does not have grub. At the time, I''ve heard there were many problems getting pygrub to work on libreiserfs (reiser is default filesystem in SLES10) so domUloader was used for grub-based systems as well. If the default fs becomes ext3 (or something other than reiser) in SLES11 then that will be a great opportunity to switch to pygrup and reserve domUloader for reiser-based domU''s, Netware, and other ''grubless'' systems. Cheers, Jim _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thanks for the interesting background info. Would you know bit more about the domUloader not being able to mount unpartitioned disk ? If there is a patch available for SLES 10 SP1 ? I will definitely check out the vm-install and see if that can be used. Thanks /Jd --- Jim Fehlig <jfehlig@novell.com> wrote:> jd wrote: > > fwding to xendevel for comments. > > > > Removing xen-devel as xen-users is more appropriate. > However I don''t > monitor xen-users so please cc if further enqueries. > > > 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 ? > > > > 1. Edit bootargs entry in domU config, providing > kernel/ramdisk. If you > don''t know the paths, use lomount to mount the image > and poke around. > > 2. Use vm-install and select "I have a disk or disk > image with an > installed operating system" and let it create the > config for you. > > > (scanning disks, partitions, mounting them, and > then > > search for kernel. .. isnt this what the loader is > > supposed to do ?) > > > > Yes :-). I would like to start using pygrub in > SLES11. I was not with > the project when domUloader was born but I think it > was originally > written to support Netware - which does not have > grub. At the time, > I''ve heard there were many problems getting pygrub > to work on > libreiserfs (reiser is default filesystem in SLES10) > so domUloader was > used for grub-based systems as well. If the default > fs becomes ext3 (or > something other than reiser) in SLES11 then that > will be a great > opportunity to switch to pygrup and reserve > domUloader for reiser-based > domU''s, Netware, and other ''grubless'' systems. > > Cheers, > Jim > >____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, Jan 14, 2008 at 01:54:13PM -0700, Jim Fehlig wrote:> Yes :-). I would like to start using pygrub in SLES11. I was not with > the project when domUloader was born but I think it was originally > written to support Netware - which does not have grub. At the time, > I''ve heard there were many problems getting pygrub to work on > libreiserfs (reiser is default filesystem in SLES10) so domUloader wasLike what? From my (admittedly minimal) testing of the new pygrub reiserfs implementation, it all worked fine regards john _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users