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] Converting Debian Lenny HVM DomU to PV on Lenny Dom0 -

To: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Converting Debian Lenny HVM DomU to PV on Lenny Dom0 - PV DomU hangs during boot
From: Matej Zary <zary@xxxxxxxxx>
Date: Sat, 27 Feb 2010 16:02:40 +0100
Accept-language: en-US
Acceptlanguage: en-US
Delivery-date: Sat, 27 Feb 2010 07:03:55 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <6894a6471002270628o5fca4bcfy7ea6cbf691b9012c@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <5DB0519124BB3D4DBEEB14426D4AC7EA17ADB966A4@xxxxxxxxxxxxxxxxxxxxx> <6894a6471002270628o5fca4bcfy7ea6cbf691b9012c@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acq3uS9IrItzAtBMTMu9KuMabkgy5QAA9iNQ
Thread-topic: [Xen-users] Converting Debian Lenny HVM DomU to PV on Lenny Dom0 - PV DomU hangs during boot
Many thanks, works like charm!



Lenny DomU /etc/inittab:

Replaced  1:2345:respawn:/sbin/getty 38400 tty1 with 1:2345:respawn:/sbin/getty 
38400 hvc0


Regards

Matej

-----Original Message-----
From: David [mailto:admin@xxxxxxxxxxx] 
Sent: Saturday, February 27, 2010 3:29 PM
To: Matej Zary
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Converting Debian Lenny HVM DomU to PV on Lenny Dom0 - 
PV DomU hangs during boot

You need to add /dev/hvc0 to your /etc/inittab as a console.


On 27 February 2010 14:18, Matej Zary <zary@xxxxxxxxx> wrote:


        Hi guys,
        
        maybe I'm too sleep deprived or just dumb, but can't get it working 
(using standard Lenny Xen 3.2.1 and Xen kernel 2.6.26-2-xen-amd64 - will move 
to another later) :(.
        
        Steps (inspiration taken from 
http://www.asplund.nu/xencluster/xen-convert-hvm-to-pvm.html):
        
        1. Created HVM Debian Lenny amd64 DomU with img file as hda (standard 
netinst installation without LVM and with everything in /).
        2. Installed Debian xen kernel in this DomU via aptitude.
        3. Created two LVMs in Dom0 for the PV (one with ext3 for / and second 
one for swap)
        4. rsynced everything from / of HVM DomU from the hda img file to the 
ext3 LVM (using losetup and kpartx)
        5. changed /etc/fstab in the LVM to xvda1 and xvda2
        6. Created PV DomU  and experienced  hang during boot (see attached txt 
logs - boot log and PV cfg file)
        
        Bad initrd?
        
        Many thanks for your help.
        
        Regards
        
        Matej
        
        _______________________________________________
        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

<Prev in Thread] Current Thread [Next in Thread>