Got the official ISO booting on 32bit EFI (64bit CPU) hardware
For a while now the Archboot image has been the only installer to come with a 32bit EFI for Baytrail tablets. It has worked but has been a little outdated.
So using the 32bit EFI and Grub config pulled from the Archboot image above, I updated the config to work on newer ISO releases.
wget http://mirrors.advancedhosters.com/archlinux/iso/archboot/latest/archlinux-2015.09-1-archboot-network.iso
sudo mount -v -o offset=81920 archlinux-2015.09-1-archboot-network.iso /mnt
mkdir temp/
cp /mnt/EFI/BOOT/{bootia32.cfg,BOOTIA32.EFI,BOOTX64.EFI} temp/
favoriteeditor temp/bootia32.cfg
Modify the first entry to look like this
menuentry "Arch Linux x86_64 Archboot - EFI MIXED MODE" {
set gfxpayload=keep
search --no-floppy --set=root --file /arch/boot/x86_64/vmlinuz
linux /arch/boot/x86_64/vmlinuz cgroup_disable=memory add_efi_memmap _IA32_UEFI=1 rootfstype=ramfs archisobasedir=arch archisolabel=ARCH_201604
initrd /arch/boot/intel_ucode.img /arch/boot/x86_64/archiso.img
}
-
Save the file
-
sudo umount /mnt
Mount the second partition of your Arch USB drive
cp -R temp/* /path/to/usb/EFI/boot/
Eject and then you should be good to go.
Here is a zip with those two EFI files and the config already edited.
https://drive.google.com/file/d/0B2cSlWc2yl7ENXdDY0daOVlsSmc/view?usp=sharing
For this to work the ISO has to be flashed to a USB drive. Then mount the second partition of the USB drive and copy the files from the zip to the EFI/boot directory. For this to work with newer ISO releases there is only one reference in the config that has to be updated (archisolabel=ARCH_201604)
Only the first option has been tailored for 32bit EFI devices. 2nd, 3rd, and 4th won't do anything at the moment. Hope this helps some people out there.
EDIT: Formatting + instructions if you don't want to blindly trust the zip.
EDIT2: Updated bootia32.cfg with the i686 option fixed (If you want to do a 32bit Arch install) http://ix.io/vxJ
EDIT3: Just noticed that this doesn't interfere with the default systemd-boot and configuration on the USB key. So this modified key will still work on other systems. All-in-one Arch USB key :D
Edited 4 Apr 2016. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 40 · 100% up
- Kind
- Text
- ID
- 4dbjsr
15 comments
the 32bit systemd package has systemd-boot too, so possibly you can use that as a 32bit uefi bootloader too.
usr/lib/systemd/boot/efi/systemd-bootia32.efi
Grub is the only one that supports loading 64bit kernel from 32bit EFI as far as I'm aware.
aha, yep, that's possible, gummiboot only starts other efi executables (the kernel with an efi stub)
If you've got time to update the wiki it'd be great, this is pretty much what needs to be done on 64 bit macs with 32 bit EFIs, once booted the EFI packages need rebuilding with the 32 bit flags set
Can you give instructions on this and anything else you did for a bit mixed mac? I'm stuck at getting arch to boot without the USB. I've tried a few things but nothing works.
First, what version are you installing? 32 bit is simpler, 64 bit is possible but awkward.
If you choose 64 bit or 32 bit you cannot use more than 3GB of RAM, even if your system has more.
32 bit: just install the 32 bit EFI as normal
64 bit: you need to get the source PKGBUILD to the normal EFI, then change it to compile it as 32 bit, I can't remember the exact changes, I think it might be -m32 to the make line, check with the 32 bit EFI build on the AUR. Once this is done, install the package and it should be OK. However, EFI mode cannot boot a 64 bit OS since it's 32 bit, so what you need to do is now install grub and get that to load your linux install. Boot is now: EFI -> rEFIt (which is what I used) -> GRUB -> 64 bit linux (with 32 bit memory address space). To get this working permanently you need to then boot up with the mac install disc and use
blessI think, there's some info on that on the wiki, or to test when you power-up/reboot hold down the ALT key and a boot selection will come up, select the entry that comes up as 'windows boot' or 'windows bios' and it'll boot grub.Any particular place? The X205TA page seems to already have about these same instructions (wish I had known that earlier)
https://wiki.archlinux.org/index.php/Asus_x205ta
Ah yeah that'd have been useful, haha nevermind.
Deleted before we saved it.
Thank you!!! This helped me finally boot linux on my mac pro desktop 2,1.
Deleted before we saved it.