WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] boot existing OS

To: Peter <peter@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] boot existing OS
From: Tomas Florian <tflorian@xxxxxxxxx>
Date: Wed, 18 Jan 2006 13:34:33 -0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 18 Jan 2006 20:42:24 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <43CE9345.6090108@xxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <43CE2351.6010306@xxxxxxxxxxxxxxxx> <43CE7D20.70005@xxxxxxxxx> <43CE9345.6090108@xxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5 (Windows/20051201)
Ok for example ... let's say I have linux installed on

hda1 /
hda2 swap

now if I want to virtualize it ... I have to match the partitions

hda1 -> hda1
hda2 -> hda2

... so this was too easy ... so a harder one (with 2 systems running on 1 physical drive):

hda1 /  (system1)
hda2 swap (system1)
hda3 / (system2)
hda4 swap (system2)

now the mapping is
hda1 -> hda1
hda2 -> hda2
hda3 -> hda1 hda4 -> hda2

Hope that helps.



Well after I started experimenting with Xen I got so confused on the virtual device part that I tried several , not in use, special files in /dev.

The kernel still panics as soon as it trying to mount the root /filesystem..

As I'm still confused on the virtual devices part would someone careto explain to me how I should interpret this when using partitions ? In my example how do I pick the virtual root filesystem for the guest root filesystem I try to boot ?

thanks,

Xen "newbie" Peter




_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users