--- linux-2.4.19/drivers/video/fbcon.c 2002-08-14 12:48:51.000000000 +0200 +++ linux/drivers/video/fbcon.c 2002-08-14 12:21:16.000000000 +0200 @@ -1950,12 +1950,13 @@ int unit = conp->vc_num; struct display *p = &fb_display[unit]; int i, j, k; + int *m_colors = (int[]) {0,1,7,3,4,5,6,2,8,9,15,11,12,13,14,10}; u8 val; if (!conp->vc_can_do_color || (!p->can_soft_blank && console_blanked)) return -EINVAL; for (i = j = 0; i < 16; i++) { - k = table[i]; + k = table[m_colors[i]]; val = conp->vc_palette[j++]; palette_red[k] = (val<<8)|val; val = conp->vc_palette[j++]; --- linux-2.4.19/drivers/video/vgacon.c 2002-08-14 12:48:53.000000000 +0200 +++ linux/drivers/video/vgacon.c 2002-08-03 13:38:09.000000000 +0200 @@ -487,9 +487,10 @@ static void vga_set_palette(struct vc_data *c, unsigned char *table) { int i, j ; + int *m_colors = (int[]) {0,1,7,3,4,5,6,2,8,9,15,11,12,13,14,10}; for (i=j=0; i<16; i++) { - outb_p (table[i], dac_reg) ; + outb_p (table[m_colors[i]], dac_reg) ; outb_p (c->vc_palette[j++]>>2, dac_val) ; outb_p (c->vc_palette[j++]>>2, dac_val) ; outb_p (c->vc_palette[j++]>>2, dac_val) ;