You are not logged in.
I want to install Arch Linux in my Macbook 5,1. I followed this wiki page (https://wiki.archlinux.org/index.php/EF … B_from_ISO) to create a bootable USB using another laptop running Linux. After that I booted my Mac and held the option key, and selected EFI boot. But now I'm stuck with a black screen that says:
[ 4.578232] i8042: No controller found
:: running early hook [udev]
:: running hootk [udev]
:: Triggering uevents
Can you give me a hand? Thanks.
Last edited by kaixi (2013-02-05 13:08:02)
Offline
This is too complicated:
1. Just "burn" the Arch image to your stick (dd if=arch...iso of=/dev/sdX bs=4M or something like that). Don't do an EFI boot from the USB stick.
2. Hold the "C" key during startup instead of the Option key.
Alternatively, install refind in MacOS. Reboot, when the refind menu shows up, hit the "esc" key, and then select the refind-menu-entry that offers you to boot Arch. Sooner or later you probably want to install refind anyhow.
Offline
Hey, thanks. I installed rEFInd and can now boot from the USB, but now I'm stuck with the final step, installing the bootloader. I tried to install grub, following https://wiki.archlinux.org/index.php/Beginners_Guide, but when I run
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=arch_grub --recheckI get the following errors:
Fatal: Couldn´t open either sysfs or procfs directories for accesing EFI variables.
Try 'modprobe efivars' as root.
Fatal: Couldn´t open either sysfs or procfs directories for accesing EFI variables.
Try 'modprobe efivars' as root.
Installation finished. No error reported.Last edited by kaixi (2013-02-06 19:09:15)
Offline
You can try syslinux,it's a bit easier.
Offline
So I never installed grub or syslinux. You may want to reread the beginner's guide and specifically the section on efistub: https://wiki.archlinux.org/index.php/Beginners'_Guide#EFISTUB
Roughly summarized, condensed, and paraphrased it goes like this (and leaving out stuff you don't need):
Look at the output of "lsblk." It will probably show a 200MB partition as /dev/sda1. This is probably your UEFISYS partition.
Mount the UEFISYS partition at /mnt/boot/efi, chroot and copy the kernel and initramfs files as described below.
Create /boot/efi/EFI/arch/ directory.
Copy /boot/vmlinuz-linux to /boot/efi/EFI/arch/vmlinuz-arch.efi. The .efi file extension is very important as some UEFI firmwares refuse to launch a file without this extension. Important: Remember that the file is called vmlinuz, but not vmlinux.
Copy /boot/initramfs-linux.img to /boot/efi/EFI/arch/initramfs-arch.img.
Copy /boot/initramfs-linux-fallback.img to /boot/efi/EFI/arch/initramfs-arch-fallback.img.Every time the kernel and initramfs files are updated in /boot, they need to be updated in /boot/efi/EFI/arch. This can be automated either using systemd or using incron (for non-systemd setups).
You will find more nuggets here: https://wiki.archlinux.org/index.php/UEFI for your future improvements.
Create a refind_linux.conf file with the kernel parameters to be used by rEFInd:
# nano /boot/efi/EFI/arch/refind_linux.conf
"Boot to X" "root=/dev/sdaX ro rootfstype=ext4 systemd.unit=graphical.target"
"Boot to console" "root=/dev/sdaX ro rootfstype=ext4 systemd.unit=multi-user.target"Note that instead you may want to use a line similar to
"Boot to X" "root=PARTUUID=78b89af1-8445-4f8d-bfed-9f57b96ee0a7 ro rootfstype=ext4 systemd.unit=graphical.target"Those two things pretty much did it for me: copy the kernel files into /boot/efi/EFI/arch (after you mount the UEFISYS partition there!!!) and make the refind.conf file.
Offline