Page 1 of 1

[SOLVED] How to chroot-urpmi

PostPosted: Mar 16th, '21, 14:40
by aguador
I thought there was a wiki that addressed this directly, but cannot seem to find it. Recent updates to my Cauldron system (Enlightenment, IceWM) borked it. Trying to login from LXDM I get a shorewall error that returns me to the login screen. Trying to enter in recovery mode hangsup, with a Return giving me a root login prompt. However, after login I have no internet access (via networkd - loaded but dead) and cannot start X either.

I have a liveUSB of Mageia XFCE 8. How can I use it to chroot into the Cauldron system and update it to see if that solves the problem?

Re: How to chroot-urpmi

PostPosted: Mar 16th, '21, 19:07
by doktor5000
You should probably try to boot in multi-user mode first. For that, simply append a "3" as kernel boot option. Then run urpmi --auto-update there.

Regarding chroot, the same way to you would chroot into any other system. Have a look at e.g. https://wiki.archlinux.org/index.php/ch ... ing_chroot
Some parts can probably be skipped, the part about /run and also UEFI might not be necessary.

Re: [SOLVED] How to chroot-urpmi

PostPosted: Mar 16th, '21, 23:51
by aguador
Thank you doktor5000, the right prescription as always. I did have internet with run level 3, update, and the system is back!