Package: grub-efi-amd64
Version: 2.06-13
Severity: wishlist
X-Debbugs-Cc: a...@users.sourceforge.net

Dear Maintainer,

I have created a small package for myself that changes the Grub boot menu to 
contain the
hostname (so that booting from removable media is made abundantly clear). So 
far I have
made this package dependent on grub-pc or grub-efi, so this would help avoid 
listing all
architectures in the dependencies.

In the configuration files below, ‘Gabriel’ is used as hostname.


-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/sda2 / ext4 rw,relatime,errors=remount-ro 0 0
/dev/sda5 /usr ext4 rw,relatime 0 0
/dev/sda4 /tmp ext4 rw,relatime 0 0
/dev/sda3 /boot ext4 rw,relatime 0 0
/dev/sda6 /var ext4 rw,relatime 0 0
/dev/sda1 /boot/efi vfat 
rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro
 0 0
/dev/mapper/sda8_crypt /home ext4 rw,relatime 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/grub.cfg
#
# 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 ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  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 ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 
--hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  
77212bdf-01ef-446c-8bbe-d9e97e0ceb5d
else
  search --no-floppy --fs-uuid --set=root 77212bdf-01ef-446c-8bbe-d9e97e0ceb5d
fi
    font="/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_IE
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=5
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=5
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 
--hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  
77212bdf-01ef-446c-8bbe-d9e97e0ceb5d
else
  search --no-floppy --fs-uuid --set=root 77212bdf-01ef-446c-8bbe-d9e97e0ceb5d
fi
insmod png
if background_image /share/desktop-base/emerald-theme/grub/grub-16x9.png; then
  set color_normal=white/black
  set color_highlight=black/white
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
        set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Gabriel: Debian GNU/Linux' --class gabriel_ --class gnu-linux 
