LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices



Reply
 
Search this Thread
Old 03-31-2010, 10:57 PM   #1
umwai
Member
 
Registered: May 2008
Location: Sri Lanka
Distribution: Ubuntu
Posts: 57
Blog Entries: 1

Rep: Reputation: 16
Question Can I boot ubuntu 9.10 from xen


Hi, I've installed xen in my computer on debian(lenny). And I have installed ubuntu 9.10 in a separate partition. So what I want to know is can I boot ubuntu 9.10 as a virtual machine from inside debian using xen ?
 
Old 04-01-2010, 04:32 PM   #2
rmasci
LQ Newbie
 
Registered: Jun 2005
Posts: 14

Rep: Reputation: 0
I don't believe you can do this as Xen is going to look for a file that represents the hard disk in the settings. What I usually do in this situation would be to get rid of the Ubuntu second partition, mount that as a drive to store Xen images, and run Ubuntu as a virtual machine.
 
Old 04-02-2010, 05:46 PM   #3
jrdouglas
LQ Newbie
 
Registered: Oct 2009
Posts: 4

Rep: Reputation: Disabled
You *might* be able to do this if you installed a paravirtualized kernel in ubuntu and booted it in PV mode instead of FV mode (PV doesn't technically require a full disk). You'd also have to make sure that you passed the ubuntu partition to the VM as a partition instead of as a full disk. For example, your disk line might look something like this:

disk = [ 'phy:/dev/sda3,sda3,w' ]

However, even with these changes you'd probably still run into problems with configuration settings for video, network, fstab, etc., that will make this a less than ideal thing to do.
 
  


Reply

Tags
virtualization, xen


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Xen 3.3.1 port to Ubuntu Intrepid Server via Novell’s Xen-ified kernel 2.6.27.5 LXer Syndicated Linux News 0 01-29-2009 08:42 PM
LXer: Setup Xen 3.3.0 Ubuntu Intrepid Server Dom0 via build xen-kernel based on http: LXer Syndicated Linux News 0 01-03-2009 06:50 PM
LXer: Setup Xen 3.3.0 Ubuntu Intrepid Server Dom0 via build xen-kernel based on http: LXer Syndicated Linux News 0 01-03-2009 03:50 PM
LXer: Setup Xen 3.3.0 Ubuntu Intrepid Server Dom0 via build xen-kernel based on http: LXer Syndicated Linux News 0 01-03-2009 01:00 PM
LXer: Backport Intrepid Xen 3.3 Hypervisor to Ubuntu Hardy Dom0 (2.6.24-21-xen) LXer Syndicated Linux News 0 11-13-2008 07:11 PM


All times are GMT -5. The time now is 04:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration