View previous topic :: View next topic |
Author |
Message |
d3c3it l33t
Joined: 01 Mar 2003 Posts: 765 Location: Manchester, UK
|
Posted: Mon Mar 03, 2003 3:29 pm Post subject: Continuous XDM loop |
|
|
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 |
|
|
bsolar Bodhisattva
Joined: 12 Jan 2003 Posts: 2764
|
Posted: Mon Mar 03, 2003 3:31 pm Post subject: Re: Continuous XDM loop |
|
|
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 |
|
|
d3c3it l33t
Joined: 01 Mar 2003 Posts: 765 Location: Manchester, UK
|
Posted: Mon Mar 03, 2003 3:40 pm Post subject: |
|
|
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 |
|
|
d3c3it l33t
Joined: 01 Mar 2003 Posts: 765 Location: Manchester, UK
|
Posted: Mon Mar 03, 2003 3:45 pm Post subject: |
|
|
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 |
|
|
bsolar Bodhisattva
Joined: 12 Jan 2003 Posts: 2764
|
Posted: Mon Mar 03, 2003 3:50 pm Post subject: |
|
|
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 |
|
|
dufnutz Apprentice
Joined: 01 May 2002 Posts: 209
|
Posted: Tue Mar 04, 2003 11:53 pm Post subject: |
|
|
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 |
|
|
bsolar Bodhisattva
Joined: 12 Jan 2003 Posts: 2764
|
Posted: Tue Mar 04, 2003 11:57 pm Post subject: |
|
|
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 |
|
|
dufnutz Apprentice
Joined: 01 May 2002 Posts: 209
|
Posted: Wed Mar 05, 2003 12:05 am Post subject: |
|
|
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 |
|
|
bsolar Bodhisattva
Joined: 12 Jan 2003 Posts: 2764
|
Posted: Wed Mar 05, 2003 12:11 am Post subject: |
|
|
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 |
|
|
d3c3it l33t
Joined: 01 Mar 2003 Posts: 765 Location: Manchester, UK
|
Posted: Wed Mar 05, 2003 12:32 am Post subject: |
|
|
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 |
|
|
guero61 l33t
Joined: 14 Oct 2002 Posts: 811 Location: Behind you
|
Posted: Wed Mar 05, 2003 6:06 am Post subject: |
|
|
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 |
|
|
d3c3it l33t
Joined: 01 Mar 2003 Posts: 765 Location: Manchester, UK
|
Posted: Wed Mar 05, 2003 10:20 am Post subject: |
|
|
thanks d00d but i fixed it already what bsolar suggested worked a treat:) _________________ Some people go to counselling,
others use linux |
|
Back to top |
|
|
|