[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-users] Converting Debian Lenny HVM DomU to PV on Lenny Dom0 - PV DomU hangs during boot


  • To: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.