vandalbyte / grub-tweaks Goto Github PK
View Code? Open in Web Editor NEWSome GRUB tweaks ๐๐ก
License: MIT License
Some GRUB tweaks ๐๐ก
License: MIT License
After installing the theme and follow the tweak instructions, the Kali Plymouth/splash screen does not work even trying these commands.
sudo plymouth-set-default-theme kali -R && sudo update-grub
I understand that the Submenu section pretty much already explains how to do this, but the format for the standard menu entries is a little different.
There are multiple guides across the internet for doing this, but the majority are low effort and just tell users to edit GRUB.cfg directly, despite the giant "DO NOT EDIT THIS FILE" header it has.
A small section for adding (or fixing, many Distro variants just show the icon for their parent Distro) icons for regular menu entries could be really helpful for new users, and make it more likely for them to stumble upon this page in general while searching.
Is there a way to translate on the fly a song into a format that grub can understand ?
This may be unique to my system but for me mentioning the width first works better.
I have a 1080p screen and entered this to my grub config: GRUB_GFXMODE=1080x1920x32. As I rebooted the theme was blurry and not in fullhd. I changed "GRUB_GFXMODE=1080x1920x32" to "GRUB_GFXMODE=1920x1080x32" because you mention the width first in programming. After rebooting the resolution is perfect.
I think "GRUB_GFXMODE=[height]x[width]x32" has to be "GRUB_GFXMODE=[width]x[height]x32".
It could be because I use linux arch and have weird nvidia drivers. Sorry for my bad english. Anyways, it still helped my to find the right setting.
Simple example for a modified GRUB menu. In the moment os-prober can't deliver all possible OS in your system due to security restrictions. This is a possible way to get around and not in harms way. I use /@/boot/vmlinuz
and /@/boot/initrd.img
as links, because if a kernel update is needed, everything points correctly to the latest (updated) version.
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
menuentry "LM 21 Mate" --class linuxmint --class gnu-linux --class gnu --class os {
# DEVICE="/dev/nvme0n1p5"
UUID_BTRFS=714517ab-c90d-42ca-a492-245053ae57fd
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod part_gpt
insmod btrfs
search --no-floppy --fs-uuid --set=root ${UUID_BTRFS}
linux /@/boot/vmlinuz root=UUID=${UUID_BTRFS} ro rootflags=subvol=@ ${GRUB_CMDLINE_LINUX } ${GRUB_CMDLINE_LINUX_DEFAULT}
initrd /@/boot/initrd.img
}
menuentry "LM 21 Cinnamon" --class linuxmint --class gnu-linux --class gnu --class os {
# DEVICE="/dev/nvme0n1p6"
UUID_BTRFS=6bf64ce2-c8a5-4dda-b8f8-491615008b43
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod part_gpt
insmod btrfs
search --no-floppy --fs-uuid --set=root ${UUID_BTRFS}
linux /@/boot/vmlinuz root=UUID=${UUID_BTRFS} ro rootflags=subvol=@ ${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}
initrd /@/boot/initrd.img
}
menuentry "LMDE 5 Elsie" --class linuxmint --class gnu-linux --class gnu --class os {
# DEVICE="/dev/nvme0n1p7"
UUID_BTRFS=35c3a7e0-1aa7-4a70-9e87-18d2a0acce4b
load_video
insmod gzio
insmod part_msdos
insmod part_gpt
insmod btrfs
search --no-floppy --fs-uuid --set=root ${UUID_BTRFS}
linux /@/vmlinuz root=UUID=${UUID_BTRFS} ro rootflags=subvol=@ ${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}
initrd /@/initrd.img
}
menuentry 'LM 20.3 Mate' --class linuxmint --class gnu-linux --class gnu --class os {
# DEVICE="/dev/nvme0n1p8"
UUID_BTRFS=138cabd1-b0de-4b57-a9f4-338970fe7df0
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod part_gpt
insmod btrfs
search --no-floppy --fs-uuid --set=root ${UUID_BTRFS}
linux /@/boot/vmlinuz root=UUID=${UUID_BTRFS} ro rootflags=subvol=@ ${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}
initrd /@/boot/initrd.img
}
menuentry "LM 20.3 Zimt" --class linuxmint --class gnu-linux --class gnu --class os {
# DEVICE="/dev/nvme0n1p9"
UUID_BTRFS=2f5717f8-09e6-44b1-a836-a9eb8238efc4
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod part_gpt
insmod btrfs
search --no-floppy --fs-uuid --set=root ${UUID_BTRFS}
linux /@/boot/vmlinuz root=UUID=${UUID_BTRFS} ro rootflags=subvol=@ ${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}
initrd /@/boot/initrd.img
}`
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.