--class gnu --class os $menuentry_id_option 
'gnulinux-simple-2458cb7b-31b4-45e5-bdb4-aee6d3430c35' {
        load_video
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_gpt
        insmod ext2
        set root='hd0,gpt3'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 
--hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  
977f3a57-d0fc-48d2-838d-aec444865121
        else
          search --no-floppy --fs-uuid --set=root 
977f3a57-d0fc-48d2-838d-aec444865121
        fi
        echo    'Loading Linux 6.1.0-11-amd64 ...'
        linux   /vmlinuz-6.1.0-11-amd64 
root=UUID=2458cb7b-31b4-45e5-bdb4-aee6d3430c35 ro  quiet
        echo    'Loading initial ramdisk ...'
        initrd  /initrd.img-6.1.0-11-amd64
}
submenu 'Advanced options for Gabriel: Debian GNU/Linux' $menuentry_id_option 
'gnulinux-advanced-2458cb7b-31b4-45e5-bdb4-aee6d3430c35' {
        menuentry 'Gabriel: Debian GNU/Linux, with Linux 6.1.0-11-amd64' 
--class gabriel_ --class gnu-linux --class gnu --class os $menuentry_id_option 
'gnulinux-6.1.0-11-amd64-advanced-2458cb7b-31b4-45e5-bdb4-aee6d3430c35' {
                load_video
                insmod gzio
                if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; 
fi
                insmod part_gpt
                insmod ext2
                set root='hd0,gpt3'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 
--hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  
977f3a57-d0fc-48d2-838d-aec444865121
                else
                  search --no-floppy --fs-uuid --set=root 
977f3a57-d0fc-48d2-838d-aec444865121
                fi
                echo    'Loading Linux 6.1.0-11-amd64 ...'
                linux   /vmlinuz-6.1.0-11-amd64 
root=UUID=2458cb7b-31b4-45e5-bdb4-aee6d3430c35 ro  quiet
                echo    'Loading initial ramdisk ...'
                initrd  /initrd.img-6.1.0-11-amd64
        }
        menuentry 'Gabriel: Debian GNU/Linux, with Linux 6.1.0-11-amd64 
(recovery mode)' --class gabriel_ --class gnu-linux --class gnu --class os 
$menuentry_id_option 
'gnulinux-6.1.0-11-amd64-recovery-2458cb7b-31b4-45e5-bdb4-aee6d3430c35' {
                load_video
                insmod gzio
                if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; 
fi
                insmod part_gpt
                insmod ext2
                set root='hd0,gpt3'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 
--hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  
977f3a57-d0fc-48d2-838d-aec444865121
                else
                  search --no-floppy --fs-uuid --set=root 
977f3a57-d0fc-48d2-838d-aec444865121
                fi
                echo    'Loading Linux 6.1.0-11-amd64 ...'
                linux   /vmlinuz-6.1.0-11-amd64 
root=UUID=2458cb7b-31b4-45e5-bdb4-aee6d3430c35 ro single 
                echo    'Loading initial ramdisk ...'
                initrd  /initrd.img-6.1.0-11-amd64
        }
        menuentry 'Gabriel: Debian GNU/Linux, with Linux 6.1.0-10-amd64' 
--class gabriel_ --class gnu-linux --class gnu --class os $menuentry_id_option 
'gnulinux-6.1.0-10-amd64-advanced-2458cb7b-31b4-45e5-bdb4-aee6d3430c35' {
                load_video
                insmod gzio
                if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; 
fi
                insmod part_gpt
                insmod ext2
                set root='hd0,gpt3'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 
--hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  
977f3a57-d0fc-48d2-838d-aec444865121
                else
                  search --no-floppy --fs-uuid --set=root 
977f3a57-d0fc-48d2-838d-aec444865121
                fi
                echo    'Loading Linux 6.1.0-10-amd64 ...'
                linux   /vmlinuz-6.1.0-10-amd64 
root=UUID=2458cb7b-31b4-45e5-bdb4-aee6d3430c35 ro  quiet
                echo    'Loading initial ramdisk ...'
                initrd  /initrd.img-6.1.0-10-amd64
        }
        menuentry 'Gabriel: Debian GNU/Linux, with Linux 6.1.0-10-amd64 
(recovery mode)' --class gabriel_ --class gnu-linux --class gnu --class os 
$menuentry_id_option 
'gnulinux-6.1.0-10-amd64-recovery-2458cb7b-31b4-45e5-bdb4-aee6d3430c35' {
                load_video
                insmod gzio
                if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; 
fi
                insmod part_gpt
                insmod ext2
                set root='hd0,gpt3'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 
--hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  
977f3a57-d0fc-48d2-838d-aec444865121
                else
                  search --no-floppy --fs-uuid --set=root 
977f3a57-d0fc-48d2-838d-aec444865121
                fi
                echo    'Loading Linux 6.1.0-10-amd64 ...'
                linux   /vmlinuz-6.1.0-10-amd64 
root=UUID=2458cb7b-31b4-45e5-bdb4-aee6d3430c35 ro single 
                echo    'Loading initial ramdisk ...'
                initrd  /initrd.img-6.1.0-10-amd64
        }
}

### 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 ###
### 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/35_fwupd ###
### END /etc/grub.d/35_fwupd ###

### 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 ###
*********************** END /boot/grub/grub.cfg

*********************** BEGIN /proc/mdstat
cat: /proc/mdstat: No such file or directory
*********************** END /proc/mdstat

*********************** BEGIN LVM
*********************** END LVM

