Skip to content

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.

6 points18 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
6 · 100% up
Kind
Text
ID
dgrjcm

Author

194
posts
26
comments
2
media
View profile

20 comments

bootctl has never created any of those files.

The vmlinuz-linux file is created by the linux package, which you have to install manually since the base group has been reduced to not include a kernel by default and changed into a metapackage.

The initramfs-linux.img is created using mkinitcpio -p linux, which will be run automatically as a post-transaction hook of the linux package.

To sum up, simply run pacman -S linux after installing base.

Be aware that base also no longer contains an editor or netctl, so install what you need before booting into your install.

24 points

mkinitcpio Is the one that creates it.

3 points

mkinitcpio

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

3 points

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, and linux-zen.

5 points

So the slogan for removing base group was 'Just for lulz'.

2 points

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 :)

1 points

Read my comment in this thread. Explains it.

3 points

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 :)

1 points
unknown author

Deleted before we saved it.

1 points

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.

2 points

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

0 points

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 ;)

1 points

One week ago the installation guide on the wiki was not fully updated. So it was my mess up, don't shoot me

This is wrong. The wiki page was updated the very moment the base update hit. We pushed the changes at the same time.

0 points

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.

2 points
unknown author

Deleted before we saved it.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.