On Sunday, January 4, 2015 6:48:52 PM UTC-5, Vladimir Shipovalov wrote:I burned Qubes R2 ISO image to DVD, at lowest speed and with checksum verification.( had to use DVD - if I would simply "dd" this ISO to USB, it will not be discovered by Mac UEFI )Qubes DVD shows as "Windows" (???) disc at Mac's UEFI. I choose this disc in UEFI menu,then see this note for about a second:ISOLINUX 4.05 2011-12-09 ETCD Copyright (C) 1994-2011 H. Peter Anvin et alAfter that, it switches to this message, with black screen background as well :- Press the <ENTER> key to begin the installation process._ <--- flickering '_'I press the Enter key, but the installation is not continuing. Initially I thought that ISOLINUXhas trouble at detecting Macbook's keyboard, but then I tried using the external USB keyboard,which works in UEFI selection menu, and it still does not seem to work in ISOLINUX promptI know that Qubes R2 ISO is based on outdated version of Fedora (17 or 18, probably)At this time, its support for Mac UEFI booting has been poor, somewhere I've seen a thread :another Mac user has experienced the same "Press the <Enter> key" problemwith some older Fedora ISO.Then, just for experiment, I tried dd'ing the latest Fedora image (21.5) to USB.UEFI instantly recognized my USB, and I've seen nice Fedora icon with "Fedora Media" label( not that icon-less "Windows" label of Qubes ISO ) I tried booting Fedora and it worked perfectly!( except Wi-Fi, but this site helped to get it working in 5 mins - http://chaidarun.com/fedora-mbp )All the newest versions of popular linux distributions, like Ubuntu, could be booted as well.There is a ticket about "Support for EFI boot" , planned for Release 3 : http://qubes-os.org/ticket/794So my proposal to implement this feature is quite simple:just check how UEFI support is implemented at latest Fedora 21.5, and port it to Qubes ISO image.Meanwhile, I will be trying to boot Qubes R2 by one of the following ways:1) Various EFI loaders for booting old Linuxes:"Mac Linux EFI Loader", "ISO-2-USB EFI-Booter for Mac 0.01 beta" (with unclear origin), etc2) Attempt to manually merge Qubes R2 ISO with Fedora 21.5 ISO3) Try to upgrade old ISOLINUX 4.05 to new SYSLINUX 6.03 (EFI support added recently, but still unstable)=== Hardware used for testing: ===Early 2011 Macbook Pro 8,2 MC723xx/A 15" i7-2720QM 16 GB RAMBoot ROM Version: MBP81.0047.B27 , SMC Version (system): 1.69f4Please tell me your thoughts and experience about this subjectA number of the options you listed will likely not work out, because Xen 4.1 won't know what to do in an EFI environment - it expects to find and access things the old legacy ways. Please see the following post, which describes my experiences getting a dual-boot OS X / Qubes up and running:The short of it is to use rEFInd (the best EFI bootloader I've encountered), and certain Apple-specific GPT formatting tricks to trigger a legacy boot environment.As far as getting the EFI installer working, there are several things to note:1) It will never work with the R2 codebase - Xen did not add EFI support until 4.3 or so. Good news is that the R3 build process already generates xen.efi2) The necessary dom0 Linux kernel changes were not incorporated until Linux 3.17, so a newer kernel is required. This may introduce headaches with the patches being applied to the kernel; certainly by 3.18 there have been enough changes that some real work may need to be done to get the PVUSB patches to work - enough that USB over IP types of solutions may be preferable.3) Linux needs to be build with EFI stub support (trivial: just a make config option)4) As far as just porting over the Fedora 21.5 method, there are some differences booting up xen.efi. Basically, instead of just linux.efi, you also need xen.efi and xen.cfg, which provides command line options for Xen and Linux. I'm guessing it's not a big deal, but there is a difference.5) The good news is that Fedora has worked out most of the EFI install and boot stuff. The idea is supposed to be that if the boot media is started under EFI, and EFI install with automatically happen.Best,Eric
Sorry, but right now there is no way to get it to work, even if we overlook the build issues (for example, copying xen.efi to the right destination, creating xen.cfg, and modifying grub.cfg to invoke xen.efi). To boot under EFI + Xen, the dom0 Linux kernel must be at least version 3.17, as that is when the needed kernel patches were integrated. I briefly tried swapping in 3.17.6, but my attempts did not seem to be fully compatible with Qubes needs. I did not pursue it further, since I had no specific demand for 3.17.
If you're really driven to make this work, search for "Eric Shelton EFI" on the xen - devel mailing list. I posted some patches (I don't remember if directly against 3.12, but probably close enough). You could use that to tweak the kernel build, and then resolve the build issue from there, even if you have to just do manual edits to a default install.
- Eric
My other suggestion is to see if there is SOME way to boot a legacy/BIOS OS on your system. There may not be - we may be hitting the point where newer systems are pure EFI. Explore things like all of your BIOS settings, swapping your DVD drive with a caddy holding a second hard drive (on some systems, this allows EFI boot on one drive, and legacy on the other), or all of the weird partitioning stuff I detailed for Apple systems (which triggers a compatibility mode). The Hackintosh folks came up with Chameleon as a solution to boot an EFI OS on legacy systems; I have no idea if something has been hacked together for the reverse.
Best of luck,
Eric