On 12/04/12 16:20, WANG Siyuan wrote: > Hi, > I have built > OVMF( > http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=How_to_run_OVMF > ) > and run in qemu. a uefi shell could start. > but, It seems that OVMF can't boot an OS. I use ubuntu CD image and > archlinux hard drive image. both of them could not boot. > Then, how to boot an OS with OVMF?
(1) If you have not installed the Arch Linux guest with Arch Linux' UEFI installer <https://wiki.archlinux.org/index.php/UEFI>, then you have approx. zero chance to boot the image from OVMF. The installer must install an UEFI boot loader. The installers I know of base their decisions whether to install a BIOS or UEFI boot loader (& to create the boot partition accordingly) on the current boot firmware. IOW, if you want to end up with an OVMF-bootable guest, you should probably boot the installer ISO under OVMF too. (2) What version of Ubuntu ISO are you trying? The installer ISO must explicitly support UEFI installation. Minimal googling turned up <https://help.ubuntu.com/community/UEFI>. (3) Yet another description you might find useful: <http://www.linux-kvm.org/page/OVMF>. (4) Can you access the ISO image in OVMF? Type "exit" in the UEFI shell, and select Boot Maintenance Manager | Boot Options | Add Boot Option on the text UI. Can you select the virtual CD-ROM device there (I assume IDE) and then browse the ISO? You should navigate to "EFI\BOOT\BOOTX64.EFI". Laszlo ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel