[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] osx bootloader
From: |
Gabriel L. Somlo |
Subject: |
Re: [Qemu-devel] osx bootloader |
Date: |
Wed, 29 Jan 2014 09:53:44 -0500 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Wed, Jan 29, 2014 at 12:29:17PM +0100, BALATON Zoltan wrote:
> I've also found this:
> http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=OvmfPkg
> which might be what we need for using Apple's boot.efi but I don't
> know how ready is it and if it works with OS X.
I managed to boot OVMF following their wiki; It seems to work with kvm
enabled, but not with -M q35. My current command line is:
bin/qemu-system-x86_64 -enable-kvm -m 2048 -cpu core2duo \
-usb -device usb-kbd -device usb-mouse \
-device isa-applesmc,osk="..." \
-hda mlion_hdd.img
after having replaced bios.bin and vgabios-cirrus.bin with the OVMF
files.
It obviously fails to boot OS X (now THAT would have been a surprise!)
but at least it detects the hard disk:
fs0 :HardDisk - Alias hd12a1 blk0
PciRoot(0x0)/Pci(0x1,0x1)/Ata(Primary,Master,0x0)/HD(1,GPT,BA0DB2B5-2270-4749-B794-BC005BEC1863,0x28,0x64000)
I poked around the "boot maintenance manager" a bit, and "boot from
file" looked promising -- I was hoping to navigate straight to
/System/Library/CoreServices/boot.efi and just hit "Enter", but was
only able to see an empty folder hierarchy:
EFI/
APPLE/
EXTENSIONS/
.Trashes/
501/
So I guess I have a bit more RTFM ahead of me. Maybe I can find a way
to copy boot.efi over to the actual EFI partition, which I assume is
the only one I can explore with OVMF from the entire disk image...
Thanks again,
--Gabriel
- Re: [Qemu-devel] OSX guest vs. kvm ioapic polarity, (continued)
- Re: [Qemu-devel] OSX guest vs. kvm ioapic polarity, Alexander Graf, 2014/01/29
- Re: [Qemu-devel] OSX guest vs. kvm ioapic polarity, Gabriel L. Somlo, 2014/01/30
- [Qemu-devel] osx bootloader, Gabriel L. Somlo, 2014/01/28
- Re: [Qemu-devel] osx bootloader, BALATON Zoltan, 2014/01/28
- Re: [Qemu-devel] osx bootloader, Gabriel L. Somlo, 2014/01/28
- Re: [Qemu-devel] osx bootloader, BALATON Zoltan, 2014/01/29
- Re: [Qemu-devel] osx bootloader,
Gabriel L. Somlo <=
- Re: [Qemu-devel] osx bootloader, Alexander Graf, 2014/01/29
- Re: [Qemu-devel] osx bootloader, BALATON Zoltan, 2014/01/29
- Re: [Qemu-devel] osx bootloader, BALATON Zoltan, 2014/01/31
- Re: [Qemu-devel] osx bootloader, BALATON Zoltan, 2014/01/29
- Re: [Qemu-devel] osx bootloader, Alexander Graf, 2014/01/29
- Re: [Qemu-devel] RFC: ACPI, HPET._CRS, MacOSX vs. WinXP, Michael S. Tsirkin, 2014/01/21
- Re: [Qemu-devel] RFC: ACPI, HPET._CRS, MacOSX vs. WinXP, Michael S. Tsirkin, 2014/01/20
- Re: [Qemu-devel] RFC: ACPI, HPET._CRS, MacOSX vs. WinXP, Igor Mammedov, 2014/01/20
Re: [Qemu-devel] [PATCH] Add option to disable FDC from ISA bus and ACPI on i386, Markus Armbruster, 2014/01/09