atualizar ficheiros de bootloader

This commit is contained in:
manuel 2023-11-20 18:00:06 -01:00
parent c406f29928
commit 35c951e264
9 changed files with 46 additions and 33 deletions

View File

@ -1,10 +1,24 @@
set default=0 set default=0
loadfont $prefix/dejavu-bold-16.pf2 if [ x$feature_default_font_path = xy ] ; then
loadfont $prefix/dejavu-bold-14.pf2 font=unicode
loadfont $prefix/unicode.pf2 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 set gfxmode=auto
insmod all_video insmod all_video
fi
insmod gfxterm insmod gfxterm
insmod png insmod png
@ -12,6 +26,5 @@ source /boot/grub/theme.cfg
terminal_output gfxterm terminal_output gfxterm
# Uncomment so grub beeps during boot insmod play
#insmod play play 960 440 1 0 4 440 1
#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. ### Commented out till Persistence is working as expected.
#menuentry "Persistent My-distro" --hotkey=p { menuentry "Persistent My-distro" --hotkey=p {
# linux /live/vmlinuz boot=live components username=user hostname=My-distro quiet splash findiso=${iso_path} persistence linux /live/vmlinuz boot=live components username=user hostname=My-distro quiet splash findiso=${iso_path} persistence
# initrd /live/initrd.img initrd /live/initrd.img
#} }
### Commented out till to ram is working as expected. ### Commented out till to ram is working as expected.
#menuentry "My-distro loaded to RAM" --hotkey=t { 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 linux /live/vmlinuz boot=live components username=user hostname=My-distro quiet splash findiso=${iso_path} toram
# initrd /live/initrd.img initrd /live/initrd.img
#} }
#menuentry "Developer Desktop" --hotkey=d { #menuentry "Developer Desktop" --hotkey=d {
# linux /live/vmlinuz boot=local ro root=/dev/sdb126 quiet splash findiso=${iso_path} # linux /live/vmlinuz boot=local ro root=/dev/sdb126 quiet splash findiso=${iso_path}
# initrd /live/initrd.img # 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 elif [ -e /boot/grub/splash.png ]; then
set theme=/boot/grub/live-theme/theme.txt set theme=/boot/grub/live-theme/theme.txt
else else
set menu_color_normal=white/red set menu_color_normal=cyan/blue
set menu_color_highlight=white/red set menu_color_highlight=white/blue
fi fi

Binary file not shown.

View File

@ -6,7 +6,7 @@ menu title My-distro - Live
default live default live
label live label live
menu label ^My-distro (amd64) menu label ^My-distro Live
linux /live/vmlinuz linux /live/vmlinuz
initrd /live/initrd.img initrd /live/initrd.img
append boot=live components username=user hostname=My-distro splash quiet 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. ### Until this isn't UNPLEASANT, it stays commented in Beta releases.
#label persistent label persistent
# menu label ^Persistent My-distro(amd64) menu label ^Persistent My-distro
# linux /live/vmlinuz linux /live/vmlinuz
# initrd /live/initrd.img initrd /live/initrd.img
# append boot=live components username=user hostname=My-distro quiet splash persistence append boot=live components username=user hostname=My-distro quiet splash persistence
#label toram label to ram
# menu label ^My-distro loaded in RAM menu label ^My-distro loaded in RAM
# linux /live/vmlinuz linux /live/vmlinuz
# initrd /live/initrd.img initrd /live/initrd.img
# append boot=live components username=user hostname=My-distro quiet splash toram append boot=live components username=user hostname=My-distro quiet splash toram
#label developer #label developer
# menu label ^Boot to Developer Desktop # menu label ^Boot to Developer Desktop

View File

@ -41,14 +41,14 @@ label R-mmcblk0p3
#### ### ## # This line is intentionaly left blank. # ## ### #### #### ### ## # This line is intentionaly left blank. # ## ### ####
### By following the constucts above, We can add additional entries ### By following the constucts above, We can add additional entries
#label Alternative boot #label Alternative boot
# menu label ^Alternative My-distro(amd64) # menu label ^Alternative My-distro
# linux /live/vmlinuz # linux /live/vmlinuz
# initrd /live/initrd.img # initrd /live/initrd.img
# append boot=live components quiet splash persistence # append boot=live components quiet splash persistence
# say Now booting alternative method # say Now booting alternative method
### By following the constucts above, We can add additional entries ### By following the constucts above, We can add additional entries
#label Alternative boot #label Alternative boot
# menu label ^Alternative My-distro(amd64) # menu label ^Alternative My-distro
# linux /live/vmlinuz # linux /live/vmlinuz
# initrd /live/initrd.img # initrd /live/initrd.img
# append boot=live components quiet splash persistence # append boot=live components quiet splash persistence

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

View File

@ -1,7 +1,7 @@
menu title My-distro Utilities Options menu title My-distro Utilities Options
label failsafe label failsafe
menu label ^My-distro (amd64 failsafe) menu label ^My-distro Live failsafe)
linux /live/vmlinuz linux /live/vmlinuz
initrd /live/initrd.img initrd /live/initrd.img
append boot=live components memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=788 append boot=live components memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=788