atualizar ficheiros de bootloader

This commit is contained in:
manuel 2023-11-20 17:57:14 -01:00
parent 8c24ac0184
commit cd540a9498
9 changed files with 50 additions and 37 deletions

View File

@ -1,10 +1,24 @@
set default=0
loadfont $prefix/dejavu-bold-16.pf2
loadfont $prefix/dejavu-bold-14.pf2
loadfont $prefix/unicode.pf2
set gfxmode=auto
insmod all_video
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
font=$prefix/unicode.pf2
fi
# Copied from the netinst image
if loadfont $font ; then
set gfxmode=800x600
set gfxpayload=keep
insmod efi_gop
insmod efi_uga
insmod video_bochs
insmod video_cirrus
else
set gfxmode=auto
insmod all_video
fi
insmod gfxterm
insmod png
@ -12,6 +26,5 @@ source /boot/grub/theme.cfg
terminal_output gfxterm
# Uncomment so grub beeps during boot
#insmod play
#play 960 440 1 0 4 440 1
insmod play
play 960 440 1 0 4 440 1

View File

@ -331,16 +331,16 @@ menuentry "Welsh (cy)" {
}
}
### Commented out till Persistence is working as expected.
#menuentry "Persistent My-distro" --hotkey=p {
# linux /live/vmlinuz boot=live components username=user hostname=My-distro quiet splash findiso=${iso_path} persistence
# initrd /live/initrd.img
#}
menuentry "Persistent My-distro" --hotkey=p {
linux /live/vmlinuz boot=live components username=user hostname=My-distro quiet splash findiso=${iso_path} persistence
initrd /live/initrd.img
}
### Commented out till toram is working as expected.
#menuentry "My-distro loaded to RAM" --hotkey=t {
# linux /live/vmlinuz boot=live components username=user hostname=My-distro quiet splash findiso=${iso_path} toram
# initrd /live/initrd.img
#}
menuentry "My-distro loaded to RAM" --hotkey=t {
linux /live/vmlinuz boot=live components username=user hostname=My-distro quiet splash findiso=${iso_path} toram
initrd /live/initrd.img
}
#menuentry "Developer Desktop" --hotkey=d {
# linux /live/vmlinuz boot=local ro root=/dev/sdb126 quiet splash findiso=${iso_path}
# initrd /live/initrd.img

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 32 B

View File

@ -0,0 +1 @@
../../isolinux/splash800x600.png

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 32 B

View File

@ -8,6 +8,6 @@ if [ -e /isolinux/splash.png ]; then
elif [ -e /boot/grub/splash.png ]; then
set theme=/boot/grub/live-theme/theme.txt
else
set menu_color_normal=white/red
set menu_color_highlight=white/red
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi

Binary file not shown.

View File

@ -6,7 +6,7 @@ menu title My-distro - Live
default live
label live
menu label ^My-distro (amd64)
menu label ^My-distro Live
linux /live/vmlinuz
initrd /live/initrd.img
append boot=live components username=user hostname=My-distro splash quiet
@ -395,17 +395,17 @@ LABEL Welsh (cy)
### Until this isn't UNPLEASANT, it stays commented in Beta releases.
#label persistent
# menu label ^Persistent My-distro(amd64)
# linux /live/vmlinuz
# initrd /live/initrd.img
# append boot=live components username=user hostname=My-distro quiet splash persistence
label persistent
menu label ^Persistent My-distro(amd64)
linux /live/vmlinuz
initrd /live/initrd.img append boot=live components username=user hostname=My-distro quiet splash persistence
#label toram
# menu label ^My-distroloaded in RAM
# linux /live/vmlinuz
# initrd /live/initrd.img
# append boot=live components username=user hostname=My-distro quiet splash toram
label to ram
menu label ^My-distro loaded in RAM
linux /live/vmlinuz
initrd /live/initrd.img
append boot=live components username=user hostname=My-distro quiet splash toram
#label developer
# menu label ^Boot to Developer Desktop
@ -416,7 +416,7 @@ LABEL Welsh (cy)
#### ### ## # This line is intentionaly left blank. # ## ### ####
### By following the constucts above, We can add additional entries
#label Alternative boot
# menu label ^Alternative My-distro(amd64)
# menu label ^Alternative My-distro
# linux /live/vmlinuz
# initrd /live/initrd.img
# append boot=live components username=user hostname=My-distro quiet splash persistence
@ -424,7 +424,7 @@ LABEL Welsh (cy)
#### ### ## # This line is intentionaly left blank. # ## ### ####
### By following the constucts above, We can add additional entries
#label Alternative boot
# menu label ^Alternative My-distro(amd64)
# menu label ^Alternative My-distro
# linux /live/vmlinuz
# initrd /live/initrd.img
# append boot=live components username=user hostname=My-distro quiet splash persistence

View File

@ -1,6 +1,6 @@
### recovery.cfg for Live-Session
include stdmenu.cfg
menu title My-distroRecovery Options
menu title My-distro Recovery Options
label R-sda2
menu label ^My-distro on sda2
@ -41,14 +41,14 @@ label R-mmcblk0p3
#### ### ## # This line is intentionaly left blank. # ## ### ####
### By following the constucts above, We can add additional entries
#label Alternative boot
# menu label ^Alternative My-distro(amd64)
# menu label ^Alternative My-distro
# linux /live/vmlinuz
# initrd /live/initrd.img
# append boot=live components quiet splash persistence
# say Now booting alternative method
### By following the constucts above, We can add additional entries
#label Alternative boot
# menu label ^Alternative My-distro(amd64)
# menu label ^Alternative My-distro
# linux /live/vmlinuz
# initrd /live/initrd.img
# append boot=live components quiet splash persistence

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

View File

@ -1,7 +1,7 @@
menu title My-distro Utilities Options
label failsafe
menu label ^My-distro (amd64 failsafe)
menu label ^My-distro ( failsafe)
linux /live/vmlinuz
initrd /live/initrd.img
append boot=live components memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=788
@ -12,7 +12,7 @@ label hdt
### By following the constucts above, We can add additional entries
#label Alternative boot
# menu label ^Alternative My-distro (amd64)
# menu label ^Alternative My-distro
# linux /live/vmlinuz
# initrd /live/initrd.img
# append boot=live components quiet splash persistence