[SOLVED] How to chroot-urpmi

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] How to chroot-urpmi

Postby aguador » Mar 16th, '21, 14:40

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?
Last edited by aguador on Mar 16th, '21, 23:50, edited 1 time in total.
User avatar
aguador
 
Posts: 66
Joined: Sep 22nd, '13, 12:27
Location: Mendexa, Spain

Re: How to chroot-urpmi

Postby doktor5000 » Mar 16th, '21, 19:07

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [SOLVED] How to chroot-urpmi

Postby aguador » Mar 16th, '21, 23:51

Thank you doktor5000, the right prescription as always. I did have internet with run level 3, update, and the system is back!
User avatar
aguador
 
Posts: 66
Joined: Sep 22nd, '13, 12:27
Location: Mendexa, Spain


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest