HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   [Xen] Debian 6.0 domU inside a CentOS 5.6 system (http://www.howtoforge.com/forums/showthread.php?t=53178)

Balbuzard 22nd June 2011 14:59

[Xen] Debian 6.0 domU inside a CentOS 5.6 system
 
Hello,

I'm not sure this is the good place for this post, so don't hesitate to move it to the appropriate section if necessary

I'm trying to install a debian squeeze on a xenified CentOS.

The installation of dom0 wen well and xm list returns correctly.

for the domU, I have tried this:

-> debootstrap vm.img (on a Debian system)
-> copy this image vm.img on the CentOS
-> mount it to configure the domU with mount -o loop /vm/vm.img /mnt/image
-> chroot on it, (chroot /mnt/image) installation of linux-image
-> Copy the initrd and vmlinuz from domU:/boot/ to CentOS:/boot/
-> Put these paths to the vm.cfg configuration file

These steps done, I have tried to actually create the domU
xm create /etc/xen/vm.cfg -c

And the dom0 reboots!!!!??

I really don't know what to this about this.
If I follow the same steps, but without installing the linux-image inside the domU, there is a domU-kernel-panic because the system can't find the appropriate filessytem for /

Is there any way to achieve what I want, or it is totally impossible?
Does anyone have any idea to help me fixing this?

Thank you a lot for your help, and don't hesitate to ask for any complementary details I can provide.

falko 23rd June 2011 16:00

Have you tried to create the vm with virt-install, as shown here? http://www.howtoforge.com/paravirtua...-5.6-x86_64-p2


All times are GMT +2. The time now is 13:25.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.