vmlinuz-linux not being created on bootctl install
I've installed Arch a few times with no issue but this time I'm running into an odd problem.
I chroot into /mnt and run bootctl --path=/boot install and end up with the directory structure listed below. There is no vmlinuz-linux or initramfs-linux.img.
Any idea on what the issue could be?
/boot- 07XXXXXX
- EFI
-- Boot
--- BOOT64.EFI
-- Linux
-- systemd
--- systemd-bootx64.efi
-- loader
-- entries
--- loader.config
Edited 12 Oct 2019. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 6 · 100% up
- Kind
- Text
- ID
- dgrjcm
20 comments
bootctlhas never created any of those files.The
vmlinuz-linuxfile is created by thelinuxpackage, which you have to install manually since thebasegroup has been reduced to not include a kernel by default and changed into a metapackage.The
initramfs-linux.imgis created usingmkinitcpio -p linux, which will be run automatically as a post-transaction hook of thelinuxpackage.To sum up, simply run
pacman -S linuxafter installingbase.Be aware that
basealso no longer contains an editor ornetctl, so install what you need before booting into your install.The base slimmening strikes again.
mkinitcpio Is the one that creates it.
Thanks, a quick search on that led me to just need to run pacman -S linux and that installed everything I needed.
edit: also needed to install linux-firmware
The base group has been effectively been replaced with the base metapackage. The new package doesn't contain a kernel. This may be because there are AFAIK 4 kernels in the repos:
linux,linux-lts,linux-hardened, andlinux-zen.So the slogan for removing base group was 'Just for lulz'.
I had one even wierder, pacstrap was not installing linux. Only after changing to the third mirror was I able to install it. Somehow two different mirrors were not installing linux with the base package. Kinda scary actually
EDIT: One week ago the installation guide on the wiki was not fully updated. So it was my mess up, don't shoot me :) EDIT 2: to be even MORE specific, apparently I opened the page the day before the update and I didn't refresh :)
Read my comment in this thread. Explains it.
So, wiki needs an update :P
Also when I did that there were some other things missing along the way, that is why I pursued the other mirrors and since nothing in the wiki stated that, I just assumed I messed up. But nice to know that it wasnt. Thanks :)
Deleted before we saved it.
Read what pacstrap/pacman tells you when it installs base. There's a new optional dependency on "linux" for bare metal support... so you basically changed to an outdated mirror.
Read the wiki, and output was too fast for me too see that, on small screen that is. Looked for that kind of messages but was never able to caught it. Guess wiki needs an update on the beginners guide
Jeez, people are quick with the downvote here... Relax, still have all linux machines with arch, obviously that didn't stop me from installing it ;)
This is wrong. The wiki page was updated the very moment the base update hit. We pushed the changes at the same time.
Well, I did not see it, may have opened up before the update and didnt refresh (as I open tabs for the following links) but it wasn't. Which I'm pretty sure of as I reread multiple times since it was not working. Since I started planning a few days back that is actually possible... But dunno, I take the installation process pretty seriously that is why I'm pretty sure.
Deleted before we saved it.