Hi I am trying to create a new CentOS 5.1 PV image via installation. Host is F8 with Xen. I pulled out kernel and initrd from CentOS 5.1 cdrom(DVD) (from images/xen location) I have the config file that points to the saved kernel and ramdisk, looks like the following. CDROM is pointing to an ISO. (I tried both tap:aio and file for cdrom.. no change in behavior) The VM starts, it does give a message loading xenblk driver. But the installer can not detect cdrom. Any idea on what driver cdrom would use ? and why it is not working/detecting it ? Also in the list of drivers to select from I am not seeing the xen specific drivers. I have also attached the VM startup messages if they help. Thanks in advance. -nb =======name=''centos_5_1_cdrom_install'' ramdisk=''/tmp/centos/initrd.img'' kernel=''/tmp/centos/vmlinuz'' bootloader='''' vif=[''mac=00:16:3e:19:f4:cc, bridge=xenbr0''] vcpus=1 memory=256 disk=[''tap:aio:/var/cache/vm_disks/centos_5_1_cdrom_install.disk.xm,xvda,w'', ''file:/mnt/images/iso/CentOS-5.1-i386-bin-DVD.iso,hdc:cdrom,r''] on_reboot=''restart'' on_crash=''restart'' extra='''' root='''' platform=''xen'' image_id=''2f15beaaa522fa889dad3add176b3013'' _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sun, Nov 30, 2008 at 2:47 PM, J Newbie <j_nwb@yahoo.com> wrote:> Hi > I am trying to create a new CentOS 5.1 PV image via installation. > Host is F8 with Xen. > > I pulled out kernel and initrd from CentOS 5.1 cdrom(DVD) (from images/xen location) > I have the config file that points to the saved kernel and ramdisk, looks like the following. CDROM is pointing to an ISO. (I tried both tap:aio and file for cdrom.. no change in behavior) >You need to install from a mirror (even if just a localhost mirror). Installing from CDROM is most likely not possible with PV guests on your version of Xen. Some more information on it here: (you can also find a lot more examples of the the localhost example by searching the xen mailing list archives, check xen.markmail.org and also the centos-virt and fedora-xen list archives) http://blog.xen.org/index.php/2008/04/08/install-and-run-xen-on-fedora-8/ Cheers, Todd -- Todd Deshane http://todddeshane.net http://runningxen.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thanks Todd. Could you please elaborate a bit more about what is wrong with CDROM ? Also, * I am ready to recreate/update initrd if required. * Any specific changes in Xen ? What version of Xen would this work on ? What type of change was made ? * What xen drivers are available for use with PV VMs ? I searched the archive for cdrom parvirtualized, pv etc.. but no good hit. Thanks -nb --- On Sun, 11/30/08, Todd Deshane <deshantm@gmail.com> wrote:> From: Todd Deshane <deshantm@gmail.com> > Subject: Re: [Xen-users] Installing PV image from CDROM > To: "J Newbie" <j_nwb@yahoo.com> > Cc: "xen-users" <xen-users@lists.xensource.com> > Date: Sunday, November 30, 2008, 11:56 AM > On Sun, Nov 30, 2008 at 2:47 PM, J Newbie > <j_nwb@yahoo.com> wrote: > > Hi > > I am trying to create a new CentOS 5.1 PV image via > installation. > > Host is F8 with Xen. > > > > I pulled out kernel and initrd from CentOS 5.1 > cdrom(DVD) (from images/xen location) > > I have the config file that points to the saved > kernel and ramdisk, looks like the following. CDROM is > pointing to an ISO. (I tried both tap:aio and file for > cdrom.. no change in behavior) > > > > You need to install from a mirror (even if just a localhost > mirror). > Installing from CDROM is most > likely not possible with PV guests on your version of Xen. > > Some more information on it here: (you can also find a lot > more > examples of the the localhost > example by searching the xen mailing list archives, check > xen.markmail.org and also the > centos-virt and fedora-xen list archives) > > http://blog.xen.org/index.php/2008/04/08/install-and-run-xen-on-fedora-8/ > > Cheers, > Todd > > -- > Todd Deshane > http://todddeshane.net > http://runningxen.com > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sun, Nov 30, 2008 at 6:35 PM, J Newbie <j_nwb@yahoo.com> wrote:> Thanks Todd. > > Could you please elaborate a bit more about what is wrong with CDROM ? >In vanilla Xen, as far as I know you can''t use a CDROM directly yet. The closest that I have seen is: http://xen.markmail.org/search/?q=pv%20grub%20questions#query:pv%20grub%20questions+page:1+mid:cfyspt5vf3nj3thf+state:results Open Solaris can install a PV guest from a CD or ISO I believe.> Also, > * I am ready to recreate/update initrd if required. > * Any specific changes in Xen ? What version of Xen would this work on ? What type of change was made ?I believe it is intended to work in the future, especially with distros like Fedora that, as of the latest Fedora 10, or possibly a bit earlier, are using Xen guest (domU) enabled kernels as the default distro kernel.> * What xen drivers are available for use with PV VMs ? >A decent sense of the PV options available can be found at: http://wiki.xensource.com/xenwiki/XenParavirtOps> > I searched the archive for cdrom parvirtualized, pv etc.. but no good hit. >The one above is one of the best. I forgot to mention about the xen-discuss list of Solaris Xen. You could try to get them to work on the PVGRUB bug(s) to get it to work or you could settle on using the localhost mirror setup of it see: http://www.mail-archive.com/fedora-xen@redhat.com/msg02144.html Hope that helps. Cheers, Todd -- Todd Deshane http://todddeshane.net http://runningxen.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Can anyone please guide here. Thanks -nb --- On Tue, 12/2/08, J Newbie <j_nwb@yahoo.com> wrote:> From: J Newbie <j_nwb@yahoo.com> > Subject: Fw: Re: [Xen-users] Installing PV image from CDROM > To: xen-devel@lists.xensource.com > Cc: "xen-users" <xen-users@lists.xensource.com> > Date: Tuesday, December 2, 2008, 12:04 AM > Thanks Todd, I am forwarding it to the developer list. > > Would anyone from the developer list have any comment or > ideas/workarounds on getting this to work ? > > Also, is there a reasonable standard way of > getting/creating the required kerenel and ramdisk that would > work for most distros. > > Thanks > -nb > > --- On Sun, 11/30/08, Todd Deshane > <deshantm@gmail.com> wrote: > > > From: Todd Deshane <deshantm@gmail.com> > > Subject: Re: [Xen-users] Installing PV image from > CDROM > > To: j_nwb@yahoo.com > > Cc: "xen-users" > <xen-users@lists.xensource.com> > > Date: Sunday, November 30, 2008, 4:03 PM > > On Sun, Nov 30, 2008 at 6:35 PM, J Newbie > > <j_nwb@yahoo.com> wrote: > > > Thanks Todd. > > > > > > Could you please elaborate a bit more about what > is > > wrong with CDROM ? > > > > > > > In vanilla Xen, as far as I know you can''t use a > CDROM > > directly yet. > > > > The closest that I have seen is: > > > http://xen.markmail.org/search/?q=pv%20grub%20questions#query:pv%20grub%20questions+page:1+mid:cfyspt5vf3nj3thf+state:results > > > > Open Solaris can install a PV guest from a CD or ISO I > > believe. > > > > > Also, > > > * I am ready to recreate/update initrd if > required. > > > * Any specific changes in Xen ? What version of > Xen > > would this work on ? What type of change was made ? > > > > I believe it is intended to work in the future, > especially > > with > > distros like Fedora that, as of the latest Fedora 10, > or > > possibly a > > bit earlier, are using Xen guest (domU) enabled > kernels as > > the default > > distro kernel. > > > > > * What xen drivers are available for use with PV > VMs ? > > > > > A decent sense of the PV options available can be > found at: > > http://wiki.xensource.com/xenwiki/XenParavirtOps > > > > > > > > I searched the archive for cdrom parvirtualized, > pv > > etc.. but no good hit. > > > > > The one above is one of the best. I forgot to mention > about > > the xen-discuss > > list of Solaris Xen. > > > > You could try to get them to work on the PVGRUB bug(s) > to > > get it to work > > or you could settle on using the localhost mirror > setup of > > it see: > > > http://www.mail-archive.com/fedora-xen@redhat.com/msg02144.html > > > > Hope that helps. > > > > Cheers, > > Todd > > > > > > -- > > Todd Deshane > > http://todddeshane.net > > http://runningxen.com > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users