View previous topic :: View next topic |
Author |
Message |
arogue_linux_user n00b


Joined: 07 Nov 2024 Posts: 3 Location: Trenton, Ontario
|
Posted: Sun Apr 13, 2025 10:24 pm Post subject: Problems running commands in chroot |
|
|
Hello - I messed up the gentoo installation when I added pgo use flag globally to the make.conf and the bash recompilation failed and since then I'm unable to run any commands on the system.
I chrooted using livecd and mounted the file systems again by following the wiki and yet, any commands I run, gets aborted.
Do I have to reinstall or is it salvageable at this point ?
Code: |
livecd ~ # chroot /mnt/gentoo/
livecd / # emerge --sync
Aborted
livecd / # emerge --sync
Aborted
livecd / # pwd
/
livecd / # cd /etc
livecd /etc # ls -l
Aborted
livecd /etc # ls -al
Aborted
|
Is there any thing that I can do to recover ? |
|
Back to top |
|
 |
eccerr0r Watchman

Joined: 01 Jul 2004 Posts: 10003 Location: almost Mile High in the USA
|
Posted: Mon Apr 14, 2025 12:04 am Post subject: |
|
|
It might be easier to reinstall. It looks like you built your executables in some way such that they can't be run... does 'dmesg' say anything (exit out of the chroot first) -- it may tell some more details why it decided to abort. _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55163 Location: 56N 3W
|
Posted: Mon Apr 14, 2025 8:24 am Post subject: |
|
|
arogue_linux_user,
Quote: | ... I added pgo use flag globally to the make.conf ... | That should be harmless, even if its mostly not useful.
Adding a USE flag and finding it breaks your system is a bug. I'm not convinced we are looking at cause and effect here.
We need to know what broke to fix it, dmesg may show that.
Yes, it can be fixed but not by guesswork. The method is to untar a binary package over the broken package.
Binary packages are essentially single package stage3 tarballs.
The trick is discovering which package you need. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
|