Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Continuous XDM loop
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
d3c3it
l33t
l33t


Joined: 01 Mar 2003
Posts: 765
Location: Manchester, UK

PostPosted: Mon Mar 03, 2003 3:29 pm    Post subject: Continuous XDM loop Reply with quote

Hi
Ive just finished compiling KDE but ive made a screw up with the X config and i need to redo it but i cant not because whenever i start X keeps load and unloading and i cant stop it to access the the initrd file to change it to load into text mode and now icant even log in because i try ctrl+alt+f1 get the prompt and then XDM loads again. Ive tried ctrl+alt+backslash and that wont kill X either.
Im using Xfree 4.2.1. Ive a boot disk but not a clue to do at the grub> prompt
please anyone im in need of major help if i can just get back into turn X off when it boots im sitting pretty again and i can try and fix it
_________________
Some people go to counselling,
others use linux
Back to top
View user's profile Send private message
bsolar
Bodhisattva
Bodhisattva


Joined: 12 Jan 2003
Posts: 2764

PostPosted: Mon Mar 03, 2003 3:31 pm    Post subject: Re: Continuous XDM loop Reply with quote

You can use the gentoo livecd to boot.
_________________
I may not agree with what you say, but I'll defend to the death your right to say it.
Back to top
View user's profile Send private message
d3c3it
l33t
l33t


Joined: 01 Mar 2003
Posts: 765
Location: Manchester, UK

PostPosted: Mon Mar 03, 2003 3:40 pm    Post subject: Reply with quote

doh never thought of that
<lack of sleep>
sorry for being usless but what then when i boot the cd? how do i mount my root partition and get in and change the config files
*my root partition is hda4*

this my own fault for messing with the XF86Config file heh
_________________
Some people go to counselling,
others use linux
Back to top
View user's profile Send private message
d3c3it
l33t
l33t


Joined: 01 Mar 2003
Posts: 765
Location: Manchester, UK

PostPosted: Mon Mar 03, 2003 3:45 pm    Post subject: Reply with quote

actually its already in runlevel 3, but xdm keeps loading, unloading, loading, unloading. i fear ill have to start the install again:/
_________________
Some people go to counselling,
others use linux
Back to top
View user's profile Send private message
bsolar
Bodhisattva
Bodhisattva


Joined: 12 Jan 2003
Posts: 2764

PostPosted: Mon Mar 03, 2003 3:50 pm    Post subject: Reply with quote

Boot from the cd and reach the promt. Then do:
Code:
# mkdir /mnt/gentoo
# mount /dev/hda4 /mnt/gentoo
# chroot /mnt/gentoo /bin/bash
# env-update && source /etc/profile

Now you are in your system environment.
Code:
# rc-update del xdm default

removes xdm from the default runlevel.
_________________
I may not agree with what you say, but I'll defend to the death your right to say it.
Back to top
View user's profile Send private message
dufnutz
Apprentice
Apprentice


Joined: 01 May 2002
Posts: 209

PostPosted: Tue Mar 04, 2003 11:53 pm    Post subject: Reply with quote

not to steal the thread but

is there a way to tell grub not to load xdm?

in my grub menu i want one entry to load gentoo as normal (go straight to gdm)

and i want a "debug mode" one that boots straight to cli w/o attempting X... is this doable?
Back to top
View user's profile Send private message
bsolar
Bodhisattva
Bodhisattva


Joined: 12 Jan 2003
Posts: 2764

PostPosted: Tue Mar 04, 2003 11:57 pm    Post subject: Reply with quote

I don't know if the boot runlevel is usable for that, but you can create a copy of the default runlevel just without x and then tell grub to go for it.
_________________
I may not agree with what you say, but I'll defend to the death your right to say it.
Back to top
View user's profile Send private message
dufnutz
Apprentice
Apprentice


Joined: 01 May 2002
Posts: 209

PostPosted: Wed Mar 05, 2003 12:05 am    Post subject: Reply with quote

bsolar wrote:
I don't know if the boot runlevel is usable for that, but you can create a copy of the default runlevel just without x and then tell grub to go for it.


how do i specify the run level in grub?
Back to top
View user's profile Send private message
bsolar
Bodhisattva
Bodhisattva


Joined: 12 Jan 2003
Posts: 2764

PostPosted: Wed Mar 05, 2003 12:11 am    Post subject: Reply with quote

dufnutz wrote:
bsolar wrote:
I don't know if the boot runlevel is usable for that, but you can create a copy of the default runlevel just without x and then tell grub to go for it.


how do i specify the run level in grub?


Press 'e' to edit, the append it to the kernel line, i.e.
Code:
kernel /boot/bzImage root=/dev/hda5 1

to boot the runlevel 1. It works with numbers, It should also with the names gentoo gives to runlevels (never tried).
_________________
I may not agree with what you say, but I'll defend to the death your right to say it.
Back to top
View user's profile Send private message
d3c3it
l33t
l33t


Joined: 01 Mar 2003
Posts: 765
Location: Manchester, UK

PostPosted: Wed Mar 05, 2003 12:32 am    Post subject: Reply with quote

bsolar wrote:
dufnutz wrote:
bsolar wrote:
I don't know if the boot runlevel is usable for that, but you can create a copy of the default runlevel just without x and then tell grub to go for it.


how do i specify the run level in grub?


Press 'e' to edit, the append it to the kernel line, i.e.
Code:
kernel /boot/bzImage root=/dev/hda5 1

to boot the runlevel 1. It works with numbers, It should also with the names gentoo gives to runlevels (never tried).


handy:)
_________________
Some people go to counselling,
others use linux
Back to top
View user's profile Send private message
guero61
l33t
l33t


Joined: 14 Oct 2002
Posts: 811
Location: Behind you

PostPosted: Wed Mar 05, 2003 6:06 am    Post subject: Reply with quote

The issue you've encountered, as I understand it, stems from (usually) improper driver installation. When my machine cannot find the nvidia driver for the currently running kernel, it loops like that. HOWEVER, it does have a safeguard set up; give it a minute or so, and it'll stop looping, giving you a chance to get in and make fixes.

So in short, let it loop until it stops, log in, fix the driver, and reboot. All will be well.
Back to top
View user's profile Send private message
d3c3it
l33t
l33t


Joined: 01 Mar 2003
Posts: 765
Location: Manchester, UK

PostPosted: Wed Mar 05, 2003 10:20 am    Post subject: Reply with quote

thanks d00d but i fixed it already what bsolar suggested worked a treat:)
_________________
Some people go to counselling,
others use linux
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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