Skip to content

mkinitcpio problems in chroot only

I am installing arch but mkinitcpio -P fail with error code 1 in arch-chroot even though says ==> Initcpio image generation successful in last line and everything seem fine.

There are also warnings in earlier lines:

==> WARNING: No fsck helpers found. fsck will not be run on boot.
==> WARNING: errors were encountered during the build. The image may not be complete.

When I finish installing and run mkinitcpio -P again from the running arch, I don't see these warnings again. And it has code 0 for success instead of 1. Problems are only in chroot.

I have lots of Probably missing firmware warnings in and out of chroot but those are normal.

Are you also having error code 1 and those warnings in chroot or just for me? What is the way to fix that?

1 points1 comments
Open on Reddit
About this post
Posted
Archived
Score
1 · 100% up
Kind
Text
ID
1bf5bbf

Author

97
posts
69
comments
0
media
View profile

1 comment

After chrooting in, did you mount your EFI to /boot? Or run mount -a so your system is like it should be if you booted it up normally?

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.