Results 1 to 6 of 6

Thread: Changing the boot text color

  1. #1
    Junior Member
    Join Date
    Jun 2006
    Posts
    2

    Changing the boot text color

    I want to change the text displayed during boot to green. Everything after the boot loader, and prior to x.

    I havent found any info on it, but it was done on knoppix I recall.

    Can someone point me in the right direction?

    i am running Debian Etch 2.6.15

  2. #2
    Member registered user
    Join Date
    Jun 2004
    Posts
    89
    You need to play with linuxrc, inside minirt.gz.

  3. #3
    Junior Member
    Join Date
    Jun 2006
    Posts
    2
    thanks, anything more specific?

  4. #4
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    Quote Originally Posted by hyperlife
    thanks, anything more specific?
    search this forum for linuxrc and then google search for bash shell and colors.

  5. #5
    Member registered user
    Join Date
    Nov 2004
    Posts
    43
    Quote Originally Posted by UnderScore
    Quote Originally Posted by hyperlife
    thanks, anything more specific?
    search this forum for linuxrc and then google search for bash shell and colors.
    I did that and found next to nothing. After playing around with it for an hour or two I discovered it's pretty easy. I'm sure UnderScore and other could have answered this off the top of thier heads - I'm not sure why they don't. Anyway here it is, so we can check it off the list as something that's now well documented:

    1) find minirt.gz (or minirt24.gz, etc depending on your version) in your boot directory
    2) Bash commands:
    gunzip minirt.gz (or minirt24.gz, etc) # extract the contents, it will extract as a single file
    mkdir temp # create a temporary directory as a mount point for the file
    mount -o loop minirt temp # mount the extracted contents into the 'temp' directory
    vi temp/linuxrc # edit the bash script containing the boot sequence

    3) while editing linuxrc (last step above) you should be able to easily locate the part you want to change. Save your changes.
    4) umount temp
    5) gzip -9 minirt (or minirt24, etc. - whatever the filename is)
    6) You're done. If you were smart you did this to a copy of the original. Rename the original something else as a backup.

  6. #6
    Senior Member registered user
    Join Date
    Apr 2005
    Location
    italy
    Posts
    245
    Frankly I've extracted the 'linuxrc' from my 3.8.2 install and it looks like something poor:
    Code:
    #!/bin/sh
    #
    # $Id: linuxrc,v 1.11 2004/04/26 12:04:46 herbert Exp $
    
    export PATH=/sbin:/bin
    
    mount -nt proc proc proc
    root=$(cat proc/sys/kernel/real-root-dev)
    echo 256 > proc/sys/kernel/real-root-dev
    mount -nt tmpfs tmpfs bin ||
            mount -nt ramfs ramfs bin
    echo $root > bin/root
    Maybe a useful file to hack is '/etc/init.d/knoppix-autoconfig'.
    In it there is stuff like the colored kernel version prompt at boot:
    Code:
    KERNEL="$(uname -r)"
    echo "${GREEN}Running Linux Kernel ${YELLOW}$KERNEL${GREEN}.${NORMAL}"

Similar Threads

  1. Changing the Bootscreen and Text
    By Dr4k3 in forum Customising & Remastering
    Replies: 1
    Last Post: 10-17-2004, 07:52 PM
  2. Replies: 1
    Last Post: 10-13-2004, 11:06 PM
  3. text color 'shifted' in XFree86 4.3 and Mozilla 1.3
    By garyng in forum General Support
    Replies: 5
    Last Post: 04-06-2003, 10:15 AM
  4. how to set X color depth at boot time?
    By mda in forum General Support
    Replies: 5
    Last Post: 04-01-2003, 02:05 AM
  5. [u]Crashing[/u].....[b][color=red]HELP PLEASE[/color][/b]
    By johncarlson21 in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 01-22-2003, 08:23 AM

Posting Permissions

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


Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p picture

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p

$499.88



VMware vCenter Server 8 STANDARD Perpetual License Key VC-STD-C (Legacy Pack) picture

VMware vCenter Server 8 STANDARD Perpetual License Key VC-STD-C (Legacy Pack)

$1599.95



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



MICROSOFT WINDOWS SERVER 2025 RDS 50 CAL NEW Factory Sealed picture

MICROSOFT WINDOWS SERVER 2025 RDS 50 CAL NEW Factory Sealed

$136.87



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W

$484.99



Supermicro 2U GPU Server SYS-2029GP-TR 2x Xeon 6130 32C 6x PCIe 3.0 x16 Slots picture

Supermicro 2U GPU Server SYS-2029GP-TR 2x Xeon 6130 32C 6x PCIe 3.0 x16 Slots

$745.00



Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO picture

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO

$308.00



USED Dell EMC PowerEdge R740 BAREBONES Server NO RAM HDD or CPU,  2x 750w PSU 🚚 picture

USED Dell EMC PowerEdge R740 BAREBONES Server NO RAM HDD or CPU, 2x 750w PSU 🚚

$170.00



DELL POWEREDGE R340 Server | Xeon E-2126G 64GB RAM PERC H330 (Onboard) picture

DELL POWEREDGE R340 Server | Xeon E-2126G 64GB RAM PERC H330 (Onboard)

$399.95



Windows Server 2025 Standard Edition - 24 Core License picture

Windows Server 2025 Standard Edition - 24 Core License

$238.00