You are not logged in.

#1 2009-07-01 15:52:47

Verminoz
Member
From: Greece
Registered: 2008-08-17
Posts: 47
Website

Fallback kernel loads X

The fallback kernel on my arch installation loads X server when I started. Isn't the fallback image supposed not to start X and go straight to pure console login? How can I change that back? It is a problem when you're playing around especially with X, because by loading the fallback image you can fix whatever crashes X server.

Thanks in advance.


Ohne Musik ware das Leben ein Irrtum

Offline

#2 2009-07-01 15:54:38

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,383
Website

Re: Fallback kernel loads X

You probably have "ro 5" or something like that in your grub line.

Offline

#3 2009-07-01 21:12:10

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: Fallback kernel loads X

I see the same behavior,
no "5" in the kernel grub line.

Offline

#4 2009-07-02 14:58:56

Verminoz
Member
From: Greece
Registered: 2008-08-17
Posts: 47
Website

Re: Fallback kernel loads X

But is it indeed a grub configuration matter?


Ohne Musik ware das Leben ein Irrtum

Offline

#5 2009-07-02 15:13:02

Brownigan09
Member
Registered: 2008-08-01
Posts: 27

Re: Fallback kernel loads X

You can edit your menu.lst and append '3' to the kernel grub line as a workaround.

Also, you know you can just hit ctrl+alt+f1 to get to a console right?


Simplicity is the ultimate sophistication
~Leonardo da Vinci

Offline

#6 2009-07-02 16:02:35

Verminoz
Member
From: Greece
Registered: 2008-08-17
Posts: 47
Website

Re: Fallback kernel loads X

Brownigan09 wrote:

You can edit your menu.lst and append '3' to the kernel grub line as a workaround.

Also, you know you can just hit ctrl+alt+f1 to get to a console right?

Yes I know! I just want the fallback kernel not to load X at all. I prefer it like that smile

So I change this:

# (1) Arch Linux
title  Arch Linux Fallback
root   (hd0,5)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/c5b79c39-019c-4d95-88f7-92124ee9340d ro
initrd /boot/kernel26-fallback.img

to this

# (1) Arch Linux
title  Arch Linux Fallback
root   (hd0,5)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/c5b79c39-019c-4d95-88f7-92124ee9340d ro 3
initrd /boot/kernel26-fallback.img

right???

Last edited by Verminoz (2009-07-02 16:03:15)


Ohne Musik ware das Leben ein Irrtum

Offline

#7 2009-07-02 16:07:17

Brownigan09
Member
Registered: 2008-08-01
Posts: 27

Re: Fallback kernel loads X

Yep, that should work.


Simplicity is the ultimate sophistication
~Leonardo da Vinci

Offline

#8 2009-07-02 18:36:19

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Fallback kernel loads X

The kernel itself as nothing to do with loading X or not. /etc/inittab defines your default runlevel. Optionally you can define a kernel parameter in GRUB or Lilo to do that, but that's one of the less popular options.

I personally only use GRUB to set the runlevel when I can't boot into X anymore and have to fix it.

Keep in mind the only thing the fallback kernel does - by default - is booting with an initrd that should be more failsafe than your default one (which should be slimmer).


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#9 2009-07-02 19:51:05

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: Fallback kernel loads X

the problem is that fallback should not boot to GUI, while it does.

You can edit your menu.lst and append '3' to the kernel grub line as a workaround.

Also, you know you can just hit ctrl+alt+f1 to get to a console right?

wrong suggestion, X is still up, so one needs to kill X before fixing X or installing video driver on offline kernel

Offline

Board footer

Powered by FluxBB