Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
6
rated 0 times [  6] [ 0]  / answers: 1 / hits: 6727  / 1 Year ago, thu, april 6, 2023, 12:13:39

A while ago, i reinstalled 12.04 on my computer and a few day later when My system restarts after updating itself, the grub is no longer purple. It is just black and I didn't change anything that could do that. my system works fine and there is no problems with anything. I just don't like looking at a black grub while waiting in the booting process. Can you change the grub back to being purple or choose a different color?


More From » 12.04

 Answers
1

In terminal type



sudo gedit /lib/plymouth/themes/default.grub



  • for Saucy:



    sudo gedit /lib/plymouth/themes/ubuntu-logo/ubuntu-logo.grub

  • for Bionic (18.04)



    sudo gedit /usr/share/plymouth/themes/ubuntu-gnome-logo/ubuntu-gnome-logo.grub



And you can change the grub background colour by changing the values of the 3 in numbers in the text document.



Black is this



if background_color 0,0,0 ; then
clear
fi


and purple is this



if background_color 44,0,30 ; then
clear
fi


Once you have finished editing that file save it and run



sudo update-grub


Refrences here and here.


[#31810] Friday, April 7, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
taigysel

Total Points: 33
Total Questions: 136
Total Answers: 114

Location: Singapore
Member since Wed, Jan 13, 2021
3 Years ago
;