You are not logged in.

#1 2010-09-17 13:23:22

kzlazy
Member
Registered: 2010-03-01
Posts: 45

[SOLVED] How can I start the laptop in console mode?

In fact, I would like to login from console mode (or be able to browse through the filesystem), to edit the /etc/rc.conf file, before the startup procedure runs the daemons.

How can I do that?

Last edited by kzlazy (2010-09-17 14:44:35)


Now there sits a man with an open mind. You can feel the draft from here...
Groucho Marx

Offline

#2 2010-09-17 13:26:24

Zom
Member
From: Sweden
Registered: 2007-10-27
Posts: 430

Re: [SOLVED] How can I start the laptop in console mode?

Add "single" to the kernel line in your bootloader.

Last edited by Zom (2010-09-17 13:26:43)

Offline

#3 2010-09-17 13:27:54

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

Re: [SOLVED] How can I start the laptop in console mode?

Zom wrote:

Add "single" to the kernel line in your bootloader.

http://wiki.archlinux.org/index.php/Arc … Frc.single

Offline

#4 2010-09-17 13:37:56

kzlazy
Member
Registered: 2010-03-01
Posts: 45

Re: [SOLVED] How can I start the laptop in console mode?

Thank you for the quick replies. So there is my problem. I installed Arch on an old laptop with xfce. I had to interrupt for a while and then by mistake wrote "gdm" instead of "xorg-xdm" in the daemons array of /etc/rc.conf

Now the boot process ends up in gdm login and then... nothing. I want a way to edit /etc/rc.conf

So, what can I do to be able to do so?

Thanx in advance


Now there sits a man with an open mind. You can feel the draft from here...
Groucho Marx

Offline

#5 2010-09-17 13:39:59

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

Re: [SOLVED] How can I start the laptop in console mode?

kzlazy wrote:

Thank you for the quick replies. So there is my problem. I installed Arch on an old laptop with xfce. I had to interrupt for a while and then by mistake wrote "gdm" instead of "xorg-xdm" in the daemons array of /etc/rc.conf

Now the boot process ends up in gdm login and then... nothing. I want a way to edit /etc/rc.conf

So, what can I do to be able to do so?

Thanx in advance

The 'single' mode didn't work?

Offline

#6 2010-09-17 13:42:29

kzlazy
Member
Registered: 2010-03-01
Posts: 45

Re: [SOLVED] How can I start the laptop in console mode?

I am a step before that. How can I start in the single mode?

I saw the link but do not know what to do to get there.


Now there sits a man with an open mind. You can feel the draft from here...
Groucho Marx

Offline

#7 2010-09-17 13:45:08

Varg
Member
From: Belgium
Registered: 2010-07-07
Posts: 272

Re: [SOLVED] How can I start the laptop in console mode?

So gdm works and X is running but you just can't login with it ?
Normally you should be able to launch a Xfce session from gdm and when X is running you can press ctrl + alt + F1-F6 to get in a console. ( F1-F6 means you can choose from F1 to F6 and F7 to get back in X )

Offline

#8 2010-09-17 13:50:10

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

Re: [SOLVED] How can I start the laptop in console mode?

kzlazy wrote:

I am a step before that. How can I start in the single mode?

I saw the link but do not know what to do to get there.

On the grub menu pick Arch, press 'e' to edit, pick the kernel line - the one that looks somewhat like:

kernel /vmlinuz26 root=/dev/disk/by-uuid/bf1d191b-0f0d-4961-bd67-4d023a2e5873 ro

When you press 'e' you (for the second time) you will be able to edit the line; just append 's' so it looks like this

kernel /vmlinuz26 root=/dev/disk/by-uuid/bf1d191b-0f0d-4961-bd67-4d023a2e5873 ro s

Now press ESC to exit the edit mode and 'b' to boot this configuration.
You will be asked for root password, so just do the necessary modifications and get out of there i.e. save changes and reboot.

http://www.linfo.org/change_to_single_user.html

Last edited by karol (2010-09-17 13:52:17)

Offline

#9 2010-09-17 13:52:20

kzlazy
Member
Registered: 2010-03-01
Posts: 45

Re: [SOLVED] How can I start the laptop in console mode?

Thank you all.

ctrl+alt+F1 got me where i wanted.

[offtopic] Wow! you are very fast [/offtopic]

edit: I just saw your post Karol. Nice to know too.

Last edited by kzlazy (2010-09-17 13:55:01)


Now there sits a man with an open mind. You can feel the draft from here...
Groucho Marx

Offline

Board footer

Powered by FluxBB