Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 22nd June 2011, 15:59
Balbuzard Balbuzard is offline
Junior Member
 
Join Date: Mar 2009
Posts: 25
Thanks: 1
Thanked 0 Times in 0 Posts
Default [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.
Reply With Quote
Sponsored Links
  #2  
Old 23rd June 2011, 17:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
 
Default

Have you tried to create the vm with virt-install, as shown here? http://www.howtoforge.com/paravirtua...-5.6-x86_64-p2
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How To Set Up Software RAID1 On A Running System (Incl. GRUB Configuration) (Debian E Pasco HOWTO-Related Questions 7 8th December 2012 18:32
Proftpd + MySQL virtual users, can't connect geekman HOWTO-Related Questions 28 27th September 2010 19:03
Move from Debian to CentOS Tripple Installation/Configuration 1 11th April 2008 10:54
Installing Debian Etch From a Windows System - Error bluegrass Installation/Configuration 2 24th October 2007 08:28
Bind Failed christoph2k HOWTO-Related Questions 4 28th April 2007 01:57


All times are GMT +2. The time now is 00:54.


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