*********************** BEGIN /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root  9 Aug 11 12:15 
ata-MATSHITA_DVD-RAM_UJ8E1_1350TP208959ES66H -> ../../sr0
lrwxrwxrwx 1 root root  9 Aug 11 12:03 ata-ST500LT012-1DG142_W3P80YDK -> 
../../sda
lrwxrwxrwx 1 root root 10 Aug 11 12:03 ata-ST500LT012-1DG142_W3P80YDK-part1 -> 
../../sda1
lrwxrwxrwx 1 root root 11 Aug 11 12:03 ata-ST500LT012-1DG142_W3P80YDK-part10 -> 
../../sda10
lrwxrwxrwx 1 root root 11 Aug 11 12:03 ata-ST500LT012-1DG142_W3P80YDK-part11 -> 
../../sda11
lrwxrwxrwx 1 root root 11 Aug 11 12:03 ata-ST500LT012-1DG142_W3P80YDK-part12 -> 
../../sda12
lrwxrwxrwx 1 root root 11 Aug 11 12:03 ata-ST500LT012-1DG142_W3P80YDK-part13 -> 
../../sda13
lrwxrwxrwx 1 root root 11 Aug 11 12:03 ata-ST500LT012-1DG142_W3P80YDK-part14 -> 
../../sda14
lrwxrwxrwx 1 root root 10 Aug 11 12:03 ata-ST500LT012-1DG142_W3P80YDK-part2 -> 
../../sda2
lrwxrwxrwx 1 root root 10 Aug 11 12:03 ata-ST500LT012-1DG142_W3P80YDK-part3 -> 
../../sda3
lrwxrwxrwx 1 root root 10 Aug 11 12:03 ata-ST500LT012-1DG142_W3P80YDK-part4 -> 
../../sda4
lrwxrwxrwx 1 root root 10 Aug 11 12:03 ata-ST500LT012-1DG142_W3P80YDK-part5 -> 
../../sda5
lrwxrwxrwx 1 root root 10 Aug 11 12:03 ata-ST500LT012-1DG142_W3P80YDK-part6 -> 
../../sda6
lrwxrwxrwx 1 root root 10 Aug 11 12:03 ata-ST500LT012-1DG142_W3P80YDK-part7 -> 
../../sda7
lrwxrwxrwx 1 root root 10 Aug 11 12:03 ata-ST500LT012-1DG142_W3P80YDK-part8 -> 
../../sda8
lrwxrwxrwx 1 root root 10 Aug 11 12:03 ata-ST500LT012-1DG142_W3P80YDK-part9 -> 
../../sda9
lrwxrwxrwx 1 root root 10 Aug 11 12:03 dm-name-sda7_crypt -> ../../dm-0
lrwxrwxrwx 1 root root 10 Aug 11 12:03 dm-name-sda8_crypt -> ../../dm-1
lrwxrwxrwx 1 root root 10 Aug 11 12:03 
dm-uuid-CRYPT-LUKS2-2219f7b970074f5fb44f1bff87a24170-sda8_crypt -> ../../dm-1
lrwxrwxrwx 1 root root 10 Aug 11 12:03 
dm-uuid-CRYPT-LUKS2-33fdac30bc30441e9022b3768d0c7727-sda7_crypt -> ../../dm-0
lrwxrwxrwx 1 root root  9 Aug 11 12:03 wwn-0x5000c5007bf30ef2 -> ../../sda
lrwxrwxrwx 1 root root 10 Aug 11 12:03 wwn-0x5000c5007bf30ef2-part1 -> 
../../sda1
lrwxrwxrwx 1 root root 11 Aug 11 12:03 wwn-0x5000c5007bf30ef2-part10 -> 
../../sda10
lrwxrwxrwx 1 root root 11 Aug 11 12:03 wwn-0x5000c5007bf30ef2-part11 -> 
../../sda11
lrwxrwxrwx 1 root root 11 Aug 11 12:03 wwn-0x5000c5007bf30ef2-part12 -> 
../../sda12
lrwxrwxrwx 1 root root 11 Aug 11 12:03 wwn-0x5000c5007bf30ef2-part13 -> 
../../sda13
lrwxrwxrwx 1 root root 11 Aug 11 12:03 wwn-0x5000c5007bf30ef2-part14 -> 
../../sda14
lrwxrwxrwx 1 root root 10 Aug 11 12:03 wwn-0x5000c5007bf30ef2-part2 -> 
../../sda2
lrwxrwxrwx 1 root root 10 Aug 11 12:03 wwn-0x5000c5007bf30ef2-part3 -> 
../../sda3
lrwxrwxrwx 1 root root 10 Aug 11 12:03 wwn-0x5000c5007bf30ef2-part4 -> 
../../sda4
lrwxrwxrwx 1 root root 10 Aug 11 12:03 wwn-0x5000c5007bf30ef2-part5 -> 
../../sda5
lrwxrwxrwx 1 root root 10 Aug 11 12:03 wwn-0x5000c5007bf30ef2-part6 -> 
../../sda6
lrwxrwxrwx 1 root root 10 Aug 11 12:03 wwn-0x5000c5007bf30ef2-part7 -> 
../../sda7
lrwxrwxrwx 1 root root 10 Aug 11 12:03 wwn-0x5000c5007bf30ef2-part8 -> 
../../sda8
lrwxrwxrwx 1 root root 10 Aug 11 12:03 wwn-0x5000c5007bf30ef2-part9 -> 
../../sda9
*********************** END /dev/disk/by-id

