à dire vrai , râleur , j' ai deux grub.cfg , ce qui n'arrange pas les choses .
grub.cfg de /boot/grub2/ :
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
set pager=1
if [ -f ${config_directory}/grubenv ]; then
load_env -f ${config_directory}/grubenv
elif [ -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="${saved_entry}"
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_output console
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
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/01_users ###
if [ -f ${prefix}/user.cfg ]; then
source ${prefix}/user.cfg
if [ -n "${GRUB2_PASSWORD}" ]; then
set superusers="root"
export superusers
password_pbkdf2 root ${GRUB2_PASSWORD}
fi
fi
### END /etc/grub.d/01_users ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Fedora (4.17.0-0.rc5.git3.1.fc29.x86_64) 29 (Workstation Edition)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.17.0-0.rc5.git3.1.fc29.x86_64-advanced-ef89b636-d7c4-4c93-8d12-379f7ebcdab7' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 1cea9d6a-e852-4ddc-96d7-16b0b1644115
else
search --no-floppy --fs-uuid --set=root 1cea9d6a-e852-4ddc-96d7-16b0b1644115
fi
linux16 /vmlinuz-4.17.0-0.rc5.git3.1.fc29.x86_64 root=/dev/mapper/fedora_localhost--live-root ro resume=/dev/mapper/fedora_localhost--live-swap rd.lvm.lv=fedora_localhost-live/root rd.lvm.lv=fedora_localhost-live/swap rhgb quiet
initrd16 /initramfs-4.17.0-0.rc5.git3.1.fc29.x86_64.img
}
menuentry 'Fedora (4.16.9-300.fc28.x86_64) 29 (Workstation Edition)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.16.9-300.fc28.x86_64-advanced-ef89b636-d7c4-4c93-8d12-379f7ebcdab7' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 1cea9d6a-e852-4ddc-96d7-16b0b1644115
else
search --no-floppy --fs-uuid --set=root 1cea9d6a-e852-4ddc-96d7-16b0b1644115
fi
linux16 /vmlinuz-4.16.9-300.fc28.x86_64 root=/dev/mapper/fedora_localhost--live-root ro resume=/dev/mapper/fedora_localhost--live-swap rd.lvm.lv=fedora_localhost-live/root rd.lvm.lv=fedora_localhost-live/swap rhgb quiet
initrd16 /initramfs-4.16.9-300.fc28.x86_64.img
}
menuentry 'Fedora (4.16.3-301.fc28.x86_64) 29 (Workstation Edition)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.16.3-301.fc28.x86_64-advanced-ef89b636-d7c4-4c93-8d12-379f7ebcdab7' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 1cea9d6a-e852-4ddc-96d7-16b0b1644115
else
search --no-floppy --fs-uuid --set=root 1cea9d6a-e852-4ddc-96d7-16b0b1644115
fi
linux16 /vmlinuz-4.16.3-301.fc28.x86_64 root=/dev/mapper/fedora_localhost--live-root ro resume=/dev/mapper/fedora_localhost--live-swap rd.lvm.lv=fedora_localhost-live/root rd.lvm.lv=fedora_localhost-live/swap rhgb quiet
initrd16 /initramfs-4.16.3-301.fc28.x86_64.img
}
menuentry 'Fedora (0-rescue-39fa0626807b441cb8d3dd18f85621c2) 29 (Workstation Edition)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-39fa0626807b441cb8d3dd18f85621c2-advanced-ef89b636-d7c4-4c93-8d12-379f7ebcdab7' {
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 1cea9d6a-e852-4ddc-96d7-16b0b1644115
else
search --no-floppy --fs-uuid --set=root 1cea9d6a-e852-4ddc-96d7-16b0b1644115
fi
linux16 /vmlinuz-0-rescue-39fa0626807b441cb8d3dd18f85621c2 root=/dev/mapper/fedora_localhost--live-root ro resume=/dev/mapper/fedora_localhost--live-swap rd.lvm.lv=fedora_localhost-live/root rd.lvm.lv=fedora_localhost-live/swap rhgb quiet
initrd16 /initramfs-0-rescue-39fa0626807b441cb8d3dd18f85621c2.img
}
if [ "x$default" = 'Fedora (4.17.0-0.rc5.git3.1.fc29.x86_64) 29 (Workstation Edition)' ]; then default='Advanced options for Fedora>Fedora (4.17.0-0.rc5.git3.1.fc29.x86_64) 29 (Workstation Edition)'; fi;
### 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_ppc_terminfo ###
### END /etc/grub.d/20_ppc_terminfo ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Ubuntu 18.04 LTS (18.04) (on /dev/sdb4)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-add1311e-a9e8-4966-b2cf-bf54607b1b1f' {
insmod part_gpt
insmod ext2
set root='hd1,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt4 --hint-efi=hd1,gpt4 --hint-baremetal=ahci1,gpt4 add1311e-a9e8-4966-b2cf-bf54607b1b1f
else
search --no-floppy --fs-uuid --set=root add1311e-a9e8-4966-b2cf-bf54607b1b1f
fi
linux16 /boot/vmlinuz-4.15.0-20-generic root=/dev/sdb4
initrd16 /boot/initrd.img-4.15.0-20-generic
}
submenu 'Advanced options for Ubuntu 18.04 LTS (18.04) (on /dev/sdb4)' $menuentry_id_option 'osprober-gnulinux-advanced-add1311e-a9e8-4966-b2cf-bf54607b1b1f' {
menuentry 'Ubuntu 18.04 LTS (18.04) (on /dev/sdb4)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-20-generic--add1311e-a9e8-4966-b2cf-bf54607b1b1f' {
insmod part_gpt
insmod ext2
set root='hd1,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt4 --hint-efi=hd1,gpt4 --hint-baremetal=ahci1,gpt4 add1311e-a9e8-4966-b2cf-bf54607b1b1f
else
search --no-floppy --fs-uuid --set=root add1311e-a9e8-4966-b2cf-bf54607b1b1f
fi
linux16 /boot/vmlinuz-4.15.0-20-generic root=/dev/sdb4
initrd16 /boot/initrd.img-4.15.0-20-generic
}
}
menuentry 'Windows 10 (on /dev/sdc1)' --class windows --class os $menuentry_id_option 'osprober-chain-A6ECA3BDECA385E1' {
insmod part_msdos
insmod ntfs
set root='hd2,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1 A6ECA3BDECA385E1
else
search --no-floppy --fs-uuid --set=root A6ECA3BDECA385E1
fi
parttool ${root} hidden-
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry 'Windows 10 (on /dev/sdc2)' --class windows --class os $menuentry_id_option 'osprober-chain-8CC4AD79C4AD6664' {
insmod part_msdos
insmod ntfs
set root='hd2,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos2 --hint-efi=hd2,msdos2 --hint-baremetal=ahci2,msdos2 8CC4AD79C4AD6664
else
search --no-floppy --fs-uuid --set=root 8CC4AD79C4AD6664
fi
parttool ${root} hidden-
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry 'Debian GNU/Linux 9 (stretch) (on /dev/sdc5)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-df17331a-73c9-4fd9-929f-2b11f03887aa' {
insmod part_msdos
insmod ext2
set root='hd2,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5 df17331a-73c9-4fd9-929f-2b11f03887aa
else
search --no-floppy --fs-uuid --set=root df17331a-73c9-4fd9-929f-2b11f03887aa
fi
linux16 /boot/vmlinuz-4.15.0-0.bpo.2-amd64 root=UUID=df17331a-73c9-4fd9-929f-2b11f03887aa ro panic=10 nouveau.modeset=0 quiet
initrd16 /boot/initrd.img-4.15.0-0.bpo.2-amd64
}
submenu 'Advanced options for Debian GNU/Linux 9 (stretch) (on /dev/sdc5)' $menuentry_id_option 'osprober-gnulinux-advanced-df17331a-73c9-4fd9-929f-2b11f03887aa' {
menuentry 'Debian GNU/Linux (on /dev/sdc5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-0.bpo.2-amd64--df17331a-73c9-4fd9-929f-2b11f03887aa' {
insmod part_msdos
insmod ext2
set root='hd2,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5 df17331a-73c9-4fd9-929f-2b11f03887aa
else
search --no-floppy --fs-uuid --set=root df17331a-73c9-4fd9-929f-2b11f03887aa
fi
linux16 /boot/vmlinuz-4.15.0-0.bpo.2-amd64 root=UUID=df17331a-73c9-4fd9-929f-2b11f03887aa ro panic=10 nouveau.modeset=0 quiet
initrd16 /boot/initrd.img-4.15.0-0.bpo.2-amd64
}
menuentry 'Debian GNU/Linux, with Linux 4.15.0-0.bpo.2-amd64 (on /dev/sdc5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-0.bpo.2-amd64--df17331a-73c9-4fd9-929f-2b11f03887aa' {
insmod part_msdos
insmod ext2
set root='hd2,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5 df17331a-73c9-4fd9-929f-2b11f03887aa
else
search --no-floppy --fs-uuid --set=root df17331a-73c9-4fd9-929f-2b11f03887aa
fi
linux16 /boot/vmlinuz-4.15.0-0.bpo.2-amd64 root=UUID=df17331a-73c9-4fd9-929f-2b11f03887aa ro panic=10 nouveau.modeset=0 quiet
initrd16 /boot/initrd.img-4.15.0-0.bpo.2-amd64
}
menuentry 'Debian GNU/Linux, with Linux 4.15.0-0.bpo.2-amd64 (recovery mode) (on /dev/sdc5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-0.bpo.2-amd64-root=UUID=df17331a-73c9-4fd9-929f-2b11f03887aa ro single-df17331a-73c9-4fd9-929f-2b11f03887aa' {
insmod part_msdos
insmod ext2
set root='hd2,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5 df17331a-73c9-4fd9-929f-2b11f03887aa
else
search --no-floppy --fs-uuid --set=root df17331a-73c9-4fd9-929f-2b11f03887aa
fi
linux16 /boot/vmlinuz-4.15.0-0.bpo.2-amd64 root=UUID=df17331a-73c9-4fd9-929f-2b11f03887aa ro single
initrd16 /boot/initrd.img-4.15.0-0.bpo.2-amd64
}
menuentry 'Debian GNU/Linux, with Linux 4.9.0-6-amd64 (on /dev/sdc5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-6-amd64--df17331a-73c9-4fd9-929f-2b11f03887aa' {
insmod part_msdos
insmod ext2
set root='hd2,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5 df17331a-73c9-4fd9-929f-2b11f03887aa
else
search --no-floppy --fs-uuid --set=root df17331a-73c9-4fd9-929f-2b11f03887aa
fi
linux16 /boot/vmlinuz-4.9.0-6-amd64 root=UUID=df17331a-73c9-4fd9-929f-2b11f03887aa ro panic=10 nouveau.modeset=0 quiet
initrd16 /boot/initrd.img-4.9.0-6-amd64
}
menuentry 'Debian GNU/Linux, with Linux 4.9.0-6-amd64 (recovery mode) (on /dev/sdc5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-6-amd64-root=UUID=df17331a-73c9-4fd9-929f-2b11f03887aa ro single-df17331a-73c9-4fd9-929f-2b11f03887aa' {
insmod part_msdos
insmod ext2
set root='hd2,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5 df17331a-73c9-4fd9-929f-2b11f03887aa
else
search --no-floppy --fs-uuid --set=root df17331a-73c9-4fd9-929f-2b11f03887aa
fi
linux16 /boot/vmlinuz-4.9.0-6-amd64 root=UUID=df17331a-73c9-4fd9-929f-2b11f03887aa ro single
initrd16 /boot/initrd.img-4.9.0-6-amd64
}
menuentry 'Memory test (memtest86) (on /dev/sdc5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/memtest86.bin--df17331a-73c9-4fd9-929f-2b11f03887aa' {
insmod part_msdos
insmod ext2
set root='hd2,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5 df17331a-73c9-4fd9-929f-2b11f03887aa
else
search --no-floppy --fs-uuid --set=root df17331a-73c9-4fd9-929f-2b11f03887aa
fi
linux16 /boot/memtest86.bin
}
menuentry 'Memory test (memtest86+) (on /dev/sdc5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/memtest86+.bin--df17331a-73c9-4fd9-929f-2b11f03887aa' {
insmod part_msdos
insmod ext2
set root='hd2,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5 df17331a-73c9-4fd9-929f-2b11f03887aa
else
search --no-floppy --fs-uuid --set=root df17331a-73c9-4fd9-929f-2b11f03887aa
fi
linux16 /boot/memtest86+.bin
}
menuentry 'Memory test (memtest86+, serial console 115200) (on /dev/sdc5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/memtest86+.bin--df17331a-73c9-4fd9-929f-2b11f03887aa' {
insmod part_msdos
insmod ext2
set root='hd2,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5 df17331a-73c9-4fd9-929f-2b11f03887aa
else
search --no-floppy --fs-uuid --set=root df17331a-73c9-4fd9-929f-2b11f03887aa
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
}
menuentry 'Debian GNU/Linux buster/sid (on /dev/sdg1)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-87b8f371-408c-46d1-a141-b78c50c41f60' {
insmod part_msdos
insmod ext2
set root='hd6,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd6,msdos1 --hint-efi=hd6,msdos1 --hint-baremetal=ahci6,msdos1 87b8f371-408c-46d1-a141-b78c50c41f60
else
search --no-floppy --fs-uuid --set=root 87b8f371-408c-46d1-a141-b78c50c41f60
fi
linux16 /boot/vmlinuz-4.16.9-amd64 root=UUID=87b8f371-408c-46d1-a141-b78c50c41f60 ro quiet splash irqpoll
initrd16 /boot/initrd.img-4.16.9-amd64
}
submenu 'Advanced options for Debian GNU/Linux buster/sid (on /dev/sdg1)' $menuentry_id_option 'osprober-gnulinux-advanced-87b8f371-408c-46d1-a141-b78c50c41f60' {
menuentry 'Debian GNU/Linux (on /dev/sdg1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.16.9-amd64--87b8f371-408c-46d1-a141-b78c50c41f60' {
insmod part_msdos
insmod ext2
set root='hd6,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd6,msdos1 --hint-efi=hd6,msdos1 --hint-baremetal=ahci6,msdos1 87b8f371-408c-46d1-a141-b78c50c41f60
else
search --no-floppy --fs-uuid --set=root 87b8f371-408c-46d1-a141-b78c50c41f60
fi
linux16 /boot/vmlinuz-4.16.9-amd64 root=UUID=87b8f371-408c-46d1-a141-b78c50c41f60 ro quiet splash irqpoll
initrd16 /boot/initrd.img-4.16.9-amd64
}
menuentry 'Debian GNU/Linux, avec Linux 4.16.9-amd64 (on /dev/sdg1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.16.9-amd64--87b8f371-408c-46d1-a141-b78c50c41f60' {
insmod part_msdos
insmod ext2
set root='hd6,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd6,msdos1 --hint-efi=hd6,msdos1 --hint-baremetal=ahci6,msdos1 87b8f371-408c-46d1-a141-b78c50c41f60
else
search --no-floppy --fs-uuid --set=root 87b8f371-408c-46d1-a141-b78c50c41f60
fi
linux16 /boot/vmlinuz-4.16.9-amd64 root=UUID=87b8f371-408c-46d1-a141-b78c50c41f60 ro quiet splash irqpoll
initrd16 /boot/initrd.img-4.16.9-amd64
}
menuentry 'Debian GNU/Linux, with Linux 4.16.9-amd64 (recovery mode) (on /dev/sdg1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.16.9-amd64-root=UUID=87b8f371-408c-46d1-a141-b78c50c41f60 ro single-87b8f371-408c-46d1-a141-b78c50c41f60' {
insmod part_msdos
insmod ext2
set root='hd6,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd6,msdos1 --hint-efi=hd6,msdos1 --hint-baremetal=ahci6,msdos1 87b8f371-408c-46d1-a141-b78c50c41f60
else
search --no-floppy --fs-uuid --set=root 87b8f371-408c-46d1-a141-b78c50c41f60
fi
linux16 /boot/vmlinuz-4.16.9-amd64 root=UUID=87b8f371-408c-46d1-a141-b78c50c41f60 ro single
initrd16 /boot/initrd.img-4.16.9-amd64
}
menuentry 'Debian GNU/Linux, avec Linux 4.16.0-1-amd64 (on /dev/sdg1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.16.0-1-amd64--87b8f371-408c-46d1-a141-b78c50c41f60' {
insmod part_msdos
insmod ext2
set root='hd6,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd6,msdos1 --hint-efi=hd6,msdos1 --hint-baremetal=ahci6,msdos1 87b8f371-408c-46d1-a141-b78c50c41f60
else
search --no-floppy --fs-uuid --set=root 87b8f371-408c-46d1-a141-b78c50c41f60
fi
linux16 /boot/vmlinuz-4.16.0-1-amd64 root=UUID=87b8f371-408c-46d1-a141-b78c50c41f60 ro quiet splash irqpoll
initrd16 /boot/initrd.img-4.16.0-1-amd64
}
menuentry 'Debian GNU/Linux, with Linux 4.16.0-1-amd64 (recovery mode) (on /dev/sdg1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.16.0-1-amd64-root=UUID=87b8f371-408c-46d1-a141-b78c50c41f60 ro single-87b8f371-408c-46d1-a141-b78c50c41f60' {
insmod part_msdos
insmod ext2
set root='hd6,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd6,msdos1 --hint-efi=hd6,msdos1 --hint-baremetal=ahci6,msdos1 87b8f371-408c-46d1-a141-b78c50c41f60
else
search --no-floppy --fs-uuid --set=root 87b8f371-408c-46d1-a141-b78c50c41f60
fi
linux16 /boot/vmlinuz-4.16.0-1-amd64 root=UUID=87b8f371-408c-46d1-a141-b78c50c41f60 ro single
initrd16 /boot/initrd.img-4.16.0-1-amd64
}
menuentry 'Ubuntu 18.04 LTS (18.04) (sur /dev/sdb4) (on /dev/sdg1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--87b8f371-408c-46d1-a141-b78c50c41f60' {
insmod part_msdos
insmod ext2
set root='hd6,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd6,msdos1 --hint-efi=hd6,msdos1 --hint-baremetal=ahci6,msdos1 87b8f371-408c-46d1-a141-b78c50c41f60
else
search --no-floppy --fs-uuid --set=root 87b8f371-408c-46d1-a141-b78c50c41f60
fi
linux16 /vmlinuz root=/dev/sdb4
initrd16 /initrd.img
}
menuentry 'Ubuntu 18.04 LTS (18.04) (sur /dev/sdb4) (on /dev/sdg1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--87b8f371-408c-46d1-a141-b78c50c41f60' {
insmod part_msdos
insmod ext2
set root='hd6,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd6,msdos1 --hint-efi=hd6,msdos1 --hint-baremetal=ahci6,msdos1 87b8f371-408c-46d1-a141-b78c50c41f60
else
search --no-floppy --fs-uuid --set=root 87b8f371-408c-46d1-a141-b78c50c41f60
fi
linux16 /vmlinuz root=/dev/sdb4
initrd16 /initrd.img
}
menuentry 'Ubuntu 18.04 LTS (18.04) (sur /dev/sdb4) (on /dev/sdg1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--87b8f371-408c-46d1-a141-b78c50c41f60' {
insmod part_msdos
insmod ext2
set root='hd6,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd6,msdos1 --hint-efi=hd6,msdos1 --hint-baremetal=ahci6,msdos1 87b8f371-408c-46d1-a141-b78c50c41f60
else
search --no-floppy --fs-uuid --set=root 87b8f371-408c-46d1-a141-b78c50c41f60
fi
linux16 /vmlinuz root=/dev/sdb4
initrd16 /initrd.img
}
menuentry 'Ubuntu 18.04 LTS (18.04) (sur /dev/sdb4) (on /dev/sdg1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--87b8f371-408c-46d1-a141-b78c50c41f60' {
insmod part_msdos
insmod ext2
set root='hd6,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd6,msdos1 --hint-efi=hd6,msdos1 --hint-baremetal=ahci6,msdos1 87b8f371-408c-46d1-a141-b78c50c41f60
else
search --no-floppy --fs-uuid --set=root 87b8f371-408c-46d1-a141-b78c50c41f60
fi
linux16 /vmlinuz root=/dev/sdb4
initrd16 /initrd.img.old
}
menuentry 'Ubuntu 18.04 LTS (18.04) (sur /dev/sdb4) (on /dev/sdg1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--87b8f371-408c-46d1-a141-b78c50c41f60' {
insmod part_msdos
insmod ext2
set root='hd6,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd6,msdos1 --hint-efi=hd6,msdos1 --hint-baremetal=ahci6,msdos1 87b8f371-408c-46d1-a141-b78c50c41f60
else
search --no-floppy --fs-uuid --set=root 87b8f371-408c-46d1-a141-b78c50c41f60
fi
linux16 /vmlinuz root=/dev/sdb4
initrd16 /initrd.img
}
menuentry 'Ubuntu 18.04 LTS (18.04) (sur /dev/sdb4) (on /dev/sdg1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--87b8f371-408c-46d1-a141-b78c50c41f60' {
insmod part_msdos
insmod ext2
set root='hd6,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd6,msdos1 --hint-efi=hd6,msdos1 --hint-baremetal=ahci6,msdos1 87b8f371-408c-46d1-a141-b78c50c41f60
else
search --no-floppy --fs-uuid --set=root 87b8f371-408c-46d1-a141-b78c50c41f60
fi
linux16 /vmlinuz root=/dev/sdb4
initrd16 /initrd.img
}
menuentry 'Ubuntu 18.04 LTS (18.04) (sur /dev/sdb4) (on /dev/sdg1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--87b8f371-408c-46d1-a141-b78c50c41f60' {
insmod part_msdos
insmod ext2
set root='hd6,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd6,msdos1 --hint-efi=hd6,msdos1 --hint-baremetal=ahci6,msdos1 87b8f371-408c-46d1-a141-b78c50c41f60
else
search --no-floppy --fs-uuid --set=root 87b8f371-408c-46d1-a141-b78c50c41f60
fi
linux16 /vmlinuz root=/dev/sdb4
initrd16 /initrd.img.old
}
}
### END /etc/grub.d/30_os-prober ###
### 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 ###
$ sudo ls /boot/efi/EFI/fedora/
BOOTIA32.CSV fwupia32.efi grub.cfg loader shimia32.efi
BOOTX64.CSV fwupx64.efi grubenv mmia32.efi shimia32-fedora.efi
fonts gcdia32.efi grubia32.efi mmx64.efi shimx64.efi
fw gcdx64.efi grubx64.efi shim.efi shimx64-fedora.efi
et celui de /boot/efi/EFI/fedora/
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
set pager=1
if [ -f ${config_directory}/grubenv ]; then
load_env -f ${config_directory}/grubenv
elif [ -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="${saved_entry}"
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_output console
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
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/01_users ###
if [ -f ${prefix}/user.cfg ]; then
source ${prefix}/user.cfg
if [ -n "${GRUB2_PASSWORD}" ]; then
set superusers="root"
export superusers
password_pbkdf2 root ${GRUB2_PASSWORD}
fi
fi
### END /etc/grub.d/01_users ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Fedora (4.17.0-0.rc5.git3.1.fc29.x86_64) 29 (Workstation Edition)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.17.0-0.rc5.git3.1.fc29.x86_64-advanced-ef89b636-d7c4-4c93-8d12-379f7ebcdab7' {
savedefault
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 1cea9d6a-e852-4ddc-96d7-16b0b1644115
else
search --no-floppy --fs-uuid --set=root 1cea9d6a-e852-4ddc-96d7-16b0b1644115
fi
linux16 /vmlinuz-4.17.0-0.rc5.git3.1.fc29.x86_64 root=/dev/mapper/fedora_localhost--live-root ro resume=/dev/mapper/fedora_localhost--live-swap rd.lvm.lv=fedora_localhost-live/root rd.lvm.lv=fedora_localhost-live/swap rhgb quiet
initrd16 /initramfs-4.17.0-0.rc5.git3.1.fc29.x86_64.img
}
menuentry 'Fedora (4.16.9-300.fc28.x86_64) 29 (Workstation Edition)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.16.9-300.fc28.x86_64-advanced-ef89b636-d7c4-4c93-8d12-379f7ebcdab7' {
savedefault
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 1cea9d6a-e852-4ddc-96d7-16b0b1644115
else
search --no-floppy --fs-uuid --set=root 1cea9d6a-e852-4ddc-96d7-16b0b1644115
fi
linux16 /vmlinuz-4.16.9-300.fc28.x86_64 root=/dev/mapper/fedora_localhost--live-root ro resume=/dev/mapper/fedora_localhost--live-swap rd.lvm.lv=fedora_localhost-live/root rd.lvm.lv=fedora_localhost-live/swap rhgb quiet
initrd16 /initramfs-4.16.9-300.fc28.x86_64.img
}
menuentry 'Fedora (4.16.3-301.fc28.x86_64) 29 (Workstation Edition)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.16.3-301.fc28.x86_64-advanced-ef89b636-d7c4-4c93-8d12-379f7ebcdab7' {
savedefault
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 1cea9d6a-e852-4ddc-96d7-16b0b1644115
else
search --no-floppy --fs-uuid --set=root 1cea9d6a-e852-4ddc-96d7-16b0b1644115
fi
linux16 /vmlinuz-4.16.3-301.fc28.x86_64 root=/dev/mapper/fedora_localhost--live-root ro resume=/dev/mapper/fedora_localhost--live-swap rd.lvm.lv=fedora_localhost-live/root rd.lvm.lv=fedora_localhost-live/swap rhgb quiet
initrd16 /initramfs-4.16.3-301.fc28.x86_64.img
}
menuentry 'Fedora (0-rescue-39fa0626807b441cb8d3dd18f85621c2) 29 (Workstation Edition)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-39fa0626807b441cb8d3dd18f85621c2-advanced-ef89b636-d7c4-4c93-8d12-379f7ebcdab7' {
savedefault
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 1cea9d6a-e852-4ddc-96d7-16b0b1644115
else
search --no-floppy --fs-uuid --set=root 1cea9d6a-e852-4ddc-96d7-16b0b1644115
fi
linux16 /vmlinuz-0-rescue-39fa0626807b441cb8d3dd18f85621c2 root=/dev/mapper/fedora_localhost--live-root ro resume=/dev/mapper/fedora_localhost--live-swap rd.lvm.lv=fedora_localhost-live/root rd.lvm.lv=fedora_localhost-live/swap rhgb quiet
initrd16 /initramfs-0-rescue-39fa0626807b441cb8d3dd18f85621c2.img
}
if [ "x$default" = 'Fedora (4.17.0-0.rc5.git3.1.fc29.x86_64) 29 (Workstation Edition)' ]; then default='Advanced options for Fedora>Fedora (4.17.0-0.rc5.git3.1.fc29.x86_64) 29 (Workstation Edition)'; fi;
### 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_ppc_terminfo ###
### END /etc/grub.d/20_ppc_terminfo ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Ubuntu 18.04 LTS (18.04) (on /dev/sdb4)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-add1311e-a9e8-4966-b2cf-bf54607b1b1f' {
savedefault
insmod part_gpt
insmod ext2
set root='hd1,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt4 --hint-efi=hd1,gpt4 --hint-baremetal=ahci1,gpt4 add1311e-a9e8-4966-b2cf-bf54607b1b1f
else
search --no-floppy --fs-uuid --set=root add1311e-a9e8-4966-b2cf-bf54607b1b1f
fi
linux16 /boot/vmlinuz-4.15.0-20-generic root=/dev/sdb4
initrd16 /boot/initrd.img-4.15.0-20-generic
}
submenu 'Advanced options for Ubuntu 18.04 LTS (18.04) (on /dev/sdb4)' $menuentry_id_option 'osprober-gnulinux-advanced-add1311e-a9e8-4966-b2cf-bf54607b1b1f' {
menuentry 'Ubuntu 18.04 LTS (18.04) (on /dev/sdb4)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-20-generic--add1311e-a9e8-4966-b2cf-bf54607b1b1f' {
savedefault
insmod part_gpt
insmod ext2
set root='hd1,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt4 --hint-efi=hd1,gpt4 --hint-baremetal=ahci1,gpt4 add1311e-a9e8-4966-b2cf-bf54607b1b1f
else
search --no-floppy --fs-uuid --set=root add1311e-a9e8-4966-b2cf-bf54607b1b1f
fi
linux16 /boot/vmlinuz-4.15.0-20-generic root=/dev/sdb4
initrd16 /boot/initrd.img-4.15.0-20-generic
}
}
menuentry 'Windows 10 (on /dev/sdc1)' --class windows --class os $menuentry_id_option 'osprober-chain-A6ECA3BDECA385E1' {
savedefault
insmod part_msdos
insmod ntfs
set root='hd2,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1 A6ECA3BDECA385E1
else
search --no-floppy --fs-uuid --set=root A6ECA3BDECA385E1
fi
parttool ${root} hidden-
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry 'Windows 10 (on /dev/sdc2)' --class windows --class os $menuentry_id_option 'osprober-chain-8CC4AD79C4AD6664' {
savedefault
insmod part_msdos
insmod ntfs
set root='hd2,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos2 --hint-efi=hd2,msdos2 --hint-baremetal=ahci2,msdos2 8CC4AD79C4AD6664
else
search --no-floppy --fs-uuid --set=root 8CC4AD79C4AD6664
fi
parttool ${root} hidden-
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry 'Debian GNU/Linux 9 (stretch) (on /dev/sdc5)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-df17331a-73c9-4fd9-929f-2b11f03887aa' {
savedefault
insmod part_msdos
insmod ext2
set root='hd2,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5 df17331a-73c9-4fd9-929f-2b11f03887aa
else
search --no-floppy --fs-uuid --set=root df17331a-73c9-4fd9-929f-2b11f03887aa
fi
linux16 /boot/vmlinuz-4.15.0-0.bpo.2-amd64 root=UUID=df17331a-73c9-4fd9-929f-2b11f03887aa ro panic=10 nouveau.modeset=0 quiet
initrd16 /boot/initrd.img-4.15.0-0.bpo.2-amd64
}
submenu 'Advanced options for Debian GNU/Linux 9 (stretch) (on /dev/sdc5)' $menuentry_id_option 'osprober-gnulinux-advanced-df17331a-73c9-4fd9-929f-2b11f03887aa' {
menuentry 'Debian GNU/Linux (on /dev/sdc5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-0.bpo.2-amd64--df17331a-73c9-4fd9-929f-2b11f03887aa' {
savedefault
insmod part_msdos
insmod ext2
set root='hd2,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5 df17331a-73c9-4fd9-929f-2b11f03887aa
else
search --no-floppy --fs-uuid --set=root df17331a-73c9-4fd9-929f-2b11f03887aa
fi
linux16 /boot/vmlinuz-4.15.0-0.bpo.2-amd64 root=UUID=df17331a-73c9-4fd9-929f-2b11f03887aa ro panic=10 nouveau.modeset=0 quiet
initrd16 /boot/initrd.img-4.15.0-0.bpo.2-amd64
}
menuentry 'Debian GNU/Linux, with Linux 4.15.0-0.bpo.2-amd64 (on /dev/sdc5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-0.bpo.2-amd64--df17331a-73c9-4fd9-929f-2b11f03887aa' {
savedefault
insmod part_msdos
insmod ext2
set root='hd2,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5 df17331a-73c9-4fd9-929f-2b11f03887aa
else
search --no-floppy --fs-uuid --set=root df17331a-73c9-4fd9-929f-2b11f03887aa
fi
linux16 /boot/vmlinuz-4.15.0-0.bpo.2-amd64 root=UUID=df17331a-73c9-4fd9-929f-2b11f03887aa ro panic=10 nouveau.modeset=0 quiet
initrd16 /boot/initrd.img-4.15.0-0.bpo.2-amd64
}
menuentry 'Debian GNU/Linux, with Linux 4.15.0-0.bpo.2-amd64 (recovery mode) (on /dev/sdc5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-0.bpo.2-amd64-root=UUID=df17331a-73c9-4fd9-929f-2b11f03887aa ro single-df17331a-73c9-4fd9-929f-2b11f03887aa' {
savedefault
insmod part_msdos
insmod ext2
set root='hd2,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5 df17331a-73c9-4fd9-929f-2b11f03887aa
else
search --no-floppy --fs-uuid --set=root df17331a-73c9-4fd9-929f-2b11f03887aa
fi
linux16 /boot/vmlinuz-4.15.0-0.bpo.2-amd64 root=UUID=df17331a-73c9-4fd9-929f-2b11f03887aa ro single
initrd16 /boot/initrd.img-4.15.0-0.bpo.2-amd64
}
menuentry 'Debian GNU/Linux, with Linux 4.9.0-6-amd64 (on /dev/sdc5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-6-amd64--df17331a-73c9-4fd9-929f-2b11f03887aa' {
savedefault
insmod part_msdos
insmod ext2
set root='hd2,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5 df17331a-73c9-4fd9-929f-2b11f03887aa
else
search --no-floppy --fs-uuid --set=root df17331a-73c9-4fd9-929f-2b11f03887aa
fi
linux16 /boot/vmlinuz-4.9.0-6-amd64 root=UUID=df17331a-73c9-4fd9-929f-2b11f03887aa ro panic=10 nouveau.modeset=0 quiet
initrd16 /boot/initrd.img-4.9.0-6-amd64
}
menuentry 'Debian GNU/Linux, with Linux 4.9.0-6-amd64 (recovery mode) (on /dev/sdc5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-6-amd64-root=UUID=df17331a-73c9-4fd9-929f-2b11f03887aa ro single-df17331a-73c9-4fd9-929f-2b11f03887aa' {
savedefault
insmod part_msdos
insmod ext2
set root='hd2,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5 df17331a-73c9-4fd9-929f-2b11f03887aa
else
search --no-floppy --fs-uuid --set=root df17331a-73c9-4fd9-929f-2b11f03887aa
fi
linux16 /boot/vmlinuz-4.9.0-6-amd64 root=UUID=df17331a-73c9-4fd9-929f-2b11f03887aa ro single
initrd16 /boot/initrd.img-4.9.0-6-amd64
}
menuentry 'Memory test (memtest86) (on /dev/sdc5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/memtest86.bin--df17331a-73c9-4fd9-929f-2b11f03887aa' {
savedefault
insmod part_msdos
insmod ext2
set root='hd2,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5 df17331a-73c9-4fd9-929f-2b11f03887aa
else
search --no-floppy --fs-uuid --set=root df17331a-73c9-4fd9-929f-2b11f03887aa
fi
linux16 /boot/memtest86.bin
}
menuentry 'Memory test (memtest86+) (on /dev/sdc5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/memtest86+.bin--df17331a-73c9-4fd9-929f-2b11f03887aa' {
savedefault
insmod part_msdos
insmod ext2
set root='hd2,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5 df17331a-73c9-4fd9-929f-2b11f03887aa
else
search --no-floppy --fs-uuid --set=root df17331a-73c9-4fd9-929f-2b11f03887aa
fi
linux16 /boot/memtest86+.bin
}
menuentry 'Memory test (memtest86+, serial console 115200) (on /dev/sdc5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/memtest86+.bin--df17331a-73c9-4fd9-929f-2b11f03887aa' {
savedefault
insmod part_msdos
insmod ext2
set root='hd2,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5 df17331a-73c9-4fd9-929f-2b11f03887aa
else
search --no-floppy --fs-uuid --set=root df17331a-73c9-4fd9-929f-2b11f03887aa
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
}
menuentry 'Debian GNU/Linux buster/sid (on /dev/sdg1)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-87b8f371-408c-46d1-a141-b78c50c41f60' {
savedefault
insmod part_msdos
insmod ext2
set root='hd6,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd6,msdos1 --hint-efi=hd6,msdos1 --hint-baremetal=ahci6,msdos1 87b8f371-408c-46d1-a141-b78c50c41f60
else
search --no-floppy --fs-uuid --set=root 87b8f371-408c-46d1-a141-b78c50c41f60
fi
linux16 /boot/vmlinuz-4.16.9-amd64 root=UUID=87b8f371-408c-46d1-a141-b78c50c41f60 ro quiet splash irqpoll
initrd16 /boot/initrd.img-4.16.9-amd64
}
submenu 'Advanced options for Debian GNU/Linux buster/sid (on /dev/sdg1)' $menuentry_id_option 'osprober-gnulinux-advanced-87b8f371-408c-46d1-a141-b78c50c41f60' {
menuentry 'Debian GNU/Linux testing (buster) GNU/Linux (on /dev/sdg1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.16.9-amd64--87b8f371-408c-46d1-a141-b78c50c41f60' {
savedefault
insmod part_msdos
insmod ext2
set root='hd6,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd6,msdos1 --hint-efi=hd6,msdos1 --hint-baremetal=ahci6,msdos1 87b8f371-408c-46d1-a141-b78c50c41f60
else
search --no-floppy --fs-uuid --set=root 87b8f371-408c-46d1-a141-b78c50c41f60
fi
linux16 /boot/vmlinuz-4.16.9-amd64 root=UUID=87b8f371-408c-46d1-a141-b78c50c41f60 ro quiet splash irqpoll
initrd16 /boot/initrd.img-4.16.9-amd64
}
menuentry 'Debian GNU/Linux testing (buster) GNU/Linux, avec Linux 4.16.9-amd64 (on /dev/sdg1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.16.9-amd64--87b8f371-408c-46d1-a141-b78c50c41f60' {
savedefault
insmod part_msdos
insmod ext2
set root='hd6,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd6,msdos1 --hint-efi=hd6,msdos1 --hint-baremetal=ahci6,msdos1 87b8f371-408c-46d1-a141-b78c50c41f60
else
search --no-floppy --fs-uuid --set=root 87b8f371-408c-46d1-a141-b78c50c41f60
fi
linux16 /boot/vmlinuz-4.16.9-amd64 root=UUID=87b8f371-408c-46d1-a141-b78c50c41f60 ro quiet splash irqpoll
initrd16 /boot/initrd.img-4.16.9-amd64
}
menuentry 'Debian GNU/Linux testing (buster) GNU/Linux, with Linux 4.16.9-amd64 (recovery mode) (on /dev/sdg1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.16.9-amd64-root=UUID=87b8f371-408c-46d1-a141-b78c50c41f60 ro single-87b8f371-408c-46d1-a141-b78c50c41f60' {
savedefault
insmod part_msdos
insmod ext2
set root='hd6,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd6,msdos1 --hint-efi=hd6,msdos1 --hint-baremetal=ahci6,msdos1 87b8f371-408c-46d1-a141-b78c50c41f60
else
search --no-floppy --fs-uuid --set=root 87b8f371-408c-46d1-a141-b78c50c41f60
fi
linux16 /boot/vmlinuz-4.16.9-amd64 root=UUID=87b8f371-408c-46d1-a141-b78c50c41f60 ro single
initrd16 /boot/initrd.img-4.16.9-amd64
}
menuentry 'Debian GNU/Linux testing (buster) GNU/Linux, avec Linux 4.16.0-1-amd64 (on /dev/sdg1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.16.0-1-amd64--87b8f371-408c-46d1-a141-b78c50c41f60' {
savedefault
insmod part_msdos
insmod ext2
set root='hd6,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd6,msdos1 --hint-efi=hd6,msdos1 --hint-baremetal=ahci6,msdos1 87b8f371-408c-46d1-a141-b78c50c41f60
else
search --no-floppy --fs-uuid --set=root 87b8f371-408c-46d1-a141-b78c50c41f60
fi
linux16 /boot/vmlinuz-4.16.0-1-amd64 root=UUID=87b8f371-408c-46d1-a141-b78c50c41f60 ro quiet splash irqpoll
initrd16 /boot/initrd.img-4.16.0-1-amd64
}
menuentry 'Debian GNU/Linux testing (buster) GNU/Linux, with Linux 4.16.0-1-amd64 (recovery mode) (on /dev/sdg1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.16.0-1-amd64-root=UUID=87b8f371-408c-46d1-a141-b78c50c41f60 ro single-87b8f371-408c-46d1-a141-b78c50c41f60' {
savedefault
insmod part_msdos
insmod ext2
set root='hd6,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd6,msdos1 --hint-efi=hd6,msdos1 --hint-baremetal=ahci6,msdos1 87b8f371-408c-46d1-a141-b78c50c41f60
else
search --no-floppy --fs-uuid --set=root 87b8f371-408c-46d1-a141-b78c50c41f60
fi
linux16 /boot/vmlinuz-4.16.0-1-amd64 root=UUID=87b8f371-408c-46d1-a141-b78c50c41f60 ro single
initrd16 /boot/initrd.img-4.16.0-1-amd64
}
menuentry 'Ubuntu 18.04 LTS (18.04) (sur /dev/sdb4) (on /dev/sdg1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--87b8f371-408c-46d1-a141-b78c50c41f60' {
savedefault
insmod part_msdos
insmod ext2
set root='hd6,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd6,msdos1 --hint-efi=hd6,msdos1 --hint-baremetal=ahci6,msdos1 87b8f371-408c-46d1-a141-b78c50c41f60
else
search --no-floppy --fs-uuid --set=root 87b8f371-408c-46d1-a141-b78c50c41f60
fi
linux16 /vmlinuz root=/dev/sdb4
initrd16 /initrd.img
}
menuentry 'Ubuntu 18.04 LTS (18.04) (sur /dev/sdb4) (on /dev/sdg1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--87b8f371-408c-46d1-a141-b78c50c41f60' {
savedefault
insmod part_msdos
insmod ext2
set root='hd6,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd6,msdos1 --hint-efi=hd6,msdos1 --hint-baremetal=ahci6,msdos1 87b8f371-408c-46d1-a141-b78c50c41f60
else
search --no-floppy --fs-uuid --set=root 87b8f371-408c-46d1-a141-b78c50c41f60
fi
linux16 /vmlinuz root=/dev/sdb4
initrd16 /initrd.img
}
menuentry 'Ubuntu 18.04 LTS (18.04) (sur /dev/sdb4) (on /dev/sdg1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--87b8f371-408c-46d1-a141-b78c50c41f60' {
savedefault
insmod part_msdos
insmod ext2
set root='hd6,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd6,msdos1 --hint-efi=hd6,msdos1 --hint-baremetal=ahci6,msdos1 87b8f371-408c-46d1-a141-b78c50c41f60
else
search --no-floppy --fs-uuid --set=root 87b8f371-408c-46d1-a141-b78c50c41f60
fi
linux16 /vmlinuz root=/dev/sdb4
initrd16 /initrd.img
}
menuentry 'Ubuntu 18.04 LTS (18.04) (sur /dev/sdb4) (on /dev/sdg1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--87b8f371-408c-46d1-a141-b78c50c41f60' {
savedefault
insmod part_msdos
insmod ext2
set root='hd6,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd6,msdos1 --hint-efi=hd6,msdos1 --hint-baremetal=ahci6,msdos1 87b8f371-408c-46d1-a141-b78c50c41f60
else
search --no-floppy --fs-uuid --set=root 87b8f371-408c-46d1-a141-b78c50c41f60
fi
linux16 /vmlinuz root=/dev/sdb4
initrd16 /initrd.img.old
}
menuentry 'Ubuntu 18.04 LTS (18.04) (sur /dev/sdb4) (on /dev/sdg1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--87b8f371-408c-46d1-a141-b78c50c41f60' {
savedefault
insmod part_msdos
insmod ext2
set root='hd6,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd6,msdos1 --hint-efi=hd6,msdos1 --hint-baremetal=ahci6,msdos1 87b8f371-408c-46d1-a141-b78c50c41f60
else
search --no-floppy --fs-uuid --set=root 87b8f371-408c-46d1-a141-b78c50c41f60
fi
linux16 /vmlinuz root=/dev/sdb4
initrd16 /initrd.img
}
menuentry 'Ubuntu 18.04 LTS (18.04) (sur /dev/sdb4) (on /dev/sdg1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--87b8f371-408c-46d1-a141-b78c50c41f60' {
savedefault
insmod part_msdos
insmod ext2
set root='hd6,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd6,msdos1 --hint-efi=hd6,msdos1 --hint-baremetal=ahci6,msdos1 87b8f371-408c-46d1-a141-b78c50c41f60
else
search --no-floppy --fs-uuid --set=root 87b8f371-408c-46d1-a141-b78c50c41f60
fi
linux16 /vmlinuz root=/dev/sdb4
initrd16 /initrd.img
}
menuentry 'Ubuntu 18.04 LTS (18.04) (sur /dev/sdb4) (on /dev/sdg1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--87b8f371-408c-46d1-a141-b78c50c41f60' {
savedefault
insmod part_msdos
insmod ext2
set root='hd6,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd6,msdos1 --hint-efi=hd6,msdos1 --hint-baremetal=ahci6,msdos1 87b8f371-408c-46d1-a141-b78c50c41f60
else
search --no-floppy --fs-uuid --set=root 87b8f371-408c-46d1-a141-b78c50c41f60
fi
linux16 /vmlinuz root=/dev/sdb4
initrd16 /initrd.img.old
}
}
### END /etc/grub.d/30_os-prober ###
### 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 ###
d'après ce lien : https://doc.fedora-fr.org/wiki/GRUB2_:_ … our_Fedora
points 5.3 et 6.1 , il faut , pour régénérer le grub.cfg dans fedora , taper la commande suivante :
grub2-mkconfig -o <destination>
ou , dans le cas présent :
grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
mais je crois que les deux grub.cfg sont identiques . donc , c'est un demi - problème .
le souci majeur , je pense , vient de la gestion du grub par debian , pas par fedora .
que penses tu , râleur , d'un ?
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
je vais essayer , voir .
$ sudo grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.17.0-0.rc5.git3.1.fc29.x86_64
Found initrd image: /boot/initramfs-4.17.0-0.rc5.git3.1.fc29.x86_64.img
Found linux image: /boot/vmlinuz-4.16.9-300.fc28.x86_64
Found initrd image: /boot/initramfs-4.16.9-300.fc28.x86_64.img
Found linux image: /boot/vmlinuz-4.16.3-301.fc28.x86_64
Found initrd image: /boot/initramfs-4.16.3-301.fc28.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-39fa0626807b441cb8d3dd18f85621c2
Found initrd image: /boot/initramfs-0-rescue-39fa0626807b441cb8d3dd18f85621c2.img
Found Ubuntu 18.04 LTS (18.04) on /dev/sdb4
Found Windows 10 on /dev/sdc1
Found Windows 10 on /dev/sdc2
Found Debian GNU/Linux 9 (stretch) on /dev/sdc5
Found Debian GNU/Linux buster/sid on /dev/sdg1
done
$ sudo ls -la /boot/grub2/
total 36
drwx------. 3 root root 4096 24 mai 20:43 .
dr-xr-xr-x. 7 root root 4096 22 mai 09:38 ..
-rw-r--r--. 1 root root 24345 24 mai 20:43 grub.cfg
lrwxrwxrwx. 1 root root 25 16 mai 17:24 grubenv -> ../efi/EFI/fedora/grubenv
drwxr-xr-x. 3 root root 4096 25 avril 08:33 themes
je redémarre ....
ben non , ça a pas marché . il démarre toujours sur le vieux kernel .
Dernière modification par Debian Alain (24-05-2018 19:58:25)