Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Debian installer. Change the color.

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
bz009dev
Posts: 5
Joined: 2014-09-09 20:18

Debian installer. Change the color.

#1 Post by bz009dev »

Hi!

I'm building a custom ISO file for one of my projects and everything is going well but, there is just one little detail i cant figure out - how to change the colors...

I've been digging trough the contents of the ISO file, i've tried to search forums and Google but, i found not suggestions about how to change the colors in the debian installer.
I've tried to look at both Ubuntu and Debian about how to do this but, i am no closer to even finding out if this can be done.

Im talking about the backgound colors and text thats shown during the actual installation process.
The blue color on Debian: http://sql-info.de/static/images/2/2b/3 ... ssword.png
and the purple color on Ubunut: http://1.bp.blogspot.com/-h26jk-v9Zk8/T ... mini_4.png

#1: Is it even possible to change this color?
#2: If its possible to change this color, how can this be done and where can i find this information?

User avatar
kiyop
Posts: 3983
Joined: 2011-05-05 15:16
Location: Where persons without desire to improve themselves fear to tread, in Japan
Been thanked: 3 times

Re: Debian installer. Change the color.

#2 Post by kiyop »

It may be related to curses (ncurses) and dialog.
I found http://unix.stackexchange.com/questions ... plications
I can change the background color of dialog box to red by the above method.
You can expand initramfs of the debian installer and modify init script.
Openbox, JWM: Jessie, Sid, Arch / Win XP (on VirtualBox), 10
http://kiyoandkei.bbs.fc2.com/

bz009dev
Posts: 5
Joined: 2014-09-09 20:18

Re: Debian installer. Change the color.

#3 Post by bz009dev »

kiyop wrote:It may be related to curses (ncurses) and dialog.
I found http://unix.stackexchange.com/questions ... plications
I can change the background color of dialog box to red by the above method.
You can expand initramfs of the debian installer and modify init script.
Cheers for the tip kiyop!

I'll check it in the morning (its 03:28 here now) but, just to make sure i understand:
- you are refereing to initrd.gz thats located within the install directory of the ISO
- after extracting that, modify the init script that located on the root level within the initrd.gz archive?

User avatar
kiyop
Posts: 3983
Joined: 2011-05-05 15:16
Location: Where persons without desire to improve themselves fear to tread, in Japan
Been thanked: 3 times

Re: Debian installer. Change the color.

#4 Post by kiyop »

bz009dev wrote:you are refereing to initrd.gz thats located within the install directory of the ISO
It depends on the iso file and you can find correct one in configuration file of the kernel loader used in the iso.
For example, the initramfs file is written in /isolinux/isolinux.cfg or the files described in the file for isolinux kernel loader.
bz009dev wrote:after extracting that, modify the init script that located on the root level within the initrd.gz archive?
Yes. The init script may execute some other scripts such as those in /script (?) directory. So, you can modify such scripts too.
Openbox, JWM: Jessie, Sid, Arch / Win XP (on VirtualBox), 10
http://kiyoandkei.bbs.fc2.com/

bz009dev
Posts: 5
Joined: 2014-09-09 20:18

Re: Debian installer. Change the color.

#5 Post by bz009dev »

I figured out what is controlling the colors.

Under Ubuntu 14.04, there is a file called /etc/newt/palette.ubuntu. This file appears to contain the color scheme of the installer.
If you pass something like, FRONTEND_BACKGROUND=dark, as a kernel parameter you will get the high-contrast background.

I'll still have to experiment a bit with the color themes but, it looks like this is the way to do it.

User avatar
kiyop
Posts: 3983
Joined: 2011-05-05 15:16
Location: Where persons without desire to improve themselves fear to tread, in Japan
Been thanked: 3 times

Re: Debian installer. Change the color.

#6 Post by kiyop »

bz009dev wrote:Under Ubuntu 14.04, there is a file called /etc/newt/palette.ubuntu. This file appears to contain the color scheme of the installer.
If you pass something like, FRONTEND_BACKGROUND=dark, as a kernel parameter you will get the high-contrast background.
Thank you for giving nice information! :D
Openbox, JWM: Jessie, Sid, Arch / Win XP (on VirtualBox), 10
http://kiyoandkei.bbs.fc2.com/

bz009dev
Posts: 5
Joined: 2014-09-09 20:18

Re: Debian installer. Change the color.

#7 Post by bz009dev »

Your welcome! :)

Post Reply