Grub如何引导fedyos

:pushpin:问题描述

grub2-mkconfig的时候可以检测到fydeos,但是启动时候全部都是引导不成功。请问应该如何调整grub2.cfg配置

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Fyde OS (on /dev/sda3)' --class fydeos --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-00000000-0000-0000-0000-000000000000' {
	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  00000000-0000-0000-0000-000000000000
	else
	  search --no-floppy --fs-uuid --set=root 00000000-0000-0000-0000-000000000000
	fi
	linux /boot/vmlinuz root=/dev/sda3
}
submenu 'Advanced options for Fyde OS (on /dev/sda3)' $menuentry_id_option 'osprober-gnulinux-advanced-00000000-0000-0000-0000-000000000000' {
	menuentry 'Fyde OS (on /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz--00000000-0000-0000-0000-000000000000' {
		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  00000000-0000-0000-0000-000000000000
		else
		  search --no-floppy --fs-uuid --set=root 00000000-0000-0000-0000-000000000000
		fi
		linux /boot/vmlinuz root=/dev/sda3
	}
	menuentry 'Fyde OS (on /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.15.137-20840-g5d6560dfd82b-dirty--00000000-0000-0000-0000-000000000000' {
		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  00000000-0000-0000-0000-000000000000
		else
		  search --no-floppy --fs-uuid --set=root 00000000-0000-0000-0000-000000000000
		fi
		linux /boot/vmlinuz-5.15.137-20840-g5d6560dfd82b-dirty root=/dev/sda3
	}
	menuentry 'Fyde OS (on /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz--00000000-0000-0000-0000-000000000000' {
		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  00000000-0000-0000-0000-000000000000
		else
		  search --no-floppy --fs-uuid --set=root 00000000-0000-0000-0000-000000000000
		fi
		linux /boot/vmlinuz root=/dev/sda3
	}
}

menuentry 'Fyde OS (on /dev/sda5)' --class fydeos --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-00000000-0000-0000-0000-000000000000' {
	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  00000000-0000-0000-0000-000000000000
	else
	  search --no-floppy --fs-uuid --set=root 00000000-0000-0000-0000-000000000000
	fi
	linux /boot/vmlinuz root=/dev/sda5
}
submenu 'Advanced options for Fyde OS (on /dev/sda5)' $menuentry_id_option 'osprober-gnulinux-advanced-00000000-0000-0000-0000-000000000000' {
	menuentry 'Fyde OS (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz--00000000-0000-0000-0000-000000000000' {
		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  00000000-0000-0000-0000-000000000000
		else
		  search --no-floppy --fs-uuid --set=root 00000000-0000-0000-0000-000000000000
		fi
		linux /boot/vmlinuz root=/dev/sda5
	}
	menuentry 'Fyde OS (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.15.137-20840-g5d6560dfd82b-dirty--00000000-0000-0000-0000-000000000000' {
		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  00000000-0000-0000-0000-000000000000
		else
		  search --no-floppy --fs-uuid --set=root 00000000-0000-0000-0000-000000000000
		fi
		linux /boot/vmlinuz-5.15.137-20840-g5d6560dfd82b-dirty root=/dev/sda5
	}
	menuentry 'Fyde OS (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz--00000000-0000-0000-0000-000000000000' {
		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  00000000-0000-0000-0000-000000000000
		else
		  search --no-floppy --fs-uuid --set=root 00000000-0000-0000-0000-000000000000
		fi
		linux /boot/vmlinuz root=/dev/sda5
	}
}

请详细描述您所遇到的问题

  • 描述内容:

:computer:系统与设备信息

  • 硬件与系统配置

    • 处理器:AMD 5700u
    • 显卡:(none)
    • RAM(运行内存):16G
    • 存储容量:128G
    • FydeOS版本:18
  • 相关系统日志

    • 访问 Chromium 浏览器并输入 /var/log/messages 以获取日志。
    • 日志内容: