mirror of
https://github.com/krizsipeti/custom_blfs_packages.git
synced 2025-01-23 14:32:21 +08:00
Save kernel and grub configs
This commit is contained in:
parent
1e24b7d6e3
commit
4ce50022eb
27
boot/grub/grub.cfg
Executable file
27
boot/grub/grub.cfg
Executable file
@ -0,0 +1,27 @@
|
||||
# Begin /boot/grub/grub.cfg
|
||||
|
||||
#--------------------------------------
|
||||
# define some nice colors
|
||||
#--------------------------------------
|
||||
set color_normal=white/black
|
||||
set color_highlight=yellow/black
|
||||
set menu_color_normal=light-blue/black
|
||||
set menu_color_highlight=yellow/blue
|
||||
|
||||
#--------------------------------------
|
||||
# Configure grub
|
||||
#--------------------------------------
|
||||
insmod ext2
|
||||
insmod part_gpt
|
||||
|
||||
set default=0
|
||||
set timeout=5
|
||||
|
||||
menuentry "Linux From Scratch" {
|
||||
set opts="net.ifnames=0"
|
||||
set lnx_root="/dev/sda4"
|
||||
set knl_name="/vmlinuz-6.10.11-lfs-r12.2-11-systemd-wip"
|
||||
linux ${knl_name} root=${lnx_root} ro ${opts}
|
||||
}
|
||||
|
||||
# End /boot/grub/grub.cfg
|
4759
boot/kernel-config
Normal file
4759
boot/kernel-config
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user