a s p a s i a
2008-Jun-18  00:03 UTC
[Xen-users] Install Ubuntu Feisty DomU on Ubuntu Hardy Dom0
Hello all,
I needed to configure an Ubuntu7, Ubuntu8 and Gentoo 2007 server
environment, so thought Id simply create a Hardy Dom0, which I have.
1.  Using steps described in How2forge, I have an Ubuntu804 (Hardy)
DomU installed on a Dom0 Hardy (Hardy on a Hardy)
2.  I googled for other instructions that would have outlined how to
install a different kernel (Feisty on a Hardy) Xen guest on a
different Dom0 (Hardy) .. I found this site that describes how that
shows 2 examples of installing a feisty and gusty DomU on a Feisty
Dom0:
http://www.howtoforge.com/ubuntu-7.10-server-install-xen-from-ubuntu-repositories-p2
3.  I followed the example on how to create a gutsy DomU on a feisty:
http://www.howtoforge.com/ubuntu-7.10-server-install-xen-from-ubuntu-repositories-p2
This is what I attempted to do - installing a 7.10 Xen DomU on a Hardy Dom0:
 xen-create-image --hostname=fedora710_clean --size=4Gb --swap=256Mb
--ide --dhcp --dir=/home/xen --memory=256Mb --arch=amd64 --debootstrap
--dist=feisty --install --mirror=http://archive.ubuntu.com/ubuntu/
Unknown option: debootstrap
Value "--mirror=http://archive.ubuntu.com/ubuntu/" invalid for option
install (number expected)
General Information
--------------------
Hostname       :  fedora710_clean
Distribution   :  feisty
Partitions     :  swap            256Mb (swap)
                  /               4Gb   (ext3)
Image type     :  sparse
Memory size    :  256Mb
Kernel path    :  /boot/vmlinuz-2.6.24-16-xen
Initrd path    :  /boot/initrd.img-2.6.24-16-xen
QUESTION - it is still using the default kernel defined in the
/etc/xen-tools/xen-tools.conf which is the kernel and initrd files of
the host machine -
Kernel path    :  /boot/vmlinuz-2.6.24-16-xen
Initrd path    :  /boot/initrd.img-2.6.24-16-xen
Feisty''s kernel is: not 2.6.24, right?
Am I missing something here?  Am a noob to xen, so please excuse if
this is such an obvious and simple question.
aspasia.
-- 
A S P A S I A
. . . . . . . . . . ..
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Todd Deshane
2008-Jun-18  03:35 UTC
Re: [Xen-users] Install Ubuntu Feisty DomU on Ubuntu Hardy Dom0
On Tue, Jun 17, 2008 at 8:03 PM, a s p a s i a <aspasia.sf@gmail.com> wrote:> Hello all, > > I needed to configure an Ubuntu7, Ubuntu8 and Gentoo 2007 server > environment, so thought Id simply create a Hardy Dom0, which I have. > > 1. Using steps described in How2forge, I have an Ubuntu804 (Hardy) > DomU installed on a Dom0 Hardy (Hardy on a Hardy) > > 2. I googled for other instructions that would have outlined how to > install a different kernel (Feisty on a Hardy) Xen guest on a > different Dom0 (Hardy) .. I found this site that describes how that > shows 2 examples of installing a feisty and gusty DomU on a Feisty > Dom0: > > http://www.howtoforge.com/ubuntu-7.10-server-install-xen-from-ubuntu-repositories-p2 > > 3. I followed the example on how to create a gutsy DomU on a feisty: > http://www.howtoforge.com/ubuntu-7.10-server-install-xen-from-ubuntu-repositories-p2 > > This is what I attempted to do - installing a 7.10 Xen DomU on a Hardy Dom0: > > xen-create-image --hostname=fedora710_clean --size=4Gb --swap=256Mb > --ide --dhcp --dir=/home/xen --memory=256Mb --arch=amd64 --debootstrap > --dist=feisty --install --mirror=http://archive.ubuntu.com/ubuntu/ > Unknown option: debootstrap > Value "--mirror=http://archive.ubuntu.com/ubuntu/" invalid for option > install (number expected) > > General Information > -------------------- > Hostname : fedora710_clean > Distribution : feisty > Partitions : swap 256Mb (swap) > / 4Gb (ext3) > Image type : sparse > Memory size : 256Mb > Kernel path : /boot/vmlinuz-2.6.24-16-xen > Initrd path : /boot/initrd.img-2.6.24-16-xen > > > > QUESTION - it is still using the default kernel defined in the > /etc/xen-tools/xen-tools.conf which is the kernel and initrd files of > the host machine - > > Kernel path : /boot/vmlinuz-2.6.24-16-xen > Initrd path : /boot/initrd.img-2.6.24-16-xen > > Feisty''s kernel is: not 2.6.24, right? > > Am I missing something here? Am a noob to xen, so please excuse if > this is such an obvious and simple question. >I would recommend using debootstrap and rinse manually first so you get a sense of what they are doing. It is the hard way, but it will teach you more in the long run. This is still a work in progress, but it should get you started, give you some ideas: http://deshantm.livejournal.com/29959.html I would also recommend a book that I am a co-author of, it''s called "Running Xen". Cheers, Todd _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users