You need to play with linuxrc, inside minirt.gz.
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
You need to play with linuxrc, inside minirt.gz.
thanks, anything more specific?
![]()
search this forum for linuxrc and then google search for bash shell and colors.Originally Posted by hyperlife
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:Originally Posted by UnderScore
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.
Frankly I've extracted the 'linuxrc' from my 3.8.2 install and it looks like something poor:
Maybe a useful file to hack is '/etc/init.d/knoppix-autoconfig'.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
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}"

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90
Samsung 32GB (1x32GB) PC4-17000 (DDR4-2133) LRDIMM Memory (M386A4G40DM0-CPB0Q)
$120.00
2 in 1 USB 3.0 Card Reader Micro TF card Reader usb adapter High Speed Cardreder
$3.99
1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot
$234.00
LOT OF 17/ Micron/Hynix/Sam/ 16GB PC4- 3200 /2666V /2400/ DDR4 Laptop Memory
$980.00
Samsung 96GB LPCAMM2 PC5 9600 FE1 E1 LPDDR5X CAMM2 M561K6LC3CL1-CCV DDR5 Memory
$2150.00
Samsung (21x16GB) 336GB 1Rx8 PC4-3200AA, PC4-2666V Laptop Memory DDR4
$1499.00
NMA1XXD128GPS Intel Optane 1X128GB DDR4 PC4-21300 DCPMM Persistent Server Memory
$75.00
2 Pack USB C SD TF Card Reader Adapter Zinc Alloy USB-C to USB for iPhone 15-17
$3.35
SMART(Micron)SafeStor 32GB(1X32GB) 1RX4 NN4-3200AA(DDR4) HPE Server Memory
$159.98