I am trying to install new domu via Yast Virtual Machine Management. I choose "Run an OS installation program" to get the guest Suse 10.1 installed. It lists the installation device as CD/DVD (/dev/hdc). I have Disk 1 of Suse 10.1 in CD, but get an error in "preparing installation of the virtual machine" listing "Failed to extract the kernel from the installation source." I also have .iso files on hard drive. I attempt to point virtual machine installation there. An error comes back "Failed to extract the kernel from the installation source. Please check that your installation source is accessible." Can anyone give me a pointer toward what I need to do to take advantage of the Suse VMM install? Bernard Golden Chief Executive Officer, Navica www.navicasoft.com <http://www.navicasoft.com/> Author, "Succeeding with Open Source," Addison-Wesley, 2005 (T) 650 585 5309 (C) 650 400 3204 (F) 650 591 3805 Sign up <http://www.navicasoft.com/pages/newslform2.htm> for Navica''s monthly open source newsletter Read <http://blogs.cio.com/node/269> my open source blog for CIO Magazine _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, Bernard Golden wrote:> I am trying to install new domu via Yast Virtual Machine Management. I > choose "Run an OS installation program" to get the guest Suse 10.1 > installed. It lists the installation device as CD/DVD (/dev/hdc). I > have Disk 1 of Suse 10.1 in CD, but get an error in "preparing > installation of the virtual machine" listing "Failed to extract the > kernel from the installation source.">From my point of view the SuSE 10.1 XEn Installation way is totallyunuseable. I''ve tried it several times, but it didn''t worked. To install SuSE 10.1 the easiest way is to create a new partition (with LVM), tar the whole / (including all sudirs) to the new directory and use a config like this: # configuration name: name = "vm1" # usable ram: memory = 512 # kernel und initrd: kernel = "/boot/vmlinuz-xen" ramdisk = "/boot/initrd-xen" # boot device: root = "/dev/hda1" # boot to run level: extra = "3" # network interface: vif = vif = [ ''mac=00:16:3e:a1:de:dd'' ] # storage devices: disk = [ ''phy:LVM1/vm1,hda1,w'' ] It my case it worked. I never figured ou how to install SuSE10XEN via Yast... Jan _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tijl Van den Broeck
2006-Jun-02 09:41 UTC
Re: [Xen-users] Suse 10.1 Virtual Machine Management
Indeed, I had to do something like that as well. The yast module is still not quite usable. You can always try the "yast dirinstall", which will prepare a chrootable environment for you, which can also be used for Xen with some modifications. Mount your file/disk on /var/tmp/dirinstall and run the module and pray it works. It might give a segfault on a x86_64 system (as it did with one of my machines, but in i686 it should work). If it works, it is self-explaining and you can''t do anything wrong. When done, copy /etc/passwd and shadow if necessary and modify the domU''s network script according to your needs (dhcp/static). Unmount the system and boot it. If that doesn''t work you can use Jan''s instructions and a copy of your domU or of another OpenSUSE10.1 system is recommendable (don''t forget to chroot into it and change the startup scripts before booting the domU, you don''t want to start xend in your domU :)) greetings Tijl Van den Broeck On 6/2/06, Jan Albrecht <jan.albrecht@gmail.com> wrote:> >From my point of view the SuSE 10.1 XEn Installation way is totally > unuseable. I''ve tried it several times, but it didn''t worked. > To install SuSE 10.1 the easiest way is to create a new partition (with > LVM), tar the whole / (including all sudirs) to the new directory and > use a config like this: > > # configuration name: > name = "vm1" > # usable ram: > memory = 512 > # kernel und initrd: > kernel = "/boot/vmlinuz-xen" > ramdisk = "/boot/initrd-xen" > # boot device: > root = "/dev/hda1" > # boot to run level: > extra = "3" > # network interface: > vif = vif = [ ''mac=00:16:3e:a1:de:dd'' ] > # storage devices: > disk = [ ''phy:LVM1/vm1,hda1,w'' ] > > It my case it worked. I never figured ou how to install SuSE10XEN via > Yast... > > Jan > > > _______________________________________________ > 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
Tijl Van den Broeck wrote:> If that doesn''t work you can use Jan''s instructions and a copy of your > domU or of another OpenSUSE10.1 system is recommendable (don''t forget > to chroot into it and change the startup scripts before booting the > domU, you don''t want to start xend in your domU :))My fault: I did a "dirinstall" via yast, not via xen module and used it with the config I''ve already sent to the list. The yast-xen module produces a unuseable xen config. Sorry again, not enough coffee this morning... Jan _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Friday 02 June 2006 00:47, Bernard Golden wrote:> I am trying to install new domu via Yast Virtual Machine Management. I > choose "Run an OS installation program" to get the guest Suse 10.1 > installed. It lists the installation device as CD/DVD (/dev/hdc). I have > Disk 1 of Suse 10.1 in CD, but get an error in "preparing installation of > the virtual machine" listing "Failed to extract the kernel from the > installation source." > > I also have .iso files on hard drive. I attempt to point virtual machine > installation there. An error comes back "Failed to extract the kernel from > the installation source. Please check that your installation source is > accessible." > > Can anyone give me a pointer toward what I need to do to take advantage of > the Suse VMM install? >I have used the SUSE 10.1 YAST Xen installation module several times. I believe you need to download the SUSE 10.1 installation tree and make it available via NFS so that the domU can access the installation source during it''s installation procedure. The installation tree is available at http://download.opensuse.org/distribution/SL-10.1/inst-source/ but use a mirror closer to you. It seems that in SUSE 10.1 the Xen installation module creates sparse image files for the disks that the domU will see, and then starts the standard non-graphical installation method for the domU in a shell window in dom0. HTH, Steve.> > Bernard Golden > Chief Executive Officer, Navica > www.navicasoft.com <http://www.navicasoft.com/> > Author, "Succeeding with Open Source," Addison-Wesley, 2005 > (T) 650 585 5309 (C) 650 400 3204 (F) 650 591 3805 > Sign up <http://www.navicasoft.com/pages/newslform2.htm> for Navica''s > monthly open source newsletter > Read <http://blogs.cio.com/node/269> my open source blog for CIO Magazine_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Friday 02 June 2006 00:47, Bernard Golden wrote:> I am trying to install new domu via Yast Virtual Machine Management. I > choose "Run an OS installation program" to get the guest Suse 10.1 > installed. It lists the installation device as CD/DVD (/dev/hdc). I have > Disk 1 of Suse 10.1 in CD, but get an error in "preparing installation of > the virtual machine" listing "Failed to extract the kernel from the > installation source." > > I also have .iso files on hard drive. I attempt to point virtual machine > installation there. An error comes back "Failed to extract the kernel from > the installation source. Please check that your installation source is > accessible." > > Can anyone give me a pointer toward what I need to do to take advantage of > the Suse VMM install? >I have used the SUSE 10.1 YAST Xen installation module several times. I believe you need to download the SUSE 10.1 installation tree and make it available via NFS so that the domU can access the installation source during it''s installation procedure. The installation tree is available at http://download.opensuse.org/distribution/SL-10.1/inst-source/ but use a mirror closer to you. It seems that in SUSE 10.1 the Xen installation module creates sparse image files for the disks that the domU will see, and then starts the standard non-graphical installation method for the domU in a shell window in dom0. HTH, Steve.> > Bernard Golden > Chief Executive Officer, Navica > www.navicasoft.com <http://www.navicasoft.com/> > Author, "Succeeding with Open Source," Addison-Wesley, 2005 > (T) 650 585 5309 (C) 650 400 3204 (F) 650 591 3805 > Sign up <http://www.navicasoft.com/pages/newslform2.htm> for Navica''s > monthly open source newsletter > Read <http://blogs.cio.com/node/269> my open source blog for CIO Magazine_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users