[PLUG] how to enter in "Single user mode"

Arindam arindam.mukerjee at gmail.com
Thu Sep 7 13:34:24 IST 2006

On 9/7/06, Pushparajan V <vprajan at gmail.com> wrote:
> Hi,
> FYI: Let me add a point to this,
> If you have GRUB installed, you can add the runlevel number to the end
> as a kernel parameter.
> Look in /boot/grub/grub.conf for:
>    kernel /boot/vmlinuz-2.6.17-1.2139_FC4 ro root=LABEL=/ rhgb quiet
> Change this to:
>    kernel /boot/vmlinuz-2.6.17-1.2139_FC4 ro root=LABEL=/ rhgb quiet 1

Yes, that adds flexibility. Indeed you can keep your /etc/inittab file
untouched. However, I would prefer not to modify my grub.conf for
this, instead edit the grub command-line at the time of booting ...
when I need to.

First up, comment out the "hiddenmenu" directive in the grub.conf, so
that the annoying splash screen at least gives you an option to choose
which kernel to boot.
Next, press e to edit the command-line, add the necessary runlevel
number and Enter!

Old timers might remember that doing this LILO was rather simple from
the LILO: prompt ... you just had to say "linux 3" or "linux 5". But
grub rocks!

I also suspect, the OP does not really mean to get into run-level 1
... although he is talking of Single User mode. From his post, I guess
he needs the text console to show up by default. He wants to start X
only if he needs to.

-- Arindam
Yes of course! Post inline.
> Is there a better way to do it?
>> Because you read replies before the questions.
>>> Why is top-posting bad?

More information about the Plug-mail mailing list