Cobra Forum

Linux => New to Ubuntu => Topic started by: mahesh on Sep 21, 2023, 06:07 AM

Title: How to reboot to runlevel 3?
Post by: mahesh on Sep 21, 2023, 06:07 AM
I'm helplessly trying to reboot my Ubuntu 20.04 LTS to runlevel 3 to install/check nVidia drivers for the eGPU.
Following guide on nVidia pages, it is necessary step.
The problem is when I add "3" to the GRUB_CMDLINE_LINUX_DEFAULT, update grub and reboot, machine hangs after checking cleanines of the filesystem - that is the only message showing up. Yet, I can issue shutdown by pressing physical power button. But there is no shell, no boot messages, nothing.
Any help is appreciated. I made it to reboot back to the normal runlevel removing "3" from the GRUB_CMDLINE_LINUX_DEFAULT during boot and it works like a charm again. Still I can't reboot to runlevel 3.

Boot mode: UEFI, Secure Boot disabled in BIOS.

     Code:
GRUB_DEFAULT="Advanced options for Ubuntu>Ubuntu, with Linux 5.8.0-49-generic"
GRUB_TIMEOUT_STYLE="hidden"
GRUB_TIMEOUT="5"
GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
GRUB_CMDLINE_LINUX_DEFAULT=" quiet splash noresume "
GRUB_CMDLINE_LINUX=""

modification to boot to runlevel 3:

     Code:
GRUB_DEFAULT="Advanced options for Ubuntu>Ubuntu, with Linux 5.8.0-49-generic"
GRUB_TIMEOUT_STYLE="hidden"
GRUB_TIMEOUT="5"
GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
GRUB_CMDLINE_LINUX_DEFAULT=" quiet splash noresume 3 "
GRUB_CMDLINE_LINUX=""

So my question is: what should I do, to sucessfully reboot to the runlevel 3 with shell working?