Linux question, followup…

Thanks to everybody who replied to my previous inquiry about booting Ubuntu in text mode. Eventually, I managed to figure out a solution, sort of, after combining several of the tips.

Much of the advice was sound but didn’t really apply in one way or another. For example, Ubuntu 11.04 uses GRUB2, which apparently differs significantly from the old GRUB. This means that many of the proposed solutions didn’t apply (unless I had reinstalled using the old GRUB, I don’t know). There’s no /etc/inittab, no menu.lst, editing the boot menu works differently, the vga= parameter is no longer supported, etc.

The Ctrl-Alt-F1 (etc) suggestions sort of worked, but gave me the same small font, plus I really wanted the system to *start up* in text mode.

The reason I chose Ubuntu in the first place was because it’s popular.  My Secret Project (oh, the suspense ;-) involves building something on top of an Unixoid system, and Ubuntu seemed like a logical choice; it’s very actively developed, has drivers for a lot of hardware, etc. But on second thought, it might not have been a good choice for my purposes. Ubuntu strives to provide a smooth, user-friendly experience, which implies a desktop GUI. Support for terminals that boot up in text mode is, understandably, not their first priority.

However, there *are* Linuxen with different priorities. As reader “Kerobaros” pointed out in a comment, ArchLinux may be a better choice. So after a lot of fruitless experimenting with all the advice mentioned in the other comments, I decided, what the heck, I’ll give it a try. (It uses the old GRUB, so that made things easier as well.)

At first it did the same thing as Ubuntu: I could set the VGA mode/resolution in GRUB, and it would start up using that mode, but at some point during the booting process the screen would fall back to the 1024×768-based font. (I figure most people would actually prefer that font, since it’s much more crisp, and more text is visible on the screen, but for my old eyes, it’s not so good.)

Then eventually I read somewhere that this behavior is something that newer kernels do, and that the nomodeset option stops it from happening. It didn’t actually do that on Ubuntu 11.04, but it did on ArchLinux. So now I finally have a Linux install that sets the right font (80×25) and *keeps* it. ^_^

~

I did offer a bounty to the person who could solve this problem. Oddly enough, the “golden tip” turned out to be the suggestion to use Arch Linux. Several people mentioned “nomodeset”, and while it didn’t have the desired effect on Ubuntu, it does work properly with Arch. Given that I couldn’t get any of the other tips to work with Ubuntu 11 at all, I think that Kerobaros should get his pick of the prizes, if he/she wishes.

6 Comments

  1. Joost said,

    June 28, 2011 @ 1:48 am

    Had you thought about the Server edition of Ubuntu?

  2. Adam Skutt said,

    June 28, 2011 @ 4:53 am

    If you want nearly everything Ubuntu has to offer but a text mode install, either use the Ubuntu server edition, or use Debian. Don’t use Arch unless you really like partying like it’s 1999… in 2011.

    The only thing Debian lacks that anyone might need is multiarch support, and unfortunately the sanest multiarch support is still provided by RedHat.

  3. Hans Nowak said,

    June 28, 2011 @ 8:59 am

    @Joost: I tried it, but it refused to install… I booted from an external CD drive (the netbook doesn’t have one) and then the installer, for some reason, refused to recognize the CD-ROM; the same CD-ROM that it was booting from. (!?) Debian did the same thing, by the way.

  4. Adam said,

    June 28, 2011 @ 1:39 pm

    Did you try my suggestion to get a large font in the virtual terminals? It works for me, what happens when you do it?

  5. Hans Nowak said,

    July 2, 2011 @ 7:05 pm

    It does sort of work, but I don’t like the large fonts… :(

  6. Brandon Craig Rhodes said,

    July 18, 2011 @ 9:37 am

    Hans, I am sorry that I am seeing your question so late! Linux always boots in text mode. Distributions like Ubuntu then hide the text screen by running an X Windows server on top of the text screen; but if you disable X, then the text screen will be what you see when Ubuntu is done booting. The X windows system is started by “gdm” in Ubuntu, the “Gnome Display Manager”, which you can “turn off” by disabling its init script:

    $ sudo update-rc.d gdm disable

    On the next reboot following this command, you should be greeted by a text screen.

RSS feed for comments on this post