Difference between revisions of "Grub2"

From RHS Wiki
Jump to navigation Jump to search
Line 15: Line 15:
 
[[File:Halcon-milenario3.jpg|thumbnail|center|Halcón Milenario]]
 
[[File:Halcon-milenario3.jpg|thumbnail|center|Halcón Milenario]]
 
[[File:Kali-grub.png|thumbnail|center|Kali]]
 
[[File:Kali-grub.png|thumbnail|center|Kali]]
 +
 +
== Boot order and default ==
 +
/boot/grub/grub.cfg
  
 
== Repair broken grub2 ubuntu ==
 
== Repair broken grub2 ubuntu ==

Revision as of 20:39, 15 February 2016

Change Grub2 background image

  1. Choose a background image following this criteria:
    • Format: PNG | JPG | JPEG | TGA
    • JPG/JPEG images must be 8-bit (256 color)
    • Images should be non-indexed, RGB
  2. Copy to Default folder: /usr/share/images/desktop-base/ or other folder
  3. Edit /etc/default/grub
    • Add: GRUB_BACKGROUND="/path/to/the/image.jpg"
  4. Run:
update-grub


Some images that will work:

Halcón Milenario
Kali

Boot order and default

/boot/grub/grub.cfg

Repair broken grub2 ubuntu

Boot from life usb

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair
boot-repair