For a completely unrelated problem, I ran update-grub
following the instructions in user62644's answer to this post. Ever since, the GUI has been loading by default upon boot, and I have to type Ctrl+Alt+F1 to access the bash shell. I would like the bash shell to load by default upon startup, and just type startx
whenever I need the GUI. I'm running Ubuntu 12.04 LTS.
Asked
Active
Viewed 88 times
2
2 Answers
3
Edit /etc/default/grub
and change this:
GRUB_CMDLINE_LINUX_DEFAULT="acpi=noirq quiet splash"
to this:
GRUB_CMDLINE_LINUX_DEFAULT="acpi=noirq quiet text"
This assumes you actually need the acpi=noirq that was in the linked answer. I can't tell you that, it depends on your hardware. Anyway, once you've done this, refresh grub
:
sudo update-grub
And you should now load directly to text.

terdon
- 100,812
2
Use
sudo update-rc.d lightdm remove
And you will see desired bash logon shell on startup
To restore:
sudo update-rc.d lightdm defaults

Danatela
- 13,243
- 11
- 45
- 72
-
Thank you! I hesitated which answer to pick, but I felt that @terdon's answer also took into account the context of the previous instructions I had followed. I will remember your solution in case I encounter this again in the future. – biohazard Mar 11 '14 at 04:48
acpi=noirq
part. Originally, the settings wereGRUB_CMDLINE_LINUX_DEFAULT=""
and changing it did not solve the problem it claimed to solve, aka. system hangs upon shutdown (which I solved by usingshutdown -HR
). To make things short, I have no clue whether or not I needacpi=noirq
... – biohazard Mar 11 '14 at 04:40shutdown -r
though, that just reboots. Anyway, the main thing is addingtext
, that should cause you to boot into text mode. – terdon Mar 11 '14 at 04:42shutdown -HR now
(power actually went off). I actually haven't triedshutdown -r
. Edited my comment above. – biohazard Mar 11 '14 at 04:43shutdown -HP now
!!! I'm so confused. – biohazard Mar 11 '14 at 04:52