Bug#1030934: grub-pc: commented out GRUB_CMDLINE_LINUX_DEFAULT line gets copied uncommented in /etc/default/grub

Arthur Marsh arthur.marsh at internode.on.net
Thu Feb 9 14:00:40 GMT 2023


Package: grub-pc
Version: 2.06-8
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

upgrading or downgrading or reinstalling  the grub-pc package

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

I have this line at the end of my /etc/default/grub

#GRUB_CMDLINE_LINUX_DEFAULT="amdgpu.audio=1 amdgpu.si_support=1 radeon.si_support=0 page_owner=on amdgpu.gpu_recovery=1"

If I upgrade or downgrade grub-pc, I get an extra blank line after that comment line, 
then:

GRUB_CMDLINE_LINUX_DEFAULT="amdgpu.audio=1 amdgpu.si_support=1 radeon.si_support=0 page_owner=on amdgpu.gpu_recovery=1"

ie, without the comment.

This fouls up grub.cfg after re-running update-grub and shouldn't be happening.


   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/sda5 / ext3 rw,relatime,errors=remount-ro 0 0
/dev/sda3 /boot ext3 rw,relatime 0 0
/dev/sdb1 /mnt/sg2t exfat rw,nosuid,nodev,noexec,relatime,uid=65534,gid=65534,fmask=0000,dmask=0000,allow_utime=0022,iocharset=utf8,errors=remount-ro 0 0
/dev/sdc1 /mnt/b2 exfat rw,nosuid,nodev,noexec,relatime,uid=65534,gid=65534,fmask=0000,dmask=0000,allow_utime=0022,iocharset=utf8,errors=remount-ro 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/disk/by-id/ata-ST2000VN004-2E4164_Z52BGHH5
*********************** END /boot/grub/device.map

*********************** 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
}

terminal_input console
terminal_output console
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=600
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=600
  fi
