You are not logged in.

#1 2009-07-28 19:21:48

Csosa
Member
Registered: 2009-07-28
Posts: 54

[SOLVED] Stopping X from starting

I've solved a lot of other issues going through the forums and was hoping this one would be no different smile
I'm pretty new to Arch and I'm glad I finally found a great distro once and for all!
Anyway:
dbus and consequently hal don't start up when I boot, so I have no keyboard or mouse input by the time I get to my gnome login screen. it might be because I set "syslog-ng" to bkgd, hmm...Maybe by just editing rc.conf I can fix all this? How can I get into the console before X starts up without Hal? I can't mess with hotplugging or drivers by that point.

tl;dr X autostarts at boot and I need to stop it before it even loads.

Last edited by Csosa (2009-07-28 20:36:10)

Offline

#2 2009-07-28 19:30:29

amranu
Member
Registered: 2008-09-25
Posts: 94

Re: [SOLVED] Stopping X from starting

Use the safe arch boot in the GRUB menu, edit /etc/rc.conf, add hal if it isn't there.

Offline

#3 2009-07-28 19:50:29

Csosa
Member
Registered: 2009-07-28
Posts: 54

Re: [SOLVED] Stopping X from starting

I kind of set myself up for failure there by making GRUB's wait time=0 at that menu to speed up my boot time hmm

Last edited by Csosa (2009-07-28 19:50:56)

Offline

#4 2009-07-28 20:05:57

idealeric
Member
Registered: 2009-03-11
Posts: 2

Re: [SOLVED] Stopping X from starting

i thought you could still get the grub menu even with a wait time of 0. either way, you could always run a live cd, mount arch's partion and edit rc.conf, either to get rid of gdm, or add hal. shame you have to do that, but that's my best idea.

Offline

#5 2009-07-28 20:25:44

Csosa
Member
Registered: 2009-07-28
Posts: 54

Re: [SOLVED] Stopping X from starting

That sounds great to me. After booting up the liveCD and logging in as root, how exactly do I mount (hd0,0)? I only have 2 partitions, and the other is swap.

I don't see ext4 as a supported fs type?

Last edited by Csosa (2009-07-28 20:30:32)

Offline

#6 2009-07-28 20:29:27

jowilkin
Member
Registered: 2009-05-07
Posts: 243

Re: [SOLVED] Stopping X from starting

You need a mount point, usually /mnt makes a good choice, and you need to know the name of the partition you want to mount.  You can use the command

fdisk -l

as root to see your partitions.  Usually the one you want will be like /dev/sda1.  Then to mount this to /mnt use

mount /dev/sda1 /mnt

Then your filesystem will show up under /mnt.  So your rc.conf would be in /mnt/etc/rc.conf.

Offline

#7 2009-07-28 20:37:02

Csosa
Member
Registered: 2009-07-28
Posts: 54

Re: [SOLVED] Stopping X from starting

Thank you so much! That worked perfectly. Should I add these instructions to the wiki?

Offline

#8 2009-07-29 00:43:10

jowilkin
Member
Registered: 2009-05-07
Posts: 243

Re: [SOLVED] Stopping X from starting

Csosa wrote:

Thank you so much! That worked perfectly. Should I add these instructions to the wiki?

If there is an appropriate place for them it would be useful, I've run into the same problem myself in the past.

It seems like there should be an easy way to boot into a command line only arch so that rc.conf can be edited.  Maybe there is and we took the long way.

Offline

#9 2009-07-29 01:16:56

miau
Member
Registered: 2009-05-06
Posts: 202

Re: [SOLVED] Stopping X from starting

If you can access the grub menu you can specify the runlevel in the kernel line.

Offline

#10 2009-07-29 02:12:24

jowilkin
Member
Registered: 2009-05-07
Posts: 243

Re: [SOLVED] Stopping X from starting

So it looks from a quick search that you just add the word "single" to the end of your kernel line in grub to get single user mode (run level 1?).  Or add just a number to the end of the kernel line specifying the run level you want so something like this for run level 3

kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/68d2ec02-f479-403e-bafe-d28e9f5d8712 ro 3

Offline

#11 2009-07-29 23:57:13

Csosa
Member
Registered: 2009-07-28
Posts: 54

Re: [SOLVED] Stopping X from starting

Here you go!
http://wiki.archlinux.org/index.php/Xor … _GUI_login

This is my thanks to all of you.

Offline

Board footer

Powered by FluxBB