TTY does not load and <F2> goes to tty1

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

Moderator: Moderators

Re: TTY does not load and <F2> goes to tty1

Postby Fitzcarraldo » Fri Oct 19, 2012 11:47

I'll reply in English so that readers who don't speak Portuguese can understand.

From the photos you posted originally and again in your most recent post, your installation is not even reaching the stage of running X Windows. Your three photos show virtual terminals (consoles) displaying console decoration.

Your original post mentioned "X". You appeared to be stating in that post that the laptop does eventually display a desktop (X [Windows]). But, from what you are now writing, presumably you were referring to the Sabayon 'X' (ten) on the console decoration screen at boot, not to X Windows.

You state that when you press F2 the screen displays TTY2.

You state that when you press Ctrl-Alt-F1 a TTY console (TTY1?) appears with the console decoration but without any text being displayed.

It's still not clear to me: Does your laptop display the GDM login screen and allow you to enter your username and password, and login to a working GNOME desktop? Are you saying that, once your laptop has loaded a working GNOME desktop (ergo X Windows is running), if you then press F2 the laptop then displays TTY2 (without text)? Are you also saying that, once your laptop has loaded a working GNOME desktop, if you then press Ctrl-Alt-F1 the laptop then then displays TTY1 (without text)? To put these questions another way:

You state that when you press F2 the screen displays TTY2. Before you press F2, what exactly is displayed on the screen?

You state that when you press Ctrl-Alt-F1 a TTY console appears with the console decoration but without any text being displayed. Before you press Ctrl-Alt-F1, what exactly is displayed on the screen?
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: TTY does not load and <F2> goes to tty1

Postby deusr » Fri Oct 19, 2012 18:19

It's still not clear to me: Does your laptop display the GDM login screen and allow you to enter your username and password, and login to a working GNOME desktop? Are you saying that, once your laptop has loaded a working GNOME desktop (ergo X Windows is running), if you then press F2 the laptop then displays TTY2 (without text)? Are you also saying that, once your laptop has loaded a working GNOME desktop, if you then press Ctrl-Alt-F1 the laptop then then displays TTY1 (without text)? To put these questions another way:


Come on! All statements made ​​are correct.

You state that when you press F2 the screen displays TTY2. Before you press F2, what exactly is displayed on the screen?

It happens when I'm in Gnome-shell, ie, the X.

You state that when you press Ctrl-Alt-F1 a TTY console appears with the console decoration but without any text being displayed. Before you press Ctrl-Alt-F1, what exactly is displayed on the screen?


It happens when I'm in Gnome-shell, ie, the X.
deusr
Simple Hen
 
Posts: 83
Joined: Mon Feb 23, 2009 7:23

Re: TTY does not load and <F2> goes to tty1

Postby Fitzcarraldo » Fri Oct 19, 2012 21:14

Understood. OK, as you are experiencing the problem in X Windows, does your installation have the file /etc/X11/xorg.conf and/or a file in a directory /etc/X11/xorg.conf.d/? If there is a file or files, does it/they have a section specifying a keyboard? If a keyboard is specified, is it the correct one?

If you are sure the keyboard is specified correctly, you can remap the keys as explained in Re: keyboard remapping and virtual keyboards and FN keys...
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: TTY does not load and <F2> goes to tty1

Postby deusr » Fri Oct 19, 2012 21:45

See:

Code: Select all
tales@neit /etc/X11/xorg.conf.d $ cat 00-keyboard.conf
Section "InputClass"
       Identifier "keyboard"
       MatchIsKeyboard "yes"
       Option "XkbLayout" "br"
       Option "XkbVariant" ""
       Option  "XkbOptions" ""
EndSection



I think it is set up wrong, it would not be correct br-abnt2?
deusr
Simple Hen
 
Posts: 83
Joined: Mon Feb 23, 2009 7:23

Re: TTY does not load and <F2> goes to tty1

Postby Fitzcarraldo » Fri Oct 19, 2012 23:37

Yes, try:

Code: Select all
Option "XkbLayout" "br-abnt2"

If that doesn't work, try:

Code: Select all
Option "XkbLayout" "br"
Option "XkbVariant" "abnt2"


Other things to try, but from the command line instead of editing xorg.conf file or xorg.conf.d files, are:

Code: Select all
setxkbmap -model abnt2 -layout br

or:

Code: Select all
setxkbmap -model abnt2 -layout br -variant abnt2
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: TTY does not load and <F2> goes to tty1

Postby deusr » Sun Oct 21, 2012 20:32

None of the options worked. I made a video to show what is happening...

http://www.youtube.com/watch?v=S656ZZJcXDQ&feature=youtu.be
deusr
Simple Hen
 
Posts: 83
Joined: Mon Feb 23, 2009 7:23

Re: TTY does not load and <F2> goes to tty1

Postby Fitzcarraldo » Sun Oct 21, 2012 22:09

GRUB 2 is not working correctly on your laptop. I see from your video that your laptop is having trouble immediately you switch it on. You are experiencing the same GRUB 2 problem that user aquarius describes in his post Problems with grub after upgrade from kernel 3.5 to 3.6 even though you have not upgraded to the SL 3.6 kernel yet:

Code: Select all
error: file not found.
error: file not found.
error: file not found.
Loading Linux x86_64-3.5.0-sabayon ...
Loading initial ramdisk ...

Press any key to continue...

Your keyboard problem could be related to this. I think it's time for you to file a bug report, as that behaviour at boot is not normal. To file a bug report, click on the link 'Bugs' at the top of this page.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: TTY does not load and <F2> goes to tty1

Postby deusr » Sun Oct 21, 2012 22:54

Ok, you can leave, I will send and explain everything I did;) Thanks!

But it started appearing after upgrading from 3.4 to the 3.5 kernel
deusr
Simple Hen
 
Posts: 83
Joined: Mon Feb 23, 2009 7:23

Re: TTY does not load and <F2> goes to tty1

Postby Fitzcarraldo » Mon Oct 22, 2012 12:29

Just a thought... Have you tried re-installing GRUB 2 and re-creating the grub.cfg file?

If you currently have GRUB 2 installed in the MBR of drive sda and you do not have the /boot directory on a separate partition to the root directory, the commands to re-install GRUB 2 would be as follows:

Code: Select all
$ su
Password:
# equo update
# equo install grub
# equo conf update
# grub2-install /dev/sda
# grub-mkconfig -o /boot/grub/grub.cfg
# exit
exit
$

Then reboot to see if it has an effect on the error messages when you switch on your laptop.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: TTY does not load and <F2> goes to tty1

Postby Fitzcarraldo » Mon Oct 22, 2012 21:48

Reinstalling GRUB 2 fixed the boot problem for user aquarius (see the thread I mentioned earlier), so you should definitely try it.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

PreviousNext

Return to Sabayon Linux General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest