Received: from eggs.gnu.org ([2001:4830:134:3::10]:43006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFMSu-0007wd-B1 for qemu-devel@nongnu.org; Fri, 30 Aug 2013 07:02:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VFMSo-0001K5-Av for qemu-devel@nongnu.org; Fri, 30 Aug 2013 07:02:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:27345) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFMSo-0001J4-4A for qemu-devel@nongnu.org; Fri, 30 Aug 2013 07:02:02 -0400 Date: Fri, 30 Aug 2013 19:01:53 +0800 From: Fam Zheng Message-ID: <20130830110153.GA7392@T430s.nay.redhat.com> References: <52203B8D.5030507@kamp.de> <52203DAC.4040206@redhat.com> <52203F0A.4070204@kamp.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52203F0A.4070204@kamp.de> Subject: Re: [Qemu-devel] Qemu Booting a PC without an MBR? Reply-To: famz@redhat.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Lieven Cc: Paolo Bonzini , "qemu-devel@nongnu.org" On Fri, 08/30 08:43, Peter Lieven wrote: > On 30.08.2013 08:37, Paolo Bonzini wrote: > >Il 30/08/2013 08:28, Peter Lieven ha scritto: > >>Hi all, > >> > >>today I had the second incidence of a migrated system (copied with DD) > >>to qemu which won't boot. (stuck after booting from harddisk message). > >> > >>Looking at sector 0 I found out that it does not have an MBR. It seems > >>that real hardware and I was told also vmware can cope with this. > >Maybe because it's got a UEFI bootloader? In this case, you could try > >using OVMF as the firmware with the -bios command-line option. > I will try, thanks for the pointer. > > It seems that the partition marked as boot has a boot loader though. > As a simple workaround you could boot with a GRUB iso and chainload the partition, when you are in the guest OS, fix the MBR. Fam