I have a Domain0 up and running with no issues and can start a DomU setup for ttylinux with no problems. However, I took a Jailtime.org image for Centos5.2 and tried to run it as a DomainU and am able to see everything start and then I get "Freeing unused kernal memory: 196k freed; Restarting System". After that I am returned to the terminal prompt. I believe that I should see a new terminal window open up with Centos52 running? I run xentop and see the new Centos5.2 Domain U running in the list. Thoughts on what I am missing? thanks. Stephen Spector _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, Mar 12, 2009 at 2:14 AM, Stephen Spector <stephen.spector@citrix.com> wrote:> I have a Domain0 up and running with no issues and can start a DomU setup > for ttylinux with no problems. However, I took a Jailtime.org image for > Centos5.2 and tried to run it as a DomainU and am able to see everything > start and then I get "Freeing unused kernal memory: 196k freed; Restarting > System". After that I am returned to the terminal prompt.Probably incorrect initrd. What dom0 are you using? For beginners, it''s a lot easier to use "native" methods. If it''s Centos or opensolaris dom0 the easiest thing is to install domU with virt-install. IMHO jailtime.org images are for "expert" use :) Regards, Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar: I am running Ubuntu 7.10 as my Dom0. Xen 3.3.1 using the latest source code from the Xen.org download page. I realize that Ubuntu is a bit trickier than other Dom0 packages so I choose it on purpose. I was able to run Fedora last year and easily bring up DomU with the simple UI, etc so this time, I want to learn the hard way and do things by hand. I will look at initrd. Thanks. Stephen On Thu, Mar 12, 2009 at 2:14 AM, Stephen Spector <stephen.spector@citrix.com> wrote:> I have a Domain0 up and running with no issues and can start a DomU setup > for ttylinux with no problems. However, I took a Jailtime.org image for > Centos5.2 and tried to run it as a DomainU and am able to see everything > start and then I get "Freeing unused kernal memory: 196k freed; Restarting > System". After that I am returned to the terminal prompt.Probably incorrect initrd. What dom0 are you using? For beginners, it''s a lot easier to use "native" methods. If it''s Centos or opensolaris dom0 the easiest thing is to install domU with virt-install. IMHO jailtime.org images are for "expert" use :) Regards, Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, Mar 12, 2009 at 8:48 PM, Stephen Spector <stephen.spector@citrix.com> wrote:> I want to learn the hard way and do things by hand. > > I will look at initrd. Thanks.I didn''t notice your email address on the first reply :D So out of curiosity, I tried http://jailtime.org/download:centos64:v5.2. At first glance it''s setup is not quite the same as mine, in that it uses dom0''s kernel. So what I did to get it working was : - untar the tbz2 - copy the contents of the .img file to a LV with rsync -avP (I always use LVM-backed storage) - mount the LV, chroot - create /etc/resolv.conf #=====================nameserver NAME_SERVER_IP_ADDRESS_HERE #===================== - create /etc/modprobe.conf #=====================alias eth0 xennet alias scsi_hostadapter xenblk #===================== - yum -y install kernel-xen vim-enhanced grub (this will also create a suitable initrd, since I already create a suitable /etc/modprobe.conf) - create /boot/grub/menu.lst #=====================default=0 timeout=5 hiddenmenu title xen-domU root (hd0,0) kernel /boot/vmlinuz-2.6.18-92.1.22.el5xen ro root=/dev/sda1 initrd /boot/initrd-2.6.18-92.1.22.el5xen.img #===================== - edit /etc/inittab, add "co:2345:respawn:/sbin/agetty xvc0 9600 vt100-nav" - edit /etc/securetty, add "xvc0" - exit chroot, umount LV - create domU config #=====================memory = "500" maxmem = "8000" vcpus=8 vcpu_avail=1 cpus="1-7" disk = [ ''phy:/dev/rootVG/testlv,sda1,w'', ] vif = [ ''mac=00:16:3E:42:5E:16, bridge=xenbr0'', ] bootloader="/usr/bin/pygrub" #===================== - xm create -c That''s about it, I can login with user "root", password "password" Regards, Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users