You are not logged in.

#1 2009-06-01 20:57:16

May-C
Member
Registered: 2007-12-28
Posts: 83

[Solved] Grub Profile without X

Often I have some problems with the ati drivers. As I usually use KDE I have kdm as daemon in the rc.conf. When I have problems with X it freezes. Only way to fix it is to use the install disc and chroot into my system.

Is there any way to have a seperate grub line which will prevent my system to start X? This would make it a lot easier for me! I was searching the wiki and the forum for some time without any success.

Last edited by May-C (2009-06-02 17:07:13)

Offline

#2 2009-06-01 21:29:29

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Grub Profile without X

I don't think it's handled by grub, check out /etc/inittab. You should set the default level to 3
id:3:initdefault:

I boot into console and my inittab looks like this

# Boot to console
id:3:initdefault:
# Boot into X11
#id:5:initdefault:

Offline

#3 2009-06-01 21:30:43

sisco311
Member
From: Romania
Registered: 2008-05-23
Posts: 112

Re: [Solved] Grub Profile without X

use inittab to start the x in runlevel 5
http://wiki.archlinux.org/index.php/Start_X_at_boot

add init=3 to the kernel line to boot without x

oh, and you can press e in grub to edit the menu and append the kernel line with the  single option to boot in single user mode (runlevel 1)

Last edited by sisco311 (2009-06-06 16:42:24)


don't drink unwashed fruit juice.
i never make predictions, especially about the future.

Offline

#4 2009-06-01 22:26:31

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: [Solved] Grub Profile without X

"1" or '3" in the kernel line is enough to boot to the respective runlevel.

Offline

#5 2009-06-02 02:12:13

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: [Solved] Grub Profile without X

I personnally put "5" in all of my grub entries. I keep the default to 3 in inittab. When something goes wrong, I simply edit the line (hitting "e" in grub) and remove the 5 to boot in run level 3 (multi-user).

Offline

#6 2009-06-02 17:07:42

May-C
Member
Registered: 2007-12-28
Posts: 83

Re: [Solved] Grub Profile without X

Works like a charm! Thanks a lot for the help smile

Offline

Board footer

Powered by FluxBB