I have a distro that I have to use at work that is custom built. There is no way for me to install it as a pv so I am trying to figure out how to make an iso that I can then use for an http install. It is already a bootable iso but the directory structure does not work with virt-install. Can anyone point me to a doc that is not distro centered that would explain how to create a http repository and what is needed to make virt-install use it? Sorry for asking this here, feel free to flame. Jon _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sat, Oct 17, 2009 at 3:07 AM, <jonr@destar.net> wrote:> I have a distro that I have to use at work that is custom built. There is no > way for me to install it as a pv so I am trying to figure out how to make an > iso that I can then use for an http install. It is already a bootable iso > but the directory structure does not work with virt-install. > > Can anyone point me to a doc that is not distro centered that would explain > how to create a http repository and what is needed to make virt-install use > it?I don''t think virt-install can use http install for HVM guest. What are you trying to do? Install HVM guest? If yes, just use the bootable ISO. For most distros you can then convert it to a PV guest later using either one of the working kernel-xen packages from other distros or a self-compiled xen/pv_ops kernel. If you''re trying to install it as PV guest but virt-install doesn''t support it (like for Debian/Ubuntu), it might be easier to copy xen-compatible kernel and initrd to dom0 and create Xen configuration file by hand. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Quoting "Fajar A. Nugraha" <fajar@fajar.net>:> On Sat, Oct 17, 2009 at 3:07 AM, <jonr@destar.net> wrote: >> I have a distro that I have to use at work that is custom built. There is no >> way for me to install it as a pv so I am trying to figure out how to make an >> iso that I can then use for an http install. It is already a bootable iso >> but the directory structure does not work with virt-install. >> >> Can anyone point me to a doc that is not distro centered that would explain >> how to create a http repository and what is needed to make virt-install use >> it? > > I don''t think virt-install can use http install for HVM guest. > What are you trying to do? Install HVM guest? If yes, just use the > bootable ISO. > For most distros you can then convert it to a PV guest later using > either one of the working kernel-xen packages from other distros or a > self-compiled xen/pv_ops kernel. > > If you''re trying to install it as PV guest but virt-install doesn''t > support it (like for Debian/Ubuntu), it might be easier to copy > xen-compatible kernel and initrd to dom0 and create Xen configuration > file by hand. > > -- > FajarThanks Fajar, I am trying to use virt-install to install a paravirtual guest using a custom OS that I have to use at work. I think the best solution is to install it by hand. I am using LVMs as the disks, do I have this right.. I need to download a pv-ops kernel, is there one that is currently preferred? #Loopback mount the .iso for the os and copy the filesystem into a loopback mounted lvm, say, /mnt/domU #cp the pv-ops kernel into /mnt/domU/usr/src/ #chroot into /mnt/domU #Configure kernel then, make && make modules_install && make install, it for my system. #Create an initramfs. Does that sound good or am I missing it completely? Jon _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sat, Oct 17, 2009 at 4:01 AM, <jonr@destar.net> wrote:> I am trying to use virt-install to install a paravirtual guest using a > custom OS that I have to use at work. I think the best solution is to > install it by hand. > > I am using LVMs as the disks, do I have this right..It''s mostly a matter of choice, as each have its own consequences, but if you want maximum performance then LVM is the right way to go.> > I need to download a pv-ops kernel, is there one that is currently > preferred?I''m not sure. I''ve been tinkering with 2.6.30, and got it working with a certain .config, but when I apply the similar config to 2.6.32-rc4 it refused to boot. YMMV. You can also try Jeremy''s git tree. See http://wiki.xensource.com/xenwiki/XenParavirtOps Personally when I need newer kernels I prefer Suse''s forward-ported xen kernel from http://x17.eu/xen/ or http://code.google.com/p/gentoo-xen-kernel/downloads/list . I need memory balloon expansion, which is not available yet on pv_ops kernel.> > #Loopback mount the .iso for the os and copy the filesystem into a loopback > mounted lvm, say, /mnt/domU > #cp the pv-ops kernel into /mnt/domU/usr/src/ > #chroot into /mnt/domU > #Configure kernel then, make && make modules_install && make install, it for > my system. > #Create an initramfs.When creating a kernel and initramfs you don''t have to do it inside domU fs. You can do it in /home/user/src/... whatever, copy the resulting kernel and initrd somewhere (I usually use /etc/xen/kernel), and create a domU config that uses the kernel/initrd. The installation source can usually stay in ISO, or (if the installer supports it) remotely via http or nfs. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users