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

[Xen-users] Debian HVM DomU won't boot

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Debian HVM DomU won't boot
From: Sergio Belkin <sebelk@xxxxxxxxx>
Date: Wed, 27 Jan 2010 21:11:46 -0300
Delivery-date: Wed, 27 Jan 2010 16:12:25 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=7EPcTKbUqjiC3holDfS/6JXrAajwnJD+dCpxN3R5BZg=; b=GVuHIcbZyW6CwGyKi/eH/GfefPEfb/RetM4VneBXaeN2NHkRU9V9KUmlUyDarEN5SI Mgdj639IflvLYnW8tuFAyOZt1c5oj9smRmoGxd/1zSLzDMDldsoYQ5cvnYdTrtWx4yyQ k1hNXn7vnvt5QmJwlFoeeSAJFZCZvSEOBMq2U=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=OHj8bHDGJPD/oAOHFqfEbdz7Ko6tI3I+H+JOJitZUX7FrrW/3ughnQdvZTT2ID6xPT g8ycazcPuxaHXU8mwzJ0PxWDJ/8Lo7KtW2RUqxp0SA91YeLy9j37pS3q6yFMQ6uvZIXu IASlOxF9z/nQ0y9MrIrfGx9mbQVznPl09WM8c=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi, I use Centos 5.4 x86_64

kernel used is 2.6.18-164.11.1.el5xen

I have a physical machine running Debian Etch (32 bit) and Debian
Lenny and I virtualized the first one as follows:

*Created a HVM DomU with Virt-Manager with a virtual disk file of 40000 M
*Boot from LiveCD, and created a swap and a ext3 partitions (Yes, very
simple layout).
*Rsync'd files from root partition of physical machine to partition
mounted on LiveCD on DomU.
*Chrooted and edited files /boot/grub/menu.lst, /etc/fstab, etc/mtab,
/boot/grub/device.map.
*Then I rebooted from hard disk and stay freezed with the message
"booting from hard disk" . But it doesn't boot at all from hard disk.

I can boot using grub-rescue-cdrom, but if I try to install grub with
grub-install it outputs:


"The file /boot/grub/stage1 not read correctly"

(I've tried --recheck option, and depmod and update-grub commands with
no success)


Output of file command on virtual disk file is:

/virtuales/videodisk.img: x86 boot sector; partition 1: ID=0x82,
starthead 1, startsector 63, 4273227 sectors; partition 2: ID=0x83,
active, starthead 0, startsector 4273290, 77626080 sectors

The DomU file is:

DomU (file):

name = "video"
uuid = "54d25d78-b9d0-0159-542c-bb601cc936bb"
maxmem = 1024
memory = 512
vcpus = 1
builder = "hvm"
kernel = "/usr/lib/xen/boot/hvmloader"
boot = "d"
pae = 1
acpi = 1
apic = 1
localtime = 0
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
device_model = "/usr/lib64/xen/bin/qemu-dm"
sdl = 0
vnc = 1
vncunused = 1
keymap = "es"
disk = [ "file:/virtuales/videodisk.img,hda,w",
"file:/virtuales/isos/grub-rescue-cdrom.iso,hdc:cdrom,r" ]
vif = [ "mac=00:16:36:0b:24:2d,bridge=xenbr0,script=vif-bridge" ]
parallel = "none"
serial = "pty"
EOF



With grub-rescue cd DomU can boot but as I've said can't install grub
and loads also loopback interface.


Please could you tell me what I am doing wrong?

Thanks in advance!!

-- 
--
Open Kairos http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
Sergio Belkin -

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Debian HVM DomU won't boot, Sergio Belkin <=