You are not logged in.

#1 2015-03-29 16:11:09

nstgc
Member
Registered: 2014-03-17
Posts: 393

[solved] Is it safe to run a system upgrade from within arch-chroot?

I keep an a fallback installation of Arch in case my main one breaks and also to run regular, off-line tests. Additionally I have once or twice broken something and had to use arch-chroot to access pacman on my main installation.

However, I haven't really though much about whether this is safe or not. I looked at "Installing Arch from an Existing System" (or something) thinking I could find a use of arch-chroot and pacman, but I can't see one. Can this cause issues? If so, is there another option?

Last edited by nstgc (2015-04-01 16:59:32)

Offline

#2 2015-03-29 16:12:47

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,731
Website

Re: [solved] Is it safe to run a system upgrade from within arch-chroot?

That's exactly what it's for -- no issues.

Offline

#3 2015-04-01 16:59:41

nstgc
Member
Registered: 2014-03-17
Posts: 393

Re: [solved] Is it safe to run a system upgrade from within arch-chroot?

Thank you.

Offline

#4 2015-04-02 03:17:15

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: [solved] Is it safe to run a system upgrade from within arch-chroot?

Just make sure you have all of your partitions mounted. I could just see someone doing this but not having /boot mounted.

Offline

#5 2015-04-02 12:58:48

nstgc
Member
Registered: 2014-03-17
Posts: 393

Re: [solved] Is it safe to run a system upgrade from within arch-chroot?

Scimmia wrote:

Just make sure you have all of your partitions mounted. I could just see someone doing this but not having /boot mounted.

I have seen someone do that -- me. Yeah, on my laptop my /boot is on a USB drive with my luks key file and I frequently run into problems as a result since boot has the noauto option. Apparently its bad to upgrade the kernel without /boot mounted...

Offline

Board footer

Powered by FluxBB