mirror of
https://github.com/johndoe6345789/SparkOS.git
synced 2026-04-24 13:34:56 +00:00
Extract GRUB embedded config to separate file and address code review feedback
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
This commit is contained in:
11
config/grub-embedded.cfg.in
Normal file
11
config/grub-embedded.cfg.in
Normal file
@@ -0,0 +1,11 @@
|
||||
# Embedded bootstrap configuration for GRUB
|
||||
# This config tells GRUB where to find the real configuration file
|
||||
|
||||
search --no-floppy --set=root --label @ESP_LABEL@
|
||||
if [ -e /boot/grub/grub.cfg ]; then
|
||||
configfile /boot/grub/grub.cfg
|
||||
else
|
||||
echo "Error: Could not find /boot/grub/grub.cfg"
|
||||
echo "Press any key to enter GRUB command line..."
|
||||
sleep --verbose --interruptible 99999
|
||||
fi
|
||||
Reference in New Issue
Block a user