diff options
author | Saumit Dinesan <justsaumit@protonmail.com> | 2022-06-18 21:22:34 +0530 |
---|---|---|
committer | Saumit Dinesan <justsaumit@protonmail.com> | 2022-06-18 21:22:34 +0530 |
commit | b86bc722d874ee93a49f0b3b8fda4a90a4965746 (patch) | |
tree | 5d3a184ea1b4ecbcec2d2b48471173333fdf7efc /boot/grub | |
parent | e9290b24c939b75b1cbaf38b74f13e1fcd7dd115 (diff) |
/etc/ and /grub/ files for install script
Diffstat (limited to 'boot/grub')
-rwxr-xr-x | boot/grub/grub.cfg | 179 | ||||
-rwxr-xr-x | boot/grub/grubenv | 3 | ||||
-rwxr-xr-x | boot/grub/themes/CyberRe/background.png | bin | 0 -> 1125928 bytes | |||
-rwxr-xr-x | boot/grub/themes/CyberRe/boot_menu2_c.png | bin | 0 -> 1740 bytes | |||
-rwxr-xr-x | boot/grub/themes/CyberRe/dejavu_14.pf2 | bin | 0 -> 176923 bytes | |||
-rwxr-xr-x | boot/grub/themes/CyberRe/droidlogo_bold_17.pf2 | bin | 0 -> 20041 bytes | |||
-rwxr-xr-x | boot/grub/themes/CyberRe/droidlogo_bold_20.pf2 | bin | 0 -> 23339 bytes | |||
-rwxr-xr-x | boot/grub/themes/CyberRe/droidlogo_bold_26.pf2 | bin | 0 -> 31498 bytes | |||
-rwxr-xr-x | boot/grub/themes/CyberRe/droidlogo_regular_12.pf2 | bin | 0 -> 15244 bytes | |||
-rwxr-xr-x | boot/grub/themes/CyberRe/droidlogo_regular_17.pf2 | bin | 0 -> 19148 bytes | |||
-rwxr-xr-x | boot/grub/themes/CyberRe/highlight_c.png | bin | 0 -> 2043 bytes | |||
-rwxr-xr-x | boot/grub/themes/CyberRe/highlight_w.png | bin | 0 -> 3663 bytes | |||
-rwxr-xr-x | boot/grub/themes/CyberRe/preview.png | bin | 0 -> 652990 bytes | |||
-rwxr-xr-x | boot/grub/themes/CyberRe/progress_highlight_c.png | bin | 0 -> 1809 bytes | |||
-rwxr-xr-x | boot/grub/themes/CyberRe/theme.txt | 49 |
15 files changed, 231 insertions, 0 deletions
diff --git a/boot/grub/grub.cfg b/boot/grub/grub.cfg new file mode 100755 index 0000000..c62df8e --- /dev/null +++ b/boot/grub/grub.cfg @@ -0,0 +1,179 @@ +# +# DO NOT EDIT THIS FILE +# +# It is automatically generated by grub-mkconfig using templates +# from /etc/grub.d and settings from /etc/default/grub +# + +### BEGIN /etc/grub.d/00_header ### +insmod part_gpt +insmod part_msdos +if [ -s $prefix/grubenv ]; then + load_env +fi +if [ "${next_entry}" ] ; then + set default="${next_entry}" + set next_entry= + save_env next_entry + set boot_once=true +else + set default="0" +fi + +if [ x"${feature_menuentry_id}" = xy ]; then + menuentry_id_option="--id" +else + menuentry_id_option="" +fi + +export menuentry_id_option + +if [ "${prev_saved_entry}" ]; then + set saved_entry="${prev_saved_entry}" + save_env saved_entry + set prev_saved_entry= + save_env prev_saved_entry + set boot_once=true +fi + +function savedefault { + if [ -z "${boot_once}" ]; then + saved_entry="${chosen}" + save_env saved_entry + fi +} + +function load_video { + if [ x$feature_all_video_module = xy ]; then + insmod all_video + else + insmod efi_gop + insmod efi_uga + insmod ieee1275_fb + insmod vbe + insmod vga + insmod video_bochs + insmod video_cirrus + fi +} + +if [ x$feature_default_font_path = xy ] ; then + font=unicode +else +insmod part_gpt +insmod btrfs +search --no-floppy --fs-uuid --set=root 7ba6a2d9-b8bf-466b-a2b8-91ca2d5a50ed + font="/@/usr/share/grub/unicode.pf2" +fi + +if loadfont $font ; then + set gfxmode=1920x1080 + load_video + insmod gfxterm + set locale_dir=$prefix/locale + set lang=en_US + insmod gettext +fi +terminal_input console +terminal_output gfxterm +insmod part_gpt +insmod fat +search --no-floppy --fs-uuid --set=root BCCD-3C49 +insmod gfxmenu +loadfont ($root)/grub/themes/CyberRe/dejavu_14.pf2 +loadfont ($root)/grub/themes/CyberRe/droidlogo_bold_17.pf2 +loadfont ($root)/grub/themes/CyberRe/droidlogo_bold_20.pf2 +loadfont ($root)/grub/themes/CyberRe/droidlogo_bold_26.pf2 +loadfont ($root)/grub/themes/CyberRe/droidlogo_regular_12.pf2 +loadfont ($root)/grub/themes/CyberRe/droidlogo_regular_17.pf2 +insmod png +set theme=($root)/grub/themes/CyberRe/theme.txt +export theme +if [ x$feature_timeout_style = xy ] ; then + set timeout_style=menu + set timeout=10 +# Fallback normal timeout code in case the timeout_style feature is +# unavailable. +else + set timeout=10 +fi +### END /etc/grub.d/00_header ### + +### BEGIN /etc/grub.d/10_linux ### +menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-7ba6a2d9-b8bf-466b-a2b8-91ca2d5a50ed' { + load_video + set gfxpayload=keep + insmod gzio + insmod part_gpt + insmod fat + search --no-floppy --fs-uuid --set=root BCCD-3C49 + echo 'Loading Linux linux ...' + linux /vmlinuz-linux root=UUID=7ba6a2d9-b8bf-466b-a2b8-91ca2d5a50ed rw rootflags=subvol=@ ro resume=/dev/nvme0n1p2 loglevel=3 + echo 'Loading initial ramdisk ...' + initrd /intel-ucode.img /initramfs-linux.img +} +submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-7ba6a2d9-b8bf-466b-a2b8-91ca2d5a50ed' { + menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-7ba6a2d9-b8bf-466b-a2b8-91ca2d5a50ed' { + load_video + set gfxpayload=keep + insmod gzio + insmod part_gpt + insmod fat + search --no-floppy --fs-uuid --set=root BCCD-3C49 + echo 'Loading Linux linux ...' + linux /vmlinuz-linux root=UUID=7ba6a2d9-b8bf-466b-a2b8-91ca2d5a50ed rw rootflags=subvol=@ ro resume=/dev/nvme0n1p2 loglevel=3 + echo 'Loading initial ramdisk ...' + initrd /intel-ucode.img /initramfs-linux.img + } + menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-7ba6a2d9-b8bf-466b-a2b8-91ca2d5a50ed' { + load_video + set gfxpayload=keep + insmod gzio + insmod part_gpt + insmod fat + search --no-floppy --fs-uuid --set=root BCCD-3C49 + echo 'Loading Linux linux ...' + linux /vmlinuz-linux root=UUID=7ba6a2d9-b8bf-466b-a2b8-91ca2d5a50ed rw rootflags=subvol=@ ro resume=/dev/nvme0n1p2 loglevel=3 + echo 'Loading initial ramdisk ...' + initrd /intel-ucode.img /initramfs-linux-fallback.img + } +} + +### END /etc/grub.d/10_linux ### + +### BEGIN /etc/grub.d/20_linux_xen ### +### END /etc/grub.d/20_linux_xen ### + +### BEGIN /etc/grub.d/30_os-prober ### +menuentry 'Windows Boot Manager (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-efi-D0F6-5BAB' { + insmod part_gpt + insmod fat + set root='hd0,gpt2' + if [ x$feature_platform_search_hint = xy ]; then + search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 D0F6-5BAB + else + search --no-floppy --fs-uuid --set=root D0F6-5BAB + fi + chainloader /efi/Microsoft/Boot/bootmgfw.efi +} +### END /etc/grub.d/30_os-prober ### + +### BEGIN /etc/grub.d/30_uefi-firmware ### +menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' { + fwsetup +} +### END /etc/grub.d/30_uefi-firmware ### + +### BEGIN /etc/grub.d/40_custom ### +# This file provides an easy way to add custom menu entries. Simply type the +# menu entries you want to add after this comment. Be careful not to change +# the 'exec tail' line above. +### END /etc/grub.d/40_custom ### + +### BEGIN /etc/grub.d/41_custom ### +if [ -f ${config_directory}/custom.cfg ]; then + source ${config_directory}/custom.cfg +elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then + source $prefix/custom.cfg +fi +### END /etc/grub.d/41_custom ### diff --git a/boot/grub/grubenv b/boot/grub/grubenv new file mode 100755 index 0000000..a77303c --- /dev/null +++ b/boot/grub/grubenv @@ -0,0 +1,3 @@ +# GRUB Environment Block +# WARNING: Do not edit this file by tools other than grub-editenv!!! +##################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
\ No newline at end of file diff --git a/boot/grub/themes/CyberRe/background.png b/boot/grub/themes/CyberRe/background.png Binary files differnew file mode 100755 index 0000000..64803d9 --- /dev/null +++ b/boot/grub/themes/CyberRe/background.png diff --git a/boot/grub/themes/CyberRe/boot_menu2_c.png b/boot/grub/themes/CyberRe/boot_menu2_c.png Binary files differnew file mode 100755 index 0000000..af67642 --- /dev/null +++ b/boot/grub/themes/CyberRe/boot_menu2_c.png diff --git a/boot/grub/themes/CyberRe/dejavu_14.pf2 b/boot/grub/themes/CyberRe/dejavu_14.pf2 Binary files differnew file mode 100755 index 0000000..e85fe3a --- /dev/null +++ b/boot/grub/themes/CyberRe/dejavu_14.pf2 diff --git a/boot/grub/themes/CyberRe/droidlogo_bold_17.pf2 b/boot/grub/themes/CyberRe/droidlogo_bold_17.pf2 Binary files differnew file mode 100755 index 0000000..2199357 --- /dev/null +++ b/boot/grub/themes/CyberRe/droidlogo_bold_17.pf2 diff --git a/boot/grub/themes/CyberRe/droidlogo_bold_20.pf2 b/boot/grub/themes/CyberRe/droidlogo_bold_20.pf2 Binary files differnew file mode 100755 index 0000000..c91a693 --- /dev/null +++ b/boot/grub/themes/CyberRe/droidlogo_bold_20.pf2 diff --git a/boot/grub/themes/CyberRe/droidlogo_bold_26.pf2 b/boot/grub/themes/CyberRe/droidlogo_bold_26.pf2 Binary files differnew file mode 100755 index 0000000..3c0d157 --- /dev/null +++ b/boot/grub/themes/CyberRe/droidlogo_bold_26.pf2 diff --git a/boot/grub/themes/CyberRe/droidlogo_regular_12.pf2 b/boot/grub/themes/CyberRe/droidlogo_regular_12.pf2 Binary files differnew file mode 100755 index 0000000..53187f4 --- /dev/null +++ b/boot/grub/themes/CyberRe/droidlogo_regular_12.pf2 diff --git a/boot/grub/themes/CyberRe/droidlogo_regular_17.pf2 b/boot/grub/themes/CyberRe/droidlogo_regular_17.pf2 Binary files differnew file mode 100755 index 0000000..607bcf2 --- /dev/null +++ b/boot/grub/themes/CyberRe/droidlogo_regular_17.pf2 diff --git a/boot/grub/themes/CyberRe/highlight_c.png b/boot/grub/themes/CyberRe/highlight_c.png Binary files differnew file mode 100755 index 0000000..dc9f694 --- /dev/null +++ b/boot/grub/themes/CyberRe/highlight_c.png diff --git a/boot/grub/themes/CyberRe/highlight_w.png b/boot/grub/themes/CyberRe/highlight_w.png Binary files differnew file mode 100755 index 0000000..e003713 --- /dev/null +++ b/boot/grub/themes/CyberRe/highlight_w.png diff --git a/boot/grub/themes/CyberRe/preview.png b/boot/grub/themes/CyberRe/preview.png Binary files differnew file mode 100755 index 0000000..e7e5049 --- /dev/null +++ b/boot/grub/themes/CyberRe/preview.png diff --git a/boot/grub/themes/CyberRe/progress_highlight_c.png b/boot/grub/themes/CyberRe/progress_highlight_c.png Binary files differnew file mode 100755 index 0000000..c9a4643 --- /dev/null +++ b/boot/grub/themes/CyberRe/progress_highlight_c.png diff --git a/boot/grub/themes/CyberRe/theme.txt b/boot/grub/themes/CyberRe/theme.txt new file mode 100755 index 0000000..bb006f1 --- /dev/null +++ b/boot/grub/themes/CyberRe/theme.txt @@ -0,0 +1,49 @@ +# Copyright (C) 2020 L. Henrique Lopes - HENK + +# general settings + title-text: "" + title-color: "#3ec6ae" + message-font: "DejaVu Sans Regular 14" + message-color: "#fd262e" + message-bg-color: "#808080" + desktop-image: "background.png" + desktop-color: "#808080" + terminal-font: "DejaVu Sans Regular 14" + + +# boot menu ++ boot_menu { + left = 28% + width = 50% + top = 22% + height = 45% + item_font = "DroidLogo Regular 17" + item_color = "#fb3048" + selected_item_font = "DroidLogo Regular 17" + selected_item_color = "#74d6cf" + icon_width = 16 + icon_height = 16 + item_height = 33 + item_padding = 20 + item_icon_space = 5 + item_spacing = 5 + menu_pixmap_style = "boot_menu2_*.png" + selected_item_pixmap_style = "highlight_*.png" +} + +# Show progress ++ progress_bar { + id = "__timeout__" + left = 0% + width = 100% + top = 99% + height = 31 + show_text = false + text = "" + fg_color = "#3daee9" + bg_color = "#31363b" + border_color = "#31363b" + highlight_style = "progress_highlight_*.png" +} + + |