*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 11 Aug 11 12:03 009ff2f1-e55f-430f-a657-89ceaddfda75 -> 
../../sda14
lrwxrwxrwx 1 root root 10 Aug 11 12:03 2023-07-22-10-54-14-00 -> ../../sda9
lrwxrwxrwx 1 root root 10 Aug 11 12:03 2219f7b9-7007-4f5f-b44f-1bff87a24170 -> 
../../sda8
lrwxrwxrwx 1 root root 10 Aug 11 12:03 2458cb7b-31b4-45e5-bdb4-aee6d3430c35 -> 
../../sda2
lrwxrwxrwx 1 root root 10 Aug 11 12:03 33fdac30-bc30-441e-9022-b3768d0c7727 -> 
../../sda7
lrwxrwxrwx 1 root root 11 Aug 11 12:03 4d7be231-3414-4878-a93d-838bc68ad360 -> 
../../sda11
lrwxrwxrwx 1 root root 10 Aug 11 12:03 5d087081-3967-4232-a82a-4e89e1c70ca3 -> 
../../dm-1
lrwxrwxrwx 1 root root 10 Aug 11 12:03 77212bdf-01ef-446c-8bbe-d9e97e0ceb5d -> 
../../sda5
lrwxrwxrwx 1 root root 10 Aug 11 12:03 8b688e4e-5c80-47df-b329-8861d09c0726 -> 
../../sda6
lrwxrwxrwx 1 root root 10 Aug 11 12:03 977f3a57-d0fc-48d2-838d-aec444865121 -> 
../../sda3
lrwxrwxrwx 1 root root 10 Aug 11 12:03 9920209e-5fd8-496d-89f4-04c1a14c96eb -> 
../../dm-0
lrwxrwxrwx 1 root root 10 Aug 11 12:03 F963-0B65 -> ../../sda1
lrwxrwxrwx 1 root root 11 Aug 11 12:03 af058aee-9cf1-4d3b-93f6-8d5228da663e -> 
../../sda10
lrwxrwxrwx 1 root root 11 Aug 11 12:03 bede0ea8-3890-41b5-b967-5295e62aee11 -> 
../../sda13
lrwxrwxrwx 1 root root 10 Aug 11 12:03 d007b266-43cf-4553-97db-0c2ba042f41b -> 
../../sda4
lrwxrwxrwx 1 root root 11 Aug 11 12:03 d885c468-27e7-47fb-9c41-6f115201fc4f -> 
../../sda12
*********************** END /dev/disk/by-uuid

-- System Information:
Debian Release: 12.1
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-11-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_IE:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages grub-efi-amd64 depends on:
ii  debconf [debconf-2.0]  1.5.82
ii  grub-common            2.06-13
ii  grub-efi-amd64-bin     2.06-13
ii  grub2-common           2.06-13
ii  ucf                    3.0043+nmu1

grub-efi-amd64 recommends no packages.

grub-efi-amd64 suggests no packages.

-- debconf information:
* grub2/update_nvram: true
  grub2/kfreebsd_cmdline_default: quiet
* grub2/linux_cmdline_default: quiet
  grub2/enable_os_prober: false
* grub2/linux_cmdline:
  grub2/kfreebsd_cmdline:
* grub2/force_efi_extra_removable: true

Reply via email to