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: Tomas Florian <tflorian@xxxxxxxxx>
Subject: Re: [Xen-users] boot existing OS
From: Peter van Eck <peter@xxxxxxxxxxxxxxxx>
Date: Thu, 19 Jan 2006 16:24:38 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 19 Jan 2006 15:34:39 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <43CEA659.3090402@xxxxxxxxx>
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> <43CEA659.3090402@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5 (X11/20051201)

Hi Tomas,

I did set it the way you explained it but it still panics...


Waiting for device /dev/hda5 to appear:  ok
rootfs:  major=3 minor=5 devn=773
Mounting root /dev/hda5
mount: No such device
Kernel panic - not syncing: Attempted to kill init!

thanks,

Peter



Tomas Florian wrote:
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


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