Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Blank Screen after boot [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
pyrho
n00b
n00b


Joined: 15 Jun 2006
Posts: 30
Location: Paris, France

PostPosted: Tue Aug 29, 2006 5:16 pm    Post subject: Blank Screen after boot [SOLVED] Reply with quote

Hi all,

I've installed gentoo about a month ago, installed things i needed, configured X etc.
It was working perfectly, then i didn't boot on linux for a while.
Today when i booted on gentoo after the boot (all the "blablabla [ok]" went right), at the line "setting up gdm" when the screen turns black to launch the x server and gdm, it freezes, i can't kill X (ctrl+alt+backspace) nor can i change console (ctrl+alt+F1 F2 etc. or ctrl+F1 F2 etc.) .
I don't understand cause i didn't touche anything, i can't even connect trough ssh.
Maybe an rc-update del gdm would solve the problem but how can I do this when i can't even boot ? trough the live CD ?


Any help would be appreciated (:
_________________
--
"La plupart des generalites sont fausses, y compris celle-ci"
Berkeley's 9th law


Last edited by pyrho on Thu Aug 31, 2006 7:58 am; edited 1 time in total
Back to top
View user's profile Send private message
b1f30
Apprentice
Apprentice


Joined: 16 Nov 2005
Posts: 262
Location: USA

PostPosted: Tue Aug 29, 2006 5:50 pm    Post subject: Re: Blank Screen after boot Reply with quote

pyrho wrote:
Hi all,

I've installed gentoo about a month ago, installed things i needed, configured X etc.
It was working perfectly, then i didn't boot on linux for a while.
Today when i booted on gentoo after the boot (all the "blablabla [ok]" went right), at the line "setting up gdm" when the screen turns black to launch the x server and gdm, it freezes, i can't kill X (ctrl+alt+backspace) nor can i change console (ctrl+alt+F1 F2 etc. or ctrl+F1 F2 etc.) .
I don't understand cause i didn't touche anything, i can't even connect trough ssh.
Maybe an rc-update del gdm would solve the problem but how can I do this when i can't even boot ? trough the live CD ?


Any help would be appreciated (:


Heya.

You *could* try chrooting into the 'broken' environment using the LiveCD:

# mount /dev/(s/h)hda3 /mnt/gentoo
# mount /dev/(s/h)hda1 /mnt/gentoo/boot
# mount -t proc none /mnt/gentoo/proc
# mount -o bind /dev /mnt/gentoo/dev
# chroot /mnt/gentoo /bin/bash
# env-update
# source /etc/profile

and then try removing coldplug and xdm from boot - allowing you better access to console at boot, thus, preventing any X errors from taking away your whole PC:

# rc-update del coldplug
# rc-update del xdm
# exit
# cd ; umount /mnt/gentoo/* /mnt/gentoo ; reboot

I know at least 1 of my boxes had a similar problem, and for me, removing coldplug from boot actually *helped*.

Cheers! YMMV!

~b1f
_________________
H T T P : / / W W W . B I N A R Y F R E E D O M . I N F O /
Back to top
View user's profile Send private message
pyrho
n00b
n00b


Joined: 15 Jun 2006
Posts: 30
Location: Paris, France

PostPosted: Tue Aug 29, 2006 6:01 pm    Post subject: Reply with quote

thx a lot i'll try and keep you inform
_________________
--
"La plupart des generalites sont fausses, y compris celle-ci"
Berkeley's 9th law
Back to top
View user's profile Send private message
Nick C
Guru
Guru


Joined: 18 Mar 2005
Posts: 526
Location: Portsmouth, England

PostPosted: Tue Aug 29, 2006 7:40 pm    Post subject: Reply with quote

if it boots fine until you start X simply press i as its booting, that will enter interactive boot mode and ask you whether or not to start each service, then just decline to start xdm (which would in turn start gdm and X) and carry on as normal, assuming all gos well you should get to a command prompt, obviously if everything locks up still then you know its not X thats the problem.
Back to top
View user's profile Send private message
pyrho
n00b
n00b


Joined: 15 Jun 2006
Posts: 30
Location: Paris, France

PostPosted: Tue Aug 29, 2006 10:00 pm    Post subject: Reply with quote

Before booting on the live CD i tried Nick C's method, but pressing 'i' continuously or keeping it pressed during boot doesn't do anything.
My keyboard is plug via USB is it the reason ?
_________________
--
"La plupart des generalites sont fausses, y compris celle-ci"
Berkeley's 9th law
Back to top
View user's profile Send private message
Nick C
Guru
Guru


Joined: 18 Mar 2005
Posts: 526
Location: Portsmouth, England

PostPosted: Tue Aug 29, 2006 10:04 pm    Post subject: Reply with quote

assuming it worked beforehand on the commandline then no, as it boots, do you see a message just after kernel loads but before most of the services start saying 'press i to enter interactive mode'? If you dont it could be because i run ~x86 and its not in the current stable baselayout, if you dont see that message then your pretty much stuck with having to chroot in from a livecd.
Back to top
View user's profile Send private message
pyrho
n00b
n00b


Joined: 15 Jun 2006
Posts: 30
Location: Paris, France

PostPosted: Tue Aug 29, 2006 10:21 pm    Post subject: Reply with quote

Wow i'm impressed thanks for the velocity of the reply Nick ;p
After grub does its stuff the juste marked Uncompressing Linux or something like that Then the green message 'Gentoo linux blablabla' .
But anyway I disabled gdm through the live CD.
Booted fine, but when i launched startxfce4 the same thing happenned, so i checked the x server logs, and read again that dri for radeon 9500 and + was _highly experimental_ ^^ so i disabled all the thing concerning dri in my xorg.conf and it works fine.
Still i'll try to fix this cause enableing dri on my ati 9600 was very tough ;D

Thx everyone for helping so quickly, gentoo rockz ( and what makes it rock is its community ! )
_________________
--
"La plupart des generalites sont fausses, y compris celle-ci"
Berkeley's 9th law
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum