Page 6 of 8 FirstFirst ... 45678 LastLast
Results 51 to 60 of 75

Thread: HOWTO: Spice up your boot text [font resolution and color]

  1. #51
    Join Date
    Jan 2006
    Location
    Mississippi
    Beans
    907
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO: Spice up your boot text [font resolution and color]

    Dragging this post up yet again... modified the hack for Dapper if anyone is interested.

    As was posted above:
    printf '[ '
    $TPUT setaf 2 # green
    printf ok
    $TPUT op # normal
    echo ' ]'
    To get blue brackets surrounding the "ok" text, modify the above to look like this:
    Code:
    $TPUT setaf  4 # blue
    printf '[ '
    $TPUT setaf  2 # green
    printf ok
    $TPUT setaf  4 # blue
    echo ' ]'
    $TPUT op  # normal
    Important notations:

    1- Make sure there are two (2) spaces between setaf / op and the # sign... if you don't - you'll need a rescue cd to get in and make the changes.

    2- If the cursor wraps to the next line, it will flash as blue... don't worry, it goes back to white

    wOOt! My first hack. Although small, it's encouraging none-the-less!!!
    Last edited by southernman; August 19th, 2007 at 02:52 PM.
    ... in myself i am nothing exactly no thing i am only a mirror in which others see aspects of themselves and attribute the resulting concepts to me but i am also an other to my self

  2. #52
    Join Date
    Aug 2007
    Location
    ooty
    Beans
    17
    Distro
    Xubuntu 8.10 Intrepid Ibex

    Re: HOWTO: Spice up your boot text [font resolution and color]

    Thats wonderful
    I would like to add these

    Vga value for various res

    640×480 - 785
    800×600 - 788
    1024×768 - 791
    1152×864 - 355
    1280×1024 - 794
    1600×1200 - 798

  3. #53
    Join Date
    Nov 2007
    Beans
    4

    Ubuntu Gutsy ?: Spice up your boot text [font resolution and color]

    Does anyone know how this can be done under Gutsy?

    And: Is there a way to define these colors when using usplash?

    Thanks
    xasx

  4. #54
    Join Date
    Nov 2007
    Beans
    2

    Re: Ubuntu Gutsy ?: Spice up your boot text [font resolution and color]

    Hi xasx,

    Yep, the green OK and white [] works with Gutsy, I just did it

    Jamie

  5. #55
    Join Date
    Sep 2005
    Location
    Cumbria
    Beans
    15
    Distro
    Xubuntu 8.04 Hardy Heron

    Re: HOWTO: Spice up your boot text [font resolution and color]

    hi folks, good work it seems, only on my gutsy box it doesn't seem to apply...

    i don't have an /etc/lsb-base-logging.sh file, and the /lib/lsb/init-functions is not helpful either.

    what i want should be really simple - and that is to turn all the text green

    ...got a bit of green theme going on...

  6. #56
    Join Date
    Jan 2007
    Beans
    78

    Re: HOWTO: Spice up your boot text [font resolution and color]

    @FoolishGhoul: I'm using Gutsy myself and everything works fine. The file does exist here.

  7. #57
    Join Date
    Apr 2007
    Location
    /dev/random
    Beans
    3,052

    Re: HOWTO: Spice up your boot text [font resolution and color]

    Could someone please summarise how to do this in Gutsy? I'm confused now and I don't want to botch up my installation. :<

    I understand the file we want to change is now /etc/lsb-base-logging.sh, but what to change and where?

    I'd love to get mine to display as http://ubuntuforums.org/attachment.p...6&d=1126560896 does. This includes getting the success/fail text all the way to the left.
    ...

  8. #58
    Join Date
    May 2007
    Location
    Philadelphia
    Beans
    Hidden!
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: HOWTO: Spice up your boot text [font resolution and color]

    For anyone who wants to do this in Gusty or Hardy, there's currently a bug where adding the vga= line to your bootoptions will result in a black bootup screen and ttys. Here's the bug page: https://bugs.launchpad.net/ubuntu/+s...ls/+bug/129910. I got it working thank's to Caravel's post (which I can't seem to find anymore), but only at 1024x768 (my native resolution is 1440x900).

  9. #59
    Join Date
    Apr 2007
    Location
    /dev/random
    Beans
    3,052

    Re: HOWTO: Spice up your boot text [font resolution and color]

    I got the vga lines to work after adding
    Code:
    fbcon
    vesafb
    nvidiafb
    ...to /etc/initramfs-tools/modules, and commenting vesafb and nvidiafb in /etc/modprobe.d/blacklist-framebuffer.

    I don't know which of fbcon/vesafb/nvidiafb did the trick, but now my vga=0x031a option works.

    But, again, could someone please explain what I need to do to get purdy colors and possibly left-aligned ok/failed stamps during the boot - in Gutsy? This thread would've helped greatly if it weren't written for earlier versions, and the changes needed to make it work in Dapper+ are only fragments from which I can't piece together much. :<

    Code:
    $TPUT setaf  4 # blue
    printf '[ '
    $TPUT setaf  2 # green
    printf ok
    $TPUT setaf  4 # blue
    echo ' ]'
    $TPUT op  # normal
    ...where??
    ...

  10. #60
    Join Date
    Jun 2005
    Beans
    Hidden!

    Re: HOWTO: Spice up your boot text [font resolution and color]

    http://ubuntuforums.org/showpost.php...6&postcount=45

    the location and the things needed to be changed haven't changed since then.

Page 6 of 8 FirstFirst ... 45678 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •