You are not logged in.
I installed Arch on my Macbook Pro using rEFInd and following the Macbook Pro 9,2 Guide.
Everything worked fine. When I went to boot, though, I get the following:
Booting a command list
Loading Linux core repo kernel ...
error: file '/boot/vmlinuz-linux' not found.
Loading initial ramdisk ...
unaligned pointer 0x22
Aborted. Press any key to exit.I'm not sure what went wrong or how to fix this. Any help would be appreciated.
##### This was solved by running grub-mkconfig after installing grub.
Last edited by _glitchware (2014-03-26 15:32:43)
Offline
I guess you should give some more information, since the info you provide is a bit vague. Is this a sinle/dual/triple/etc. boot, partition layout, where did you install the boot loader?
Offline
@MadTux
Dual-boot with OS X. Per the guide for the 9,2, I installed the bootloader to /dev/sda1
/dev/sda1 - vfat, EFI Boot Partition
/dev/sda2 - OS X Partition
/dev/sda3 - OS X Partition
/dev/sda4 - ext4, / partition
/dev/sda5 - ext4, /home partition
/dev/sda6 - ext4, /boot partitionOffline
EFI or bios compatibility? If you are using bios compatibility, you need to have a hybrid MBR (a partition table in the MBR in addition to the GPT). It must start with a protective partition starting at sector 1, and can then only have three additional partitions. One of those has to by your /boot partition.
Honestly, I'm not sure why you feel the need to spearate out the /boot partition. It just adds complexity without any real benefit. Traditionally the /boot partition was separated out because the bootloaders were very limited in the filesystems that they were able to support. These days bootloaders seem to support most filesystems you throw at it. Ext4 is particularly well supported.
Offline
@WonderWoofy
I'm pretty sure it's EFI.
I only separated the /boot partition because I was following the guide.
Offline
So just as a sanity check, you do have /boot/vmlinux-linux and /boot/initramfs-linux.img, yeah?
There have recently been some bugs with grub's autogeneration scripts that make the grub.cfg. These are found in /etc/grub.d and people seem to end up with extraneous boot entries, some of which don't work. This might be what you are seeing here.
Instead of just following the 9,1 guide, you should do some reading about EFI in general. The Arch Wiki's UEFI page is excellent and should give you a basic understanding about what is going on with UEFI setup. Those platform specific pages unfortuntely tend to get outdated pretty quickly, particularly the ones that tend to regurgitate large swaths of the beginners guide. They also don't allow for very much flexibility in letting the user choose specifics for their own setup (as you have seen with the partition layout).
Offline
@WonderWoofy
Yes, I do have /boot/vmlinuz-linux (3.8M) and /boot/initramfs-linux.img (3.15M)
Sorry it took so long to reply. I am able to access my Arch partition via chroot from the USB.
Offline
Is grub installed, or are you booting directly from refind?
If so, does the error appear in grub or refind? And do you have an arch_grub (or so) directory in /boot/efi?
@Wonderwoofy
OS X installs an EFI boot partition anyways.
Offline
@\hbar
GRUB is installed. I boot up the laptop, select Arch from rEFInd, and then it goes to GRUB.
I do not have anything like arch_grub in my /boot/efi directory.
Offline
,Did you follow the "Install Bootloader" section of the 9,2 tutorial? More precisely, did you run
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=arch_grub --recheck --debugbecause that's supposed to install /boot/efi/arch_grub.
Unless you checked the boot directory while chrooted into the partition without mounting /dev/sda1 to /boot (the /boot folder is usually where the boot partition is mounted, so if it isn't mounted then you wouldn't have anything in it).
After having a quick look at the 9,2 tutorial, I noticed that they never say to run
grub-mkconfig -o /boot/grub/grub.cfgdid you do that? If not, that may be the problem. Try running this command (after mounting /dev/sda1 to /boot) (see https://wiki.archlinux.org/index.php/Be … ide#GRUB_2 for details)
Offline
,
After having a quick look at the 9,2 tutorial, I noticed that they never say to rungrub-mkconfig -o /boot/grub/grub.cfgdid you do that? If not, that may be the problem. Try running this command (after mounting /dev/sda1 to /boot) (see https://wiki.archlinux.org/index.php/Be … ide#GRUB_2 for details)
I am going to try that now. Will edit.
## Edit
No luck. I will reformat, reinstall, and remember to not make a separate /boot partition. Thank you for the help, though.
#### Edit Two
Success! That one simple command after installing grub. This needs to be added to the wiki. Is it possible to add it?
Last edited by _glitchware (2014-03-26 01:55:59)
Offline