You are not logged in.

#1 2012-09-16 20:35:55

David López
Member
Registered: 2012-08-26
Posts: 94

[SOLVED] Add a non graphical entry on grub

Hi. I've modified inittab to runlevel 5 to boot to X11, and I'm using the grub.cfg from the Arch installation, with 2 options (repo and fallback) that boot on X11 mode. I don't use any login manager (lightdm, gdm, slim, ...).

I'm happy with the X11 boot but I'd like to have the option to select a command line boot. Obviously changing inittab to runlevel 3 is not a solution for me, I don't want to lose the graphical boot. I don't know it repo or fallback entries in grub have a command line option hidden. If they haven't, maybe adding a grub entry colud help, something like that

- repo kernel with X11
- fallback with X11
- repo kernel in command line (new)

I don't know how to create this third entry in grub that ignores the runlevel 5 in inittab. Any idea? Thanks.

Last edited by David López (2012-09-16 22:29:14)

Offline

#2 2012-09-16 20:44:46

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 697
Website

Re: [SOLVED] Add a non graphical entry on grub

add 3 to kernel command line, see init(8) manpage

Offline

#3 2012-09-16 20:48:43

Gusar
Member
Registered: 2009-08-25
Posts: 3,449

Re: [SOLVED] Add a non graphical entry on grub

Just add a 3 at the end of the kernel line. You don't even need a new entry for this, simply enter the grub menu on boot and select to modify the command-line. Such modifications are temporary, they only affect the current boot.

Offline

#4 2012-09-16 22:28:55

David López
Member
Registered: 2012-08-26
Posts: 94

Re: [SOLVED] Add a non graphical entry on grub

Fantastic! Thanks a lot.

Mark this question as solved.

Offline

Board footer

Powered by FluxBB