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)
add 3 to kernel command line, see init(8) manpage
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.
Fantastic! Thanks a lot.
Mark this question as solved.