fi
play 480 440 1
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### 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 'Devuan GNU/Linux' --class devuan --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-39706f53-7c27-4310-b22a-36c7b042d1a1' {
	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 --hint='hd0,gpt3'  e15a0540-2d1d-45fb-ba26-d5278ddf94f2
	else
	  search --no-floppy --fs-uuid --set=root e15a0540-2d1d-45fb-ba26-d5278ddf94f2
	fi
	echo	'Loading Linux 6.2.0-rc7+ ...'
	linux	/vmlinuz-6.2.0-rc7+ root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro radeon.audio=1 radeon.si_support=1 page_owner=on 
	echo	'Loading initial ramdisk ...'
	initrd	/initrd.img-6.2.0-rc7+
}
submenu 'Advanced options for Devuan GNU/Linux' $menuentry_id_option 'gnulinux-advanced-39706f53-7c27-4310-b22a-36c7b042d1a1' {
	menuentry 'Devuan GNU/Linux, with Linux 6.2.0-rc7+' --class devuan --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.2.0-rc7+-advanced-39706f53-7c27-4310-b22a-36c7b042d1a1' {
		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 --hint='hd0,gpt3'  e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		else
		  search --no-floppy --fs-uuid --set=root e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		fi
		echo	'Loading Linux 6.2.0-rc7+ ...'
		linux	/vmlinuz-6.2.0-rc7+ root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro radeon.audio=1 radeon.si_support=1 page_owner=on 
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-6.2.0-rc7+
	}
	menuentry 'Devuan GNU/Linux, with Linux 6.2.0-rc7+ (recovery mode)' --class devuan --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.2.0-rc7+-recovery-39706f53-7c27-4310-b22a-36c7b042d1a1' {
		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 --hint='hd0,gpt3'  e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		else
		  search --no-floppy --fs-uuid --set=root e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		fi
		echo	'Loading Linux 6.2.0-rc7+ ...'
		linux	/vmlinuz-6.2.0-rc7+ root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro single radeon.audio=1 radeon.si_support=1 page_owner=on
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-6.2.0-rc7+
	}
	menuentry 'Devuan GNU/Linux, with Linux 6.2.0-rc7' --class devuan --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.2.0-rc7-advanced-39706f53-7c27-4310-b22a-36c7b042d1a1' {
		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 --hint='hd0,gpt3'  e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		else
		  search --no-floppy --fs-uuid --set=root e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		fi
		echo	'Loading Linux 6.2.0-rc7 ...'
		linux	/vmlinuz-6.2.0-rc7 root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro radeon.audio=1 radeon.si_support=1 page_owner=on 
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-6.2.0-rc7
	}
	menuentry 'Devuan GNU/Linux, with Linux 6.2.0-rc7 (recovery mode)' --class devuan --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.2.0-rc7-recovery-39706f53-7c27-4310-b22a-36c7b042d1a1' {
		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 --hint='hd0,gpt3'  e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		else
		  search --no-floppy --fs-uuid --set=root e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		fi
		echo	'Loading Linux 6.2.0-rc7 ...'
		linux	/vmlinuz-6.2.0-rc7 root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro single radeon.audio=1 radeon.si_support=1 page_owner=on
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-6.2.0-rc7
	}
	menuentry 'Devuan GNU/Linux, with Linux 6.2.0-rc6' --class devuan --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.2.0-rc6-advanced-39706f53-7c27-4310-b22a-36c7b042d1a1' {
		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 --hint='hd0,gpt3'  e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		else
		  search --no-floppy --fs-uuid --set=root e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		fi
		echo	'Loading Linux 6.2.0-rc6 ...'
		linux	/vmlinuz-6.2.0-rc6 root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro radeon.audio=1 radeon.si_support=1 page_owner=on 
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-6.2.0-rc6
	}
	menuentry 'Devuan GNU/Linux, with Linux 6.2.0-rc6 (recovery mode)' --class devuan --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.2.0-rc6-recovery-39706f53-7c27-4310-b22a-36c7b042d1a1' {
		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 --hint='hd0,gpt3'  e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		else
		  search --no-floppy --fs-uuid --set=root e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		fi
		echo	'Loading Linux 6.2.0-rc6 ...'
		linux	/vmlinuz-6.2.0-rc6 root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro single radeon.audio=1 radeon.si_support=1 page_owner=on
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-6.2.0-rc6
	}
	menuentry 'Devuan GNU/Linux, with Linux 6.1.0-3-amd64' --class devuan --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-3-amd64-advanced-39706f53-7c27-4310-b22a-36c7b042d1a1' {
		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 --hint='hd0,gpt3'  e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		else
		  search --no-floppy --fs-uuid --set=root e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		fi
		echo	'Loading Linux 6.1.0-3-amd64 ...'
		linux	/vmlinuz-6.1.0-3-amd64 root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro radeon.audio=1 radeon.si_support=1 page_owner=on 
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-6.1.0-3-amd64
	}
	menuentry 'Devuan GNU/Linux, with Linux 6.1.0-3-amd64 (recovery mode)' --class devuan --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-3-amd64-recovery-39706f53-7c27-4310-b22a-36c7b042d1a1' {
		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 --hint='hd0,gpt3'  e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		else
		  search --no-floppy --fs-uuid --set=root e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		fi
		echo	'Loading Linux 6.1.0-3-amd64 ...'
		linux	/vmlinuz-6.1.0-3-amd64 root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro single radeon.audio=1 radeon.si_support=1 page_owner=on
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-6.1.0-3-amd64
	}
	menuentry 'Devuan GNU/Linux, with Linux 6.1.0' --class devuan --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-advanced-39706f53-7c27-4310-b22a-36c7b042d1a1' {
		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 --hint='hd0,gpt3'  e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		else
		  search --no-floppy --fs-uuid --set=root e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		fi
		echo	'Loading Linux 6.1.0 ...'
		linux	/vmlinuz-6.1.0 root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro radeon.audio=1 radeon.si_support=1 page_owner=on 
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-6.1.0
	}
	menuentry 'Devuan GNU/Linux, with Linux 6.1.0 (recovery mode)' --class devuan --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-recovery-39706f53-7c27-4310-b22a-36c7b042d1a1' {
		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 --hint='hd0,gpt3'  e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		else
		  search --no-floppy --fs-uuid --set=root e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		fi
		echo	'Loading Linux 6.1.0 ...'
		linux	/vmlinuz-6.1.0 root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro single radeon.audio=1 radeon.si_support=1 page_owner=on
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-6.1.0
	}
	menuentry 'Devuan GNU/Linux, with Linux 6.0.0' --class devuan --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.0.0-advanced-39706f53-7c27-4310-b22a-36c7b042d1a1' {
		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 --hint='hd0,gpt3'  e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		else
		  search --no-floppy --fs-uuid --set=root e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		fi
		echo	'Loading Linux 6.0.0 ...'
		linux	/vmlinuz-6.0.0 root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro radeon.audio=1 radeon.si_support=1 page_owner=on 
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-6.0.0
	}
	menuentry 'Devuan GNU/Linux, with Linux 6.0.0 (recovery mode)' --class devuan --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.0.0-recovery-39706f53-7c27-4310-b22a-36c7b042d1a1' {
		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 --hint='hd0,gpt3'  e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		else
		  search --no-floppy --fs-uuid --set=root e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		fi
		echo	'Loading Linux 6.0.0 ...'
		linux	/vmlinuz-6.0.0 root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro single radeon.audio=1 radeon.si_support=1 page_owner=on
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-6.0.0
	}
	menuentry 'Devuan GNU/Linux, with Linux 5.19.0' --class devuan --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.19.0-advanced-39706f53-7c27-4310-b22a-36c7b042d1a1' {
		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 --hint='hd0,gpt3'  e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		else
		  search --no-floppy --fs-uuid --set=root e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		fi
		echo	'Loading Linux 5.19.0 ...'
		linux	/vmlinuz-5.19.0 root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro radeon.audio=1 radeon.si_support=1 page_owner=on 
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-5.19.0
	}
	menuentry 'Devuan GNU/Linux, with Linux 5.19.0 (recovery mode)' --class devuan --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.19.0-recovery-39706f53-7c27-4310-b22a-36c7b042d1a1' {
		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 --hint='hd0,gpt3'  e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		else
		  search --no-floppy --fs-uuid --set=root e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		fi
		echo	'Loading Linux 5.19.0 ...'
		linux	/vmlinuz-5.19.0 root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro single radeon.audio=1 radeon.si_support=1 page_owner=on
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-5.19.0
	}
	menuentry 'Devuan GNU/Linux, with Linux 5.18.0' --class devuan --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.18.0-advanced-39706f53-7c27-4310-b22a-36c7b042d1a1' {
		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 --hint='hd0,gpt3'  e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		else
		  search --no-floppy --fs-uuid --set=root e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		fi
		echo	'Loading Linux 5.18.0 ...'
		linux	/vmlinuz-5.18.0 root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro radeon.audio=1 radeon.si_support=1 page_owner=on 
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-5.18.0
	}
	menuentry 'Devuan GNU/Linux, with Linux 5.18.0 (recovery mode)' --class devuan --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.18.0-recovery-39706f53-7c27-4310-b22a-36c7b042d1a1' {
		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 --hint='hd0,gpt3'  e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		else
		  search --no-floppy --fs-uuid --set=root e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		fi
		echo	'Loading Linux 5.18.0 ...'
		linux	/vmlinuz-5.18.0 root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro single radeon.audio=1 radeon.si_support=1 page_owner=on
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-5.18.0
	}
	menuentry 'Devuan GNU/Linux, with Linux 5.10.0-20-amd64' --class devuan --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-20-amd64-advanced-39706f53-7c27-4310-b22a-36c7b042d1a1' {
		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 --hint='hd0,gpt3'  e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		else
		  search --no-floppy --fs-uuid --set=root e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		fi
		echo	'Loading Linux 5.10.0-20-amd64 ...'
		linux	/vmlinuz-5.10.0-20-amd64 root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro radeon.audio=1 radeon.si_support=1 page_owner=on 
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-5.10.0-20-amd64
	}
	menuentry 'Devuan GNU/Linux, with Linux 5.10.0-20-amd64 (recovery mode)' --class devuan --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-20-amd64-recovery-39706f53-7c27-4310-b22a-36c7b042d1a1' {
		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 --hint='hd0,gpt3'  e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		else
		  search --no-floppy --fs-uuid --set=root e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		fi
		echo	'Loading Linux 5.10.0-20-amd64 ...'
		linux	/vmlinuz-5.10.0-20-amd64 root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro single radeon.audio=1 radeon.si_support=1 page_owner=on
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-5.10.0-20-amd64
	}
	menuentry 'Devuan GNU/Linux, with Linux 5.10.0-18-amd64' --class devuan --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-18-amd64-advanced-39706f53-7c27-4310-b22a-36c7b042d1a1' {
		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 --hint='hd0,gpt3'  e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		else
		  search --no-floppy --fs-uuid --set=root e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		fi
		echo	'Loading Linux 5.10.0-18-amd64 ...'
		linux	/vmlinuz-5.10.0-18-amd64 root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro radeon.audio=1 radeon.si_support=1 page_owner=on 
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-5.10.0-18-amd64
	}
	menuentry 'Devuan GNU/Linux, with Linux 5.10.0-18-amd64 (recovery mode)' --class devuan --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-18-amd64-recovery-39706f53-7c27-4310-b22a-36c7b042d1a1' {
		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 --hint='hd0,gpt3'  e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		else
		  search --no-floppy --fs-uuid --set=root e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		fi
		echo	'Loading Linux 5.10.0-18-amd64 ...'
		linux	/vmlinuz-5.10.0-18-amd64 root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro single radeon.audio=1 radeon.si_support=1 page_owner=on
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-5.10.0-18-amd64
	}
	menuentry 'Devuan GNU/Linux, with Linux 5.10.0-0.deb10.20-amd64' --class devuan --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-0.deb10.20-amd64-advanced-39706f53-7c27-4310-b22a-36c7b042d1a1' {
		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 --hint='hd0,gpt3'  e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		else
		  search --no-floppy --fs-uuid --set=root e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		fi
		echo	'Loading Linux 5.10.0-0.deb10.20-amd64 ...'
		linux	/vmlinuz-5.10.0-0.deb10.20-amd64 root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro radeon.audio=1 radeon.si_support=1 page_owner=on 
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-5.10.0-0.deb10.20-amd64
	}
	menuentry 'Devuan GNU/Linux, with Linux 5.10.0-0.deb10.20-amd64 (recovery mode)' --class devuan --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-0.deb10.20-amd64-recovery-39706f53-7c27-4310-b22a-36c7b042d1a1' {
		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 --hint='hd0,gpt3'  e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		else
		  search --no-floppy --fs-uuid --set=root e15a0540-2d1d-45fb-ba26-d5278ddf94f2
		fi
		echo	'Loading Linux 5.10.0-0.deb10.20-amd64 ...'
		linux	/vmlinuz-5.10.0-0.deb10.20-amd64 root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro single radeon.audio=1 radeon.si_support=1 page_owner=on
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-5.10.0-0.deb10.20-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/20_memtest86+ ###
menuentry "Memory test (memtest86+x64.bin)" {
	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 --hint='hd0,gpt3'  e15a0540-2d1d-45fb-ba26-d5278ddf94f2
	else
	  search --no-floppy --fs-uuid --set=root e15a0540-2d1d-45fb-ba26-d5278ddf94f2
	fi
        linux   /memtest86+x64.bin
}
menuentry 'Memory test (memtest86+x64.bin, serial console)' {
	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 --hint='hd0,gpt3'  e15a0540-2d1d-45fb-ba26-d5278ddf94f2
	else
	  search --no-floppy --fs-uuid --set=root e15a0540-2d1d-45fb-ba26-d5278ddf94f2
	fi
        linux	/memtest86+x64.bin console=ttyS0,115200
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### 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 ###
*********************** END /boot/grub/grub.cfg

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

*********************** BEGIN /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root  9 Feb 10 00:04 ata-HL-DT-ST_DVDRAM_GH24NSD1_KMDL4TD2119 -> ../../sr0
lrwxrwxrwx 1 root root  9 Feb 10 00:10 ata-ST2000VN004-2E4164_Z52BGHH5 -> ../../sda
lrwxrwxrwx 1 root root 10 Feb 10 00:10 ata-ST2000VN004-2E4164_Z52BGHH5-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 10 00:10 ata-ST2000VN004-2E4164_Z52BGHH5-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Feb 10 00:10 ata-ST2000VN004-2E4164_Z52BGHH5-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Feb 10 00:10 ata-ST2000VN004-2E4164_Z52BGHH5-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Feb 10 00:10 ata-ST2000VN004-2E4164_Z52BGHH5-part5 -> ../../sda5
lrwxrwxrwx 1 root root  9 Feb 10 00:04 usb-Seagate_One_Touch_w_PW_00000000NABT1PAN-0:0 -> ../../sdc
lrwxrwxrwx 1 root root 10 Feb 10 00:04 usb-Seagate_One_Touch_w_PW_00000000NABT1PAN-0:0-part1 -> ../../sdc1
lrwxrwxrwx 1 root root  9 Feb 10 00:04 usb-Seagate_One_Touch_w_PW_00000000NABT50EX-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Feb 10 00:04 usb-Seagate_One_Touch_w_PW_00000000NABT50EX-0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root  9 Feb 10 00:10 wwn-0x5000c500dc8ee4ce -> ../../sda
lrwxrwxrwx 1 root root 10 Feb 10 00:10 wwn-0x5000c500dc8ee4ce-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 10 00:10 wwn-0x5000c500dc8ee4ce-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Feb 10 00:10 wwn-0x5000c500dc8ee4ce-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Feb 10 00:10 wwn-0x5000c500dc8ee4ce-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Feb 10 00:10 wwn-0x5000c500dc8ee4ce-part5 -> ../../sda5
lrwxrwxrwx 1 root root  9 Feb 10 00:04 wwn-0x5001480000000000 -> ../../sr0
*********************** END /dev/disk/by-id

*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Feb 10 00:10 39706f53-7c27-4310-b22a-36c7b042d1a1 -> ../../sda5
lrwxrwxrwx 1 root root 10 Feb 10 00:04 60B1-77B2 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Feb 10 00:04 60F9-0374 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Feb 10 00:10 95b7bca0-b68f-4591-8ad9-be86dd912411 -> ../../sda4
lrwxrwxrwx 1 root root 10 Feb 10 00:10 e15a0540-2d1d-45fb-ba26-d5278ddf94f2 -> ../../sda3
lrwxrwxrwx 1 root root 10 Feb 10 00:10 f7ae6723-3660-45c2-8855-34b897e7927b -> ../../sda1
*********************** END /dev/disk/by-uuid

-- System Information:
Debian Release: bookworm/sid
  APT prefers experimental
  APT policy: (1, 'experimental')
merged-usr: no
Architecture: amd64 (x86_64)

Kernel: Linux 6.2.0-rc7+ (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

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

grub-pc recommends no packages.

grub-pc suggests no packages.

-- Configuration Files:
/etc/default/grub changed:
GRUB_DEFAULT=0
GRUB_TIMEOUT=600
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX="radeon.audio=1 radeon.si_support=1 page_owner=on"
GRUB_TERMINAL=console
GRUB_INIT_TUNE="480 440 1"
GRUB_THEME=/usr/share/desktop-base/grub-themes/desktop-grub-theme/theme.txt
GRUB_DISABLE_OS_PROBER=true


-- debconf information:
* grub-pc/install_devices_disks_changed: /dev/disk/by-id/ata-ST2000VN004-2E4164_Z52BGHH5, /dev/disk/by-id/ata-ST2000VN004-2E4164_Z52BGHH5-part3
  grub-pc/linux_cmdline: fillme
  grub-pc/postrm_purge_boot_grub: false
  grub-pc/mixed_legacy_and_grub2: true
  grub-pc/install_devices_failed_upgrade: true
  grub2/kfreebsd_cmdline_default: quiet
  grub-pc/install_devices_empty: true
  grub2/update_nvram: true
* grub2/linux_cmdline_default: amdgpu.audio=1 amdgpu.si_support=1 radeon.si_support=0 page_owner=on amdgpu.gpu_recovery=1
  grub-pc/disk_description:
* grub-pc/install_devices_failed: true
  grub-pc/kopt_extracted: false
  grub2/force_efi_extra_removable: false
  grub2/kfreebsd_cmdline:
  grub-pc/timeout: 600
* grub-pc/install_devices: /dev/disk/by-id/ata-ST2000VN004-2E4164_Z52BGHH5, /dev/disk/by-id/ata-ST2000VN004-2E4164_Z52BGHH5-part3
  grub-pc/hidden_timeout: false
* grub2/linux_cmdline: radeon.audio=1 radeon.si_support=1 page_owner=on
  grub-pc/chainload_from_menu.lst: true
  grub-pc/partition_description:
  grub2/device_map_regenerated:



More information about the Pkg-grub-devel mailing list