[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: boot in console mode from grub2



On Mon, May 5, 2014 at 5:38 AM, Andrei POPESCU <andreimpopescu@gmail.com> wrote:
> On Lu, 05 mai 14, 04:58:14, Tom H wrote:
>> On Mon, May 5, 2014 at 4:29 AM, François Patte
>> <francois.patte@mi.parisdescartes.fr> wrote:
>>>
>>> I would like to boot in console mode from the grub screen (ie not in
>>> graphic mode), but I don't want to be in single user mode, ie.: I want
>>> to have a "normal boot" without X.
>>>
>>> I can't find any tuto for grub2 installed on my system.
>>
>> This is a function of initramfs-tools and not of grub.
>>
>> Add "text" to the kernel cmdline.
>
> This is actually a feature implemented in the initscript of some display
> managers. E.g. /etc/init.d/lightdm has this
>
> if grep -wqs text /proc/cmdline; then
>     log_warning_msg "Not starting Light Display Manager (lightdm); found 'text' in kernel commandline."
> [...]
> fi
>
> Last time I looked into it this feature wasn't supported by all display
> managers, most notably kdm.

I'm an idiot. I was thinking "this isn't right" when I wrote my previous email.

This used to be available in gdm (and perhaps still is) in Debian. I
first discovered it in Ubuntu and did quite some head-scratching
because I wouldn't work in Fedora (where there's a runlevel 3 anyway)
and I couldn't find it in the initramfs. And then I found it in the
gdm init script...

Since lightdm's developed by Ubuntu perhaps "text" is usable in
non-Debian--based distros.


Reply to: