I'm trying to do a fresh install and use systemd-boot as the bootloader for my ESP, but in the install instructions on step 4 it says:

Copy your kernel and initramfs onto that ESP.

But where are vmlinuz-linux and initramfs-linux.img located? I can't find them for the life of me. Do I need to install bootctl before those files are available? Nothing exists in /boot in either my Arch Linux install disk or the partitions that I'm working with

  • For the vanilla kernel, those files will be named vmlinuz-linux (kernel) and initramfs-linux.img (initrd). You should also have a initramfs-linux-fallback.img. – jasonwryan Aug 4 '16 at 18:03
  • Yeah, I can see the filenames that I'm supposed to copy over in the instructions, but I can't find where they're located – starscream_disco_party Aug 4 '16 at 18:11
  • Have you pacstrapped base? – jasonwryan Aug 4 '16 at 18:23
  • I did but I wasn't able to find the files on the partition that I'd strapped to. Would they be located somewhere in /usr/src on that partition? Am I still able to copy files over to my /boot partition after pacstrapping though? Shouldn't I have all of my partitions set up properly before doing that? – starscream_disco_party Aug 4 '16 at 18:25
  • It sounds like /boot wasn't mounted when you pacstrapped... – jasonwryan Aug 4 '16 at 19:01

In the linked Wiki (which does not contain that exact phrase any more), there is a section (https://wiki.archlinux.org/index.php/Systemd-boot#Preparing_kernels_for_/EFI/Linux), which applies only, if you want to create such a special kernel. Other than that, the linux kernel is placed in /boot whenever you install/update the linux package with pacman, i.e. also via pacstrap.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.