You are not logged in.

#1 2016-05-09 02:06:43

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Share your 40/41_Custom Grub Scripts

Hey everyone,

So I figure we can have a thread based on our own customized grub bootloader options.  I've noticed that grub2 allows for a very wide and broad selection of customization options that really let you fine tune the boot process, or at least provide different visuals for the boot menu. Anyone wish to share their /etc/default/grub  file, and perhaps a screen shot of your grub boot menu?  Or at least describe how / what you've done to customize and change yours around to better fit your needs.

My own grub conf is pretty stock so far, but I'll be doing some research tomorrow to see what I can configure and change. The only thing I've done so far is add a wallpaper with:

GRUB_BACKGROUND="/home/kingghidorah/Downloads/K-G.jpg"

but I think I"m going to add an option for memtest, and change some of the timers around. Apparently changing the font color shouldn't be too hard either, so I may do that tomorrow as well.

Anyone else want to bite?

Last edited by Horizon_Brave (2016-05-16 19:55:01)


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#2 2016-05-09 06:33:19

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Share your 40/41_Custom Grub Scripts

Well, this is my /boot/grub/grub.cfg:
https://github.com/Head-on-a-Stick/conf … cfg.alpine

empty@alpine ~ % cat /etc/default/grub
cat: /etc/default/grub: No such file or directory
1 empty@alpine ~ %                                                                     :(

What is this strange file of which you speak?
8o

Last edited by Head_on_a_Stick (2016-05-09 06:34:48)

Offline

#3 2016-05-09 17:40:08

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: Share your 40/41_Custom Grub Scripts

ehh not sure if you're being serious lol.

kingghidorah@kingghidorah:/etc/default$ ls -l /etc/default | grep grub
-rw-r--r-- 1 root root 1362 May  8 21:55 grub

This is the file we update our grub.conf's with correct?  Since our /boot/grub/grub.cfg  has:

# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub

"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#4 2016-05-09 20:09:47

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Share your 40/41_Custom Grub Scripts

Horizon_Brave wrote:

ehh not sure if you're being serious lol.

Of course I'm being serious: `grub-mkconfig` (called by `update-grub` in Debian) doesn't work with Alpine Linux (my main OS) so I can't use that command and hence I have no use for /etc/default/grub

Horizon_Brave wrote:
kingghidorah@kingghidorah:/etc/default$ ls -l /etc/default | grep grub
-rw-r--r-- 1 root root 1362 May  8 21:55 grub

This is the file we update our grub.conf's with correct?

/etc/default/grub is the configuration file for the GRUB configuration file big_smile

Don't you just love needless abstractions?

Horizon_Brave wrote:

/boot/grub/grub.cfg  has:

# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub

Are you going to let a stinkin' text file tell you what to do?
8o

As I said, I don't use `grub-mkconfig` so that message doesn't apply.

Also, as you can see from my github page, my grub.cfg has no such warning tongue

Offline

#5 2016-05-09 21:03:26

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: Share your 40/41_Custom Grub Scripts

Head_on_a_Stick wrote:

Alpine Linux (my main OS)

You're such a daredevil.

But okay, that makes sense.


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

Board footer

Powered by FluxBB