Skip to content

Once arch-chrooted, is it exactly the same as live system?

In the Arch install guide on the wiki, when I do arch-chroot /mnt, can I treat it as the live system now? Previously, I followed the guide literally and restarted it gave me a base system as expected. But then I would after the restart, I would install and configure my system, then do another restart.

Can I do all this right after a arch-chroot so that I only need 1 reboot instead of 2 reboots to get everything done? Are there caveats I need to consider in an arch-chroot?

P.S. Should I:

  • enable both systemctl-networkd and systemd-resolved (wiki says I need to set some settings but just enabling them worked for me) or
  • enable dhcpcd@<interface>.service ?

I used to do the latter based on the old beginner's guide, but the former seems to be the "recommended" one now?

Thanks!

Edited 13 Feb 2017. We only hold this version.

3 points2 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
3 · 100% up
Kind
Text
ID
5trber

Author

176
posts
219
comments
4
media
View profile

2 comments

No, it's not a live system. You're still running on the installer's kernel, so installing kernel modules can be problematic. There's also no systemd session and no dbus, so some services may fail to run.

6 points

I usually install all packages, desktop environment and configurations while in the chroot and then just reboot into a completed install. Of course there's always something I forget and end up needing to tweak later but I try to just go through my checklist and get everything done from before the reboot.

Protip: It's especially critical to make sure that your networking is good to go and ssh is enabled if you don't have easy access (headless server) to the machine directly after reboot.

2 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.