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] GRUB stopped working in xen (hvm, qemu-dm)

To: Karsten von Hornbostel <perlmeister@xxxxxxxx>
Subject: Re: [Xen-users] GRUB stopped working in xen (hvm, qemu-dm)
From: Todd Deshane <todd.deshane@xxxxxxx>
Date: Wed, 15 Jun 2011 20:20:19 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 15 Jun 2011 17:21:25 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=rLSSHSN2gzHFvZcb2TPmQ7kA9QxqVbZ2OkpANKVxcFQ=; b=sfzM2nLG7/ik/K9rY8VdlEAudxn1IwMR31mnSUfX3NYPcE3BKhMLLu2UfjTIxyFXDE kHhduSvnVoegXc16ofSC2A8wuIDMj8ddkTlJB0JtOwtBP0W2TLQBCu5qM9rwLjY1SoaT ZPXVG7oL0HYt5LWosBy4txov5FyIx6JAxugWI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=pueli2Utc03D7/sd7Uv+cbB+nw2VXLwsiJhIKD1jCNyTmVa6SMY0PMprYMWgLsjD+Z NtEFjyALnZN2Pc9Ax0iVtSHntMK/sLrs7yyBDO4zhwAFDM5JmDNbn3tq9dnATltwpNfK 4mXK+2SsLtaS/q6sfCbDbINpUgNXdLzMpILdc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <378041.64529.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <378041.64529.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, Jun 15, 2011 at 5:14 AM, Karsten von Hornbostel
<perlmeister@xxxxxxxx> wrote:
> Hi,
>
> first of all, my name is Karsten and I am fairly new to xen. A former 
> colleague
> of mine has set up a xen dom0 with 4 virtual machines runnig on it. A few 
> months
> ago this colleague left the company. Last week our office Building has been 
> hit
> by a lightning wich resulted in an power blackout.
>
bad luck for sure.

> After the power went back again, the system booted and all but one of the
> virtual machines went back. The virtual machine that did not went back seems 
> not
> to be able to boot, i see some kind of grub error. The console of this machine
> prints out:
>
> =====
> Plex86/Bochs VGABios current-cvs 07 Jun 2008
> This VGA/VBE Bios is released under the GNU LGPL
> Please visit :
>  * http://bochs.soureeferge.net
>  * http://www.nongnu.org/vgabios
> cirrus-compatible VGA is detected
> HVMAssist BIOS, 1 Cpu, $Revision: 1.138 $ $Date: 2005/05/07 15:55:26 $
> ata0 master: QEMU HARDDISK ATA-7 Hard-Disk (35840 MBgtes)
> ata0 slave: Unknown device
> ata1 master: masteri QEMU CD-ROM ATAPI-4 CD-Rom/DVD-Rom
> ata1 slave: Unknown device
> Booting from Hard Disk...
> GRUB GRUB _
> =====
>
> After this, the boot process hangs and the vm seems to be verry busy, CPU goes
> up to 100%.
>
> The host system seems to be OpenSuSE 11.0, while the virtual machine is 
> running
> debian 4.0.
>
> The configuration of this virtual machine:
>
> ====
> erde:/ # cat /etc/xen/vm/VM4
> name="VM4"
> uuid="67896e91-b77f-edcc-48c8-ef3016821ecd"
> memory=512
> vcpus=2
> on_poweroff="destroy"
> on_reboot="restart"
> on_crash="destroy"
> localtime=0
> builder="hvm"
> extid=0
> device_model="/usr/lib/xen/bin/qemu-dm"
> kernel="/usr/lib/xen/boot/hvmloader"
> boot="c"
> disk=[ 'file:/var/lib/xen/images/VM4/disk0,hda,w', 
> 'phy:/dev/cdrom,hdc:cdrom,r',
> ]
> vif=[ 'mac=00:16:3e:62:62:80,model=rtl8139,type=ioemu', ]
> stdvga=0
> vnc=1
> vncunused=1
> apic=0
> acpi=1
> pae=1
> serial="pty"
> ====
>
> I tried to attach the DomU disk image of this machine to Dom0 using xm
> bock-attach and it worked. All files are there, e2fsck did not find any 
> errors.
>
> So my question is, how can i recover this virtual machine? I there a chance to
> re-install grub? What is the meaning of this "GRUB GRUB" printed out by grub?
>

Looks like the master boot record got messed up and/or grub is broken.
You can boot your domU guest from a live CD by changing the boot
parameter to:

boot="dc"
and adding a ISO file for a cdrom drive

see an example here:
http://www.novell.com/communities/node/3046/how-boot-paravirtual-xen-domu-cd-rom-or-iso-sles-10-sp1-or-opensuse-103

Thanks,
Todd

> Thanks in advance,
> Karsten
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>



-- 
Todd Deshane
http://www.linkedin.com/in/deshantm
http://www.xen.org/products/cloudxen.html
http://runningxen.com/

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

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