Latest update wrecked the system [Solved]

Discussion in general that pertains to Sabayon Linux - Must Pertain to Sabayon Linux

Moderator: Moderators

Post Reply
B3rtm3n
Growing Hen
Posts: 168
Joined: Fri Apr 13, 2012 2:53

Latest update wrecked the system [Solved]

Post by B3rtm3n » Tue Jun 04, 2013 4:42

I installed latest updates yesterday

It also pulled in the update for kernel 3.9.3 to 3.9.4

When rebooting I ended up with a black screen, I ques something went wrong with the Nvidia driver.

I rebooted into recovery mode (sadly I only have 1 kernel installed so I am not able to choose which one to boot)

I am unable to use recovery mode too.

It continuously keeps complaining about some error and that I have to do:

Code: Select all

LCL_ALL=en_US.UTF-8 /usr/bin/.....
I tried everything but nothing works, I am unable to update/upgrade or install anything

Has someone got a clue how I can solve this? Thanks in advance.
Last edited by B3rtm3n on Thu Jun 06, 2013 4:36, edited 1 time in total.

dunsurfin
Sagely Hen
Posts: 1333
Joined: Sun Jan 07, 2007 21:38
Location: Newcastle upon Tyne UK
Contact:

Re: Latest update wrecked the system

Post by dunsurfin » Tue Jun 04, 2013 14:11

I think this may be something similar to the problem I had. http://forum.sabayon.org/viewtopic.php?f=76&t=30086
If you boot as usual and when you get to the black screen (there should be a flashing cursor at the top left hand corner) you need to press alt F2 (I think - I can never remember - it just sort of happens) and you will be asked to login. Login as root and run

Code: Select all

equo deptest
That should bring back the nvidia driver you need and you can then run

Code: Select all

eselect opengl list
which will probably show that xorg-X11 is chosen in which case you need to run

Code: Select all

eselect opengl set nvidia 
and, finally reboot. You will be faced with a red notice that one update is needed but don't do that as it will go back to the wrong driver.
Self-righteousness is a loud din raised to drown the voice of guilt within us - Eric Hoffer

Don't believe what it says on the right - I am anything but sagely; More oniony!

B3rtm3n
Growing Hen
Posts: 168
Joined: Fri Apr 13, 2012 2:53

Re: Latest update wrecked the system

Post by B3rtm3n » Tue Jun 04, 2013 15:04

Thanks for your help, but I think my issue is a different problem

I am unable to use any command in recovery mode

f.ex, when I do the deptest see what the system responds:

Code: Select all

invalid filesystem encoding ANSI_X3.4-1968, must be UTF-8
make sure to set LC_ALL, LANG, LANGUAGE to valid UTF-8 values.
please execute:
LC_ALL=en_US.UTF-8 /usr/bin/equo deptest
trying to force en_US.UTF-8
when I do

Code: Select all

LC_ALL=en_US.UTF-8 /usr/bin/equo deptest
nothing happens.

I found something similar here in bugs but do not know how the guy fixed the issue (how do you regenerate locale in my situation? when nothing works)

manifesto
Growing Hen
Posts: 191
Joined: Mon Jul 19, 2010 22:21

Re: Latest update wrecked the system

Post by manifesto » Tue Jun 04, 2013 21:33

Try to fix the locales with locale-gen, have a look here :
http://www.gentoo.org/doc/en/guide-localization.xml

Fitzcarraldo
Sagely Hen
Posts: 8214
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom
Contact:

Re: Latest update wrecked the system

Post by Fitzcarraldo » Wed Jun 05, 2013 3:00

Follow the procedure given in the post Re: en_GB language missing after install., obviously changing the keyboard code and locale to the appropriate ones for your keyboard and locale.

B3rtm3n
Growing Hen
Posts: 168
Joined: Fri Apr 13, 2012 2:53

Re: Latest update wrecked the system

Post by B3rtm3n » Wed Jun 05, 2013 20:24

Thanks for your help.

However I am unable to do anything of these.

I am in recovery mode in su and doing nano but have no write permission to any of these files, this is just terrible.

B3rtm3n
Growing Hen
Posts: 168
Joined: Fri Apr 13, 2012 2:53

Re: Latest update wrecked the system

Post by B3rtm3n » Wed Jun 05, 2013 20:26

Just found that:

Code: Select all

mount -o remount,rw /
does the trick.

B3rtm3n
Growing Hen
Posts: 168
Joined: Fri Apr 13, 2012 2:53

Re: Latest update wrecked the system

Post by B3rtm3n » Wed Jun 05, 2013 21:09

Ok, I managed to do the given link
Still got the same error messages but at least the given terminal commands are working.

In recovery mode I have no internet connection so I am unable to run kernel switcher to repair the packages as I believe the last update is Nvidia related.

which command I must run to have internet connection in recovery mode?

cmost
Advanced Hen
Posts: 208
Joined: Wed Dec 13, 2006 22:25
Location: Cincinnati, OH

Re: Latest update wrecked the system

Post by cmost » Thu Jun 06, 2013 0:54

Hi you don't need to be in recovery mode to run commands. When the X server fails to load due to a borked nvidia driver, simply press ALT+F1 to switch to a terminal. Log in and run commands as usual. The Internet should work in that case.
AMD Phenom II 64 X6 1090T Black Edition
8192 MB DDR2 RAM
nVidia GeForce GTX 660 w 2048 MB DDR5
Sabayon 2014.x 64 Bit KDE
"Better to remain silent and be thought a fool than to speak out and remove all doubt." -- Abraham Lincoln

B3rtm3n
Growing Hen
Posts: 168
Joined: Fri Apr 13, 2012 2:53

Re: Latest update wrecked the system

Post by B3rtm3n » Thu Jun 06, 2013 4:36

Thanks, it did not work for some reason, I always ended up in a screen with a cursor hanging.

However found that when I continue pressing F2 the black screen with the cursor would dissapear and I could login without starting X and was able to run su and kernelswitcher

Post Reply