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]]
 +
 +
== 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

Revision as of 13:02, 1 December 2015

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

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