
Comment puis-je me débarrasser de ces entrées de menu GRUB indésirables. Mon Ubuntu et Windows sont chargés correctement, mais ces entrées inutiles, je n'en ai pas besoin. Merci d'avance. Voici à quoi ressemble le grub.cfg (/boot/grub/grub.cfg) dans mon cas:
# BEGIN /etc/grub.d/00_header ###
if [-s $ prefix / grubenv]; ensuite
set have_grubenv = true
load_env
Fi
if ["$ {next_entry}"]; ensuite
set default = "$ {next_entry}"
set next_entry =
save_env next_entry
set boot_once = true
autre
définir par défaut = "5"
Fi
if [x "$ {feature_menuentry_id}" = xy]; ensuite
menuentry_id_option = "- id"
autre
menuentry_id_option = ""
Fi
export menuentry_id_option
if ["$ {prev_saved_entry}"]; ensuite
set saved_entry = "$ {prev_saved_entry}"
save_env saved_entry
set prev_saved_entry =
save_env prev_saved_entry
set boot_once = true
Fi
fonction saveefault {
if [-z "$ {boot_once}"]; ensuite
saved_entry = "$ {selected}"
save_env saved_entry
Fi
}
fonction recordfail {
définir recordfail = 1
if [-n "$ {have_grubenv}"]; alors si [-z "$ {boot_once}"]; puis save_env recordfail; Fi; Fi
}
fonction load_video {
if [x $ feature_all_video_module = xy]; ensuite
insmod all_video
autre
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]; ensuite
font = unicode
autre
insmod part_gpt
insmod ext2
set root = 'hd0, gpt7'
if [x $ feature_platform_search_hint = xy]; ensuite
recherche --no-floppy --fs-uuid --set = root --hint-bios = hd0, gpt7 --hint-efi = hd0, gpt7 --hint-baremetal = ahci0, gpt7 0307c8a7-964b-4f91-9eb0 -31dddf1eee73
autre
recherche --no-floppy --fs-uuid --set = root 0307c8a7-964b-4f91-9eb0-31dddf1eee73
Fi
font = "/ usr / share / grub / unicode.pf2"
Fi
if loadfont $ font; ensuite
définir gfxmode = auto
load_video
insmod gfxterm
set locale_dir = $ prefix / locale
set lang = en_US
insmod gettext
Fi
terminal_output gfxterm
if ["$ {recordfail}" = 1]; ensuite
set timeout = -1
autre
if [x $ feature_timeout_style = xy]; ensuite
définir timeout_style = menu
set timeout = 30
# Code de timeout normal de secours au cas où la fonction timeout_style est
# indisponible.
autre
set timeout = 30
Fi
Fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
définir menu_color_normal = blanc / noir
set menu_color_highlight = noir / gris clair
si background_color 44,0,30,0; ensuite
clair
Fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
fonction gfxmode {
set gfxpayload = "$ {1}"
if ["$ {1}" = "keep"]; ensuite
définir vt_handoff = vt.handoff = 7
autre
définir vt_handoff =
Fi
}
if ["$ {recordfail}"! = 1]; ensuite
if [-e $ {prefix} /gfxblacklist.txt]; ensuite
if hwmatch $ {prefix} /gfxblacklist.txt 3; ensuite
si [$ {match} = 0]; ensuite
set linux_gfx_mode = garder
autre
set linux_gfx_mode = text
Fi
autre
set linux_gfx_mode = text
Fi
autre
set linux_gfx_mode = garder
Fi
autre
set linux_gfx_mode = text
Fi
exporter linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $ menuentry_id_option 'gnulinux-simple-0307c8a7-964b-4f91-9eb0-31dddf1eee73' {
recordfail
load_video
gfxmode $ linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root = 'hd0, gpt7'
if [x $ feature_platform_search_hint = xy]; ensuite
recherche --no-floppy --fs-uuid --set = root --hint-bios = hd0, gpt7 --hint-efi = hd0, gpt7 --hint-baremetal = ahci0, gpt7 0307c8a7-964b-4f91-9eb0 -31dddf1eee73
autre
recherche --no-floppy --fs-uuid --set = root 0307c8a7-964b-4f91-9eb0-31dddf1eee73
Fi
linux /boot/vmlinuz-3.13.0-49-generic.efi.signed root = UUID = 0307c8a7-964b-4f91-9eb0-31dddf1eee73 ro silent splash $ vt_handoff
initrd /boot/initrd.img-3.13.0-49-generic
}
sous-menu 'Options avancées pour Ubuntu' $ menuentry_id_option 'gnulinux-advanced-0307c8a7-964b-4f91-9eb0-31dddf1eee73' {
menuentry 'Ubuntu, with Linux 3.13.0-49-generic' --class ubuntu --class gnu-linux --class gnu --class os $ menuentry_id_option 'gnulinux-3.13.0-49-generic-advanced-0307c8a7-964b -4f91-9eb0-31dddf1eee73 '{
recordfail
load_video
gfxmode $ linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root = 'hd0, gpt7'
if [x $ feature_platform_search_hint = xy]; ensuite
recherche --no-floppy --fs-uuid --set = root --hint-bios = hd0, gpt7 --hint-efi = hd0, gpt7 --hint-baremetal = ahci0, gpt7 0307c8a7-964b-4f91-9eb0 -31dddf1eee73
autre
recherche --no-floppy --fs-uuid --set = root 0307c8a7-964b-4f91-9eb0-31dddf1eee73
Fi
echo 'Chargement de Linux 3.13.0-49-generic ...'
linux /boot/vmlinuz-3.13.0-49-generic.efi.signed root = UUID = 0307c8a7-964b-4f91-9eb0-31dddf1eee73 ro silent splash $ vt_handoff
echo 'Chargement du disque virtuel initial ...'
initrd /boot/initrd.img-3.13.0-49-generic
}
menuentry 'Ubuntu, avec Linux 3.13.0-49-generic (mode de récupération)' --class ubuntu --class gnu-linux --class gnu --class os $ menuentry_id_option 'gnulinux-3.13.0-49-generic-recovery -0307c8a7-964b-4f91-9eb0-31dddf1eee73 '{
recordfail
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root = 'hd0, gpt7'
if [x $ feature_platform_search_hint = xy]; ensuite
recherche --no-floppy --fs-uuid --set = root --hint-bios = hd0, gpt7 --hint-efi = hd0, gpt7 --hint-baremetal = ahci0, gpt7 0307c8a7-964b-4f91-9eb0 -31dddf1eee73
autre
recherche --no-floppy --fs-uuid --set = root 0307c8a7-964b-4f91-9eb0-31dddf1eee73
Fi
echo 'Chargement de Linux 3.13.0-49-generic ...'
linux /boot/vmlinuz-3.13.0-49-generic.efi.signed root = UUID = 0307c8a7-964b-4f91-9eb0-31dddf1eee73 ro récupération nomodeset
echo 'Chargement du disque virtuel initial ...'
initrd /boot/initrd.img-3.13.0-49-generic
}
menuentry 'Ubuntu, with Linux 3.13.0-48-generic' --class ubuntu --class gnu-linux --class gnu --class os $ menuentry_id_option 'gnulinux-3.13.0-48-generic-advanced-0307c8a7-964b -4f91-9eb0-31dddf1eee73 '{
recordfail
load_video
gfxmode $ linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root = 'hd0, gpt7'
if [x $ feature_platform_search_hint = xy]; ensuite
recherche --no-floppy --fs-uuid --set = root --hint-bios = hd0, gpt7 --hint-efi = hd0, gpt7 --hint-baremetal = ahci0, gpt7 0307c8a7-964b-4f91-9eb0 -31dddf1eee73
autre
recherche --no-floppy --fs-uuid --set = root 0307c8a7-964b-4f91-9eb0-31dddf1eee73
Fi
echo 'Chargement de Linux 3.13.0-48-generic ...'
linux /boot/vmlinuz-3.13.0-48-generic.efi.signed root = UUID = 0307c8a7-964b-4f91-9eb0-31dddf1eee73 ro silent splash $ vt_handoff
echo 'Chargement du disque virtuel initial ...'
initrd /boot/initrd.img-3.13.0-48-generic
}
menuentry 'Ubuntu, avec Linux 3.13.0-48-generic (mode de récupération)' --class ubuntu --class gnu-linux --class gnu --class os $ menuentry_id_option 'gnulinux-3.13.0-48-generic-recovery -0307c8a7-964b-4f91-9eb0-31dddf1eee73 '{
recordfail
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root = 'hd0, gpt7'
if [x $ feature_platform_search_hint = xy]; ensuite
recherche --no-floppy --fs-uuid --set = root --hint-bios = hd0, gpt7 --hint-efi = hd0, gpt7 --hint-baremetal = ahci0, gpt7 0307c8a7-964b-4f91-9eb0 -31dddf1eee73
autre
recherche --no-floppy --fs-uuid --set = root 0307c8a7-964b-4f91-9eb0-31dddf1eee73
Fi
echo 'Chargement de Linux 3.13.0-48-generic ...'
linux /boot/vmlinuz-3.13.0-48-generic.efi.signed root = UUID = 0307c8a7-964b-4f91-9eb0-31dddf1eee73 ro récupération nomodeset
echo 'Chargement du disque virtuel initial ...'
initrd /boot/initrd.img-3.13.0-48-generic
}
menuentry 'Ubuntu, with Linux 3.13.0-46-generic' --class ubuntu --class gnu-linux --class gnu --class os $ menuentry_id_option 'gnulinux-3.13.0-46-generic-advanced-0307c8a7-964b -4f91-9eb0-31dddf1eee73 '{
recordfail
load_video
gfxmode $ linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root = 'hd0, gpt7'
if [x $ feature_platform_search_hint = xy]; ensuite
recherche --no-floppy --fs-uuid --set = root --hint-bios = hd0, gpt7 --hint-efi = hd0, gpt7 --hint-baremetal = ahci0, gpt7 0307c8a7-964b-4f91-9eb0 -31dddf1eee73
autre
recherche --no-floppy --fs-uuid --set = root 0307c8a7-964b-4f91-9eb0-31dddf1eee73
Fi
echo 'Chargement de Linux 3.13.0-46-generic ...'
linux /boot/vmlinuz-3.13.0-46-generic.efi.signed root = UUID = 0307c8a7-964b-4f91-9eb0-31dddf1eee73 ro silent splash $ vt_handoff
echo 'Chargement du disque virtuel initial ...'
initrd /boot/initrd.img-3.13.0-46-generic
}
menuentry 'Ubuntu, avec Linux 3.13.0-46-generic (mode de récupération)' --class ubuntu --class gnu-linux --class gnu --class os $ menuentry_id_option 'gnulinux-3.13.0-46-generic-recovery -0307c8a7-964b-4f91-9eb0-31dddf1eee73 '{
recordfail
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root = 'hd0, gpt7'
if [x $ feature_platform_search_hint = xy]; ensuite
recherche --no-floppy --fs-uuid --set = root --hint-bios = hd0, gpt7 --hint-efi = hd0, gpt7 --hint-baremetal = ahci0, gpt7 0307c8a7-964b-4f91-9eb0 -31dddf1eee73
autre
recherche --no-floppy --fs-uuid --set = root 0307c8a7-964b-4f91-9eb0-31dddf1eee73
Fi
echo 'Chargement de Linux 3.13.0-46-generic ...'
linux /boot/vmlinuz-3.13.0-46-generic.efi.signed root = UUID = 0307c8a7-964b-4f91-9eb0-31dddf1eee73 ro récupération nomodeset
echo 'Chargement du disque virtuel initial ...'
initrd /boot/initrd.img-3.13.0-46-generic
}
menuentry 'Ubuntu, with Linux 3.13.0-44-generic' --class ubuntu --class gnu-linux --class gnu --class os $ menuentry_id_option 'gnulinux-3.13.0-44-generic-advanced-0307c8a7-964b -4f91-9eb0-31dddf1eee73 '{
recordfail
load_video
gfxmode $ linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root = 'hd0, gpt7'
if [x $ feature_platform_search_hint = xy]; ensuite
recherche --no-floppy --fs-uuid --set = root --hint-bios = hd0, gpt7 --hint-efi = hd0, gpt7 --hint-baremetal = ahci0, gpt7 0307c8a7-964b-4f91-9eb0 -31dddf1eee73
autre
recherche --no-floppy --fs-uuid --set = root 0307c8a7-964b-4f91-9eb0-31dddf1eee73
Fi
echo 'Chargement de Linux 3.13.0-44-generic ...'
linux /boot/vmlinuz-3.13.0-44-generic.efi.signed root = UUID = 0307c8a7-964b-4f91-9eb0-31dddf1eee73 ro silent splash $ vt_handoff
echo 'Chargement du disque virtuel initial ...'
initrd /boot/initrd.img-3.13.0-44-generic
}
menuentry 'Ubuntu, avec Linux 3.13.0-44-generic (mode de récupération)' --class ubuntu --class gnu-linux --class gnu --class os $ menuentry_id_option 'gnulinux-3.13.0-44-generic-recovery -0307c8a7-964b-4f91-9eb0-31dddf1eee73 '{
recordfail
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root = 'hd0, gpt7'
if [x $ feature_platform_search_hint = xy]; ensuite
recherche --no-floppy --fs-uuid --set = root --hint-bios = hd0, gpt7 --hint-efi = hd0, gpt7 --hint-baremetal = ahci0, gpt7 0307c8a7-964b-4f91-9eb0 -31dddf1eee73
autre
recherche --no-floppy --fs-uuid --set = root 0307c8a7-964b-4f91-9eb0-31dddf1eee73
Fi
echo 'Chargement de Linux 3.13.0-44-generic ...'
linux /boot/vmlinuz-3.13.0-44-generic.efi.signed root = UUID = 0307c8a7-964b-4f91-9eb0-31dddf1eee73 ro récupération nomodeset
echo 'Chargement du disque virtuel initial ...'
initrd /boot/initrd.img-3.13.0-44-generic
}
menuentry 'Ubuntu, with Linux 3.13.0-32-generic' --class ubuntu --class gnu-linux --class gnu --class os $ menuentry_id_option 'gnulinux-3.13.0-32-generic-advanced-0307c8a7-964b -4f91-9eb0-31dddf1eee73 '{
recordfail
load_video
gfxmode $ linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root = 'hd0, gpt7'
if [x $ feature_platform_search_hint = xy]; ensuite
recherche --no-floppy --fs-uuid --set = root --hint-bios = hd0, gpt7 --hint-efi = hd0, gpt7 --hint-baremetal = ahci0, gpt7 0307c8a7-964b-4f91-9eb0 -31dddf1eee73
autre
recherche --no-floppy --fs-uuid --set = root 0307c8a7-964b-4f91-9eb0-31dddf1eee73
Fi
echo 'Chargement de Linux 3.13.0-32-generic ...'
linux /boot/vmlinuz-3.13.0-32-generic.efi.signed root = UUID = 0307c8a7-964b-4f91-9eb0-31dddf1eee73 ro silent splash $ vt_handoff
echo 'Chargement du disque virtuel initial ...'
initrd /boot/initrd.img-3.13.0-32-generic
}
menuentry 'Ubuntu, avec Linux 3.13.0-32-generic (mode de récupération)' --class ubuntu --class gnu-linux --class gnu --class os $ menuentry_id_option 'gnulinux-3.13.0-32-generic-recovery -0307c8a7-964b-4f91-9eb0-31dddf1eee73 '{
recordfail
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root = 'hd0, gpt7'
if [x $ feature_platform_search_hint = xy]; ensuite
recherche --no-floppy --fs-uuid --set = root --hint-bios = hd0, gpt7 --hint-efi = hd0, gpt7 --hint-baremetal = ahci0, gpt7 0307c8a7-964b-4f91-9eb0 -31dddf1eee73
autre
recherche --no-floppy --fs-uuid --set = root 0307c8a7-964b-4f91-9eb0-31dddf1eee73
Fi
echo 'Chargement de Linux 3.13.0-32-generic ...'
linux /boot/vmlinuz-3.13.0-32-generic.efi.signed root = UUID = 0307c8a7-964b-4f91-9eb0-31dddf1eee73 ro récupération nomodeset
echo 'Chargement du disque virtuel initial ...'
initrd /boot/initrd.img-3.13.0-32-generic
}
}
### 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+ ###
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/25_custom ###
menuentry "Windows UEFI bootmgfw.efi" {
recherche --fs-uuid --no-floppy --set = root E467-1A3B
chargeur de chaîne ($ {root}) / EFI / Microsoft / Boot / bootmgfw.efi
}
menuentry "Windows Boot UEFI loader" {
recherche --fs-uuid --no-floppy --set = root E467-1A3B
chargeur de chaîne ($ {root}) / EFI / Boot / bkpbootx64.efi
}
menuentry "EFI / HP / SystemRecovery / bootmgfw.efi" {
recherche --fs-uuid --no-floppy --set = root E467-1A3B
chargeur de chaîne ($ {root}) / EFI / HP / SystemRecovery / bootmgfw.efi
}
### END /etc/grub.d/25_custom ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on / dev / sda2)' --class windows --class os $ menuentry_id_option 'osprober-efi-E467-1A3B' {
insmod part_gpt
insmod fat
set root = 'hd0, gpt2'
if [x $ feature_platform_search_hint = xy]; ensuite
recherche --no-floppy --fs-uuid --set = root --hint-bios = hd0, gpt2 --hint-efi = hd0, gpt2 --hint-baremetal = ahci0, gpt2 E467-1A3B
autre
recherche --no-floppy --fs-uuid --set = root E467-1A3B
Fi
chargeur de chaîne /EFI/Microsoft/Boot/bootmgfw.efi
}
définir timeout_style = menu
if ["$ {timeout}" = 0]; ensuite
set timeout = 10
Fi
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $ menuentry_id_option 'uefi-firmware' {
fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/40_custom ###
# Ce fichier permet d'ajouter facilement des entrées de menu personnalisées. Tapez simplement le
# entrées de menu que vous souhaitez ajouter après ce commentaire. Attention à ne pas changer
# la ligne 'exec tail' ci-dessus.
#
# NE MODIFIEZ PAS CE FICHIER
#
# Il est généré automatiquement par grub-mkconfig à l'aide de modèles
# à partir de /etc/grub.d et paramètres de / etc / default / grub
#
### BEGIN /etc/grub.d/00_header ###
if [-s $ prefix / grubenv]; ensuite
set have_grubenv = true
load_env
Fi
if ["$ {next_entry}"]; ensuite
set default = "$ {next_entry}"
set next_entry =
save_env next_entry
set boot_once = true
autre
définir par défaut = "0"
Fi
if [x "$ {feature_menuentry_id}" = xy]; ensuite
menuentry_id_option = "- id"
autre
menuentry_id_option = ""
Fi
export menuentry_id_option
if ["$ {prev_saved_entry}"]; ensuite
set saved_entry = "$ {prev_saved_entry}"
save_env saved_entry
set prev_saved_entry =
save_env prev_saved_entry
set boot_once = true
Fi
fonction saveefault {
if [-z "$ {boot_once}"]; ensuite
saved_entry = "$ {selected}"
save_env saved_entry
Fi
}
fonction recordfail {
définir recordfail = 1
if [-n "$ {have_grubenv}"]; alors si [-z "$ {boot_once}"]; puis save_env recordfail; Fi; Fi
}
fonction load_video {
if [x $ feature_all_video_module = xy]; ensuite
insmod all_video
autre
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]; ensuite
font = unicode
autre
insmod part_gpt
insmod ext2
set root = 'hd0, gpt7'
if [x $ feature_platform_search_hint = xy]; ensuite
recherche --no-floppy --fs-uuid --set = root --hint-bios = hd0, gpt7 --hint-efi = hd0, gpt7 --hint-baremetal = ahci0, gpt7 0307c8a7-964b-4f91-9eb0 -31dddf1eee73
autre
recherche --no-floppy --fs-uuid --set = root 0307c8a7-964b-4f91-9eb0-31dddf1eee73
Fi
font = "/ usr / share / grub / unicode.pf2"
Fi
if loadfont $ font; ensuite
définir gfxmode = auto
load_video
insmod gfxterm
set locale_dir = $ prefix / locale
set lang = en_US
insmod gettext
Fi
terminal_output gfxterm
if ["$ {recordfail}" = 1]; ensuite
set timeout = -1
autre
if [x $ feature_timeout_style = xy]; ensuite
définir timeout_style = menu
set timeout = 10
# Code de timeout normal de secours au cas où la fonction timeout_style est
# indisponible.
autre
set timeout = 10
Fi
Fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
définir menu_color_normal = blanc / noir
set menu_color_highlight = noir / gris clair
si background_color 44,0,30,0; ensuite
clair
Fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
fonction gfxmode {
set gfxpayload = "$ {1}"
if ["$ {1}" = "keep"]; ensuite
définir vt_handoff = vt.handoff = 7
autre
définir vt_handoff =
Fi
}
if ["$ {recordfail}"! = 1]; ensuite
if [-e $ {prefix} /gfxblacklist.txt]; ensuite
if hwmatch $ {prefix} /gfxblacklist.txt 3; ensuite
si [$ {match} = 0]; ensuite
set linux_gfx_mode = garder
autre
set linux_gfx_mode = text
Fi
autre
set linux_gfx_mode = text
Fi
autre
set linux_gfx_mode = garder
Fi
autre
set linux_gfx_mode = text
Fi
exporter linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $ menuentry_id_option 'gnulinux-simple-0307c8a7-964b-4f91-9eb0-31dddf1eee73' {
recordfail
load_video
gfxmode $ linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root = 'hd0, gpt7'
if [x $ feature_platform_search_hint = xy]; ensuite
recherche --no-floppy --fs-uuid --set = root --hint-bios = hd0, gpt7 --hint-efi = hd0, gpt7 --hint-baremetal = ahci0, gpt7 0307c8a7-964b-4f91-9eb0 -31dddf1eee73
autre
recherche --no-floppy --fs-uuid --set = root 0307c8a7-964b-4f91-9eb0-31dddf1eee73
Fi
linux /boot/vmlinuz-3.13.0-49-generic.efi.signed root = UUID = 0307c8a7-964b-4f91-9eb0-31dddf1eee73 ro silent splash $ vt_handoff
initrd /boot/initrd.img-3.13.0-49-generic
}
sous-menu 'Options avancées pour Ubuntu' $ menuentry_id_option 'gnulinux-advanced-0307c8a7-964b-4f91-9eb0-31dddf1eee73' {
menuentry 'Ubuntu, with Linux 3.13.0-49-generic' --class ubuntu --class gnu-linux --class gnu --class os $ menuentry_id_option 'gnulinux-3.13.0-49-generic-advanced-0307c8a7-964b -4f91-9eb0-31dddf1eee73 '{
recordfail
load_video
gfxmode $ linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root = 'hd0, gpt7'
if [x $ feature_platform_search_hint = xy]; ensuite
recherche --no-floppy --fs-uuid --set = root --hint-bios = hd0, gpt7 --hint-efi = hd0, gpt7 --hint-baremetal = ahci0, gpt7 0307c8a7-964b-4f91-9eb0 -31dddf1eee73
autre
recherche --no-floppy --fs-uuid --set = root 0307c8a7-964b-4f91-9eb0-31dddf1eee73
Fi
echo 'Chargement de Linux 3.13.0-49-generic ...'
linux /boot/vmlinuz-3.13.0-49-generic.efi.signed root = UUID = 0307c8a7-964b-4f91-9eb0-31dddf1eee73 ro silent splash $ vt_handoff
echo 'Chargement du disque virtuel initial ...'
initrd /boot/initrd.img-3.13.0-49-generic
}
menuentry 'Ubuntu, avec Linux 3.13.0-49-generic (mode de récupération)' --class ubuntu --class gnu-linux --class gnu --class os $ menuentry_id_option 'gnulinux-3.13.0-49-generic-recovery -0307c8a7-964b-4f91-9eb0-31dddf1eee73 '{
recordfail
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root = 'hd0, gpt7'
if [x $ feature_platform_search_hint = xy]; ensuite
recherche --no-floppy --fs-uuid --set = root --hint-bios = hd0, gpt7 --hint-efi = hd0, gpt7 --hint-baremetal = ahci0, gpt7 0307c8a7-964b-4f91-9eb0 -31dddf1eee73
autre
recherche --no-floppy --fs-uuid --set = root 0307c8a7-964b-4f91-9eb0-31dddf1eee73
Fi
echo 'Chargement de Linux 3.13.0-49-generic ...'
linux /boot/vmlinuz-3.13.0-49-generic.efi.signed root = UUID = 0307c8a7-964b-4f91-9eb0-31dddf1eee73 ro récupération nomodeset
echo 'Chargement du disque virtuel initial ...'
initrd /boot/initrd.img-3.13.0-49-generic
}
menuentry 'Ubuntu, with Linux 3.13.0-48-generic' --class ubuntu --class gnu-linux --class gnu --class os $ menuentry_id_option 'gnulinux-3.13.0-48-generic-advanced-0307c8a7-964b -4f91-9eb0-31dddf1eee73 '{
recordfail
load_video
gfxmode $ linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root = 'hd0, gpt7'
if [x $ feature_platform_search_hint = xy]; ensuite
recherche --no-floppy --fs-uuid --set = root --hint-bios = hd0, gpt7 --hint-efi = hd0, gpt7 --hint-baremetal = ahci0, gpt7 0307c8a7-964b-4f91-9eb0 -31dddf1eee73
autre
recherche --no-floppy --fs-uuid --set = root 0307c8a7-964b-4f91-9eb0-31dddf1eee73
Fi
echo 'Chargement de Linux 3.13.0-48-generic ...'
linux /boot/vmlinuz-3.13.0-48-generic.efi.signed root = UUID = 0307c8a7-964b-4f91-9eb0-31dddf1eee73 ro silent splash $ vt_handoff
echo 'Chargement du disque virtuel initial ...'
initrd /boot/initrd.img-3.13.0-48-generic
}
menuentry 'Ubuntu, avec Linux 3.13.0-48-generic (mode de récupération)' --class ubuntu --class gnu-linux --class gnu --class os $ menuentry_id_option 'gnulinux-3.13.0-48-generic-recovery -0307c8a7-964b-4f91-9eb0-31dddf1eee73 '{
recordfail
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root = 'hd0, gpt7'
if [x $ feature_platform_search_hint = xy]; ensuite
recherche --no-floppy --fs-uuid --set = root --hint-bios = hd0, gpt7 --hint-efi = hd0, gpt7 --hint-baremetal = ahci0, gpt7 0307c8a7-964b-4f91-9eb0 -31dddf1eee73
autre
recherche --no-floppy --fs-uuid --set = root 0307c8a7-964b-4f91-9eb0-31dddf1eee73
Fi
echo 'Chargement de Linux 3.13.0-48-generic ...'
linux /boot/vmlinuz-3.13.0-48-generic.efi.signed root = UUID = 0307c8a7-964b-4f91-9eb0-31dddf1eee73 ro récupération nomodeset
echo 'Chargement du disque virtuel initial ...'
initrd /boot/initrd.img-3.13.0-48-generic
}
menuentry 'Ubuntu, with Linux 3.13.0-46-generic' --class ubuntu --class gnu-linux --class gnu --class os $ menuentry_id_option 'gnulinux-3.13.0-46-generic-advanced-0307c8a7-964b -4f91-9eb0-31dddf1eee73 '{
recordfail
load_video
gfxmode $ linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root = 'hd0, gpt7'
if [x $ feature_platform_search_hint = xy]; ensuite
recherche --no-floppy --fs-uuid --set = root --hint-bios = hd0, gpt7 --hint-efi = hd0, gpt7 --hint-baremetal = ahci0, gpt7 0307c8a7-964b-4f91-9eb0 -31dddf1eee73
autre
recherche --no-floppy --fs-uuid --set = root 0307c8a7-964b-4f91-9eb0-31dddf1eee73
Fi
echo 'Chargement de Linux 3.13.0-46-generic ...'
linux /boot/vmlinuz-3.13.0-46-generic.efi.signed root = UUID = 0307c8a7-964b-4f91-9eb0-31dddf1eee73 ro silent splash $ vt_handoff
echo 'Chargement du disque virtuel initial ...'
initrd /boot/initrd.img-3.13.0-46-generic
}
menuentry 'Ubuntu, avec Linux 3.13.0-46-generic (mode de récupération)' --class ubuntu --class gnu-linux --class gnu --class os $ menuentry_id_option 'gnulinux-3.13.0-46-generic-recovery -0307c8a7-964b-4f91-9eb0-31dddf1eee73 '{
recordfail
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root = 'hd0, gpt7'
if [x $ feature_platform_search_hint = xy]; ensuite
recherche --no-floppy --fs-uuid --set = root --hint-bios = hd0, gpt7 --hint-efi = hd0, gpt7 --hint-baremetal = ahci0, gpt7 0307c8a7-964b-4f91-9eb0 -31dddf1eee73
autre
recherche --no-floppy --fs-uuid --set = root 0307c8a7-964b-4f91-9eb0-31dddf1eee73
Fi
echo 'Chargement de Linux 3.13.0-46-generic ...'
linux /boot/vmlinuz-3.13.0-46-generic.efi.signed root = UUID = 0307c8a7-964b-4f91-9eb0-31dddf1eee73 ro récupération nomodeset
echo 'Chargement du disque virtuel initial ...'
initrd /boot/initrd.img-3.13.0-46-generic
}
menuentry 'Ubuntu, with Linux 3.13.0-44-generic' --class ubuntu --class gnu-linux --class gnu --class os $ menuentry_id_option 'gnulinux-3.13.0-44-generic-advanced-0307c8a7-964b -4f91-9eb0-31dddf1eee73 '{
recordfail
load_video
gfxmode $ linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root = 'hd0, gpt7'
if [x $ feature_platform_search_hint = xy]; ensuite
recherche --no-floppy --fs-uuid --set = root --hint-bios = hd0, gpt7 --hint-efi = hd0, gpt7 --hint-baremetal = ahci0, gpt7 0307c8a7-964b-4f91-9eb0 -31dddf1eee73
autre
recherche --no-floppy --fs-uuid --set = root 0307c8a7-964b-4f91-9eb0-31dddf1eee73
Fi
echo 'Chargement de Linux 3.13.0-44-generic ...'
linux /boot/vmlinuz-3.13.0-44-generic.efi.signed root = UUID = 0307c8a7-964b-4f91-9eb0-31dddf1eee73 ro silent splash $ vt_handoff
echo 'Chargement du disque virtuel initial ...'
initrd /boot/initrd.img-3.13.0-44-generic
}
menuentry 'Ubuntu, avec Linux 3.13.0-44-generic (mode de récupération)' --class ubuntu --class gnu-linux --class gnu --class os $ menuentry_id_option 'gnulinux-3.13.0-44-generic-recovery -0307c8a7-964b-4f91-9eb0-31dddf1eee73 '{
recordfail
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root = 'hd0, gpt7'
if [x $ feature_platform_search_hint = xy]; ensuite
recherche --no-floppy --fs-uuid --set = root --hint-bios = hd0, gpt7 --hint-efi = hd0, gpt7 --hint-baremetal = ahci0, gpt7 0307c8a7-964b-4f91-9eb0 -31dddf1eee73
autre
recherche --no-floppy --fs-uuid --set = root 0307c8a7-964b-4f91-9eb0-31dddf1eee73
Fi
echo 'Chargement de Linux 3.13.0-44-generic ...'
linux /boot/vmlinuz-3.13.0-44-generic.efi.signed root = UUID = 0307c8a7-964b-4f91-9eb0-31dddf1eee73 ro récupération nomodeset
echo 'Chargement du disque virtuel initial ...'
initrd /boot/initrd.img-3.13.0-44-generic
}
menuentry 'Ubuntu, with Linux 3.13.0-32-generic' --class ubuntu --class gnu-linux --class gnu --class os $ menuentry_id_option 'gnulinux-3.13.0-32-generic-advanced-0307c8a7-964b -4f91-9eb0-31dddf1eee73 '{
recordfail
load_video
gfxmode $ linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root = 'hd0, gpt7'
if [x $ feature_platform_search_hint = xy]; ensuite
recherche --no-floppy --fs-uuid --set = root --hint-bios = hd0, gpt7 --hint-efi = hd0, gpt7 --hint-baremetal = ahci0, gpt7 0307c8a7-964b-4f91-9eb0 -31dddf1eee73
autre
recherche --no-floppy --fs-uuid --set = root 0307c8a7-964b-4f91-9eb0-31dddf1eee73
Fi
echo 'Chargement de Linux 3.13.0-32-generic ...'
linux /boot/vmlinuz-3.13.0-32-generic.efi.signed root = UUID = 0307c8a7-964b-4f91-9eb0-31dddf1eee73 ro silent splash $ vt_handoff
echo 'Chargement du disque virtuel initial ...'
initrd /boot/initrd.img-3.13.0-32-generic
}
menuentry 'Ubuntu, avec Linux 3.13.0-32-generic (mode de récupération)' --class ubuntu --class gnu-linux --class gnu --class os $ menuentry_id_option 'gnulinux-3.13.0-32-generic-recovery -0307c8a7-964b-4f91-9eb0-31dddf1eee73 '{
recordfail
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root = 'hd0, gpt7'
if [x $ feature_platform_search_hint = xy]; ensuite
recherche --no-floppy --fs-uuid --set = root --hint-bios = hd0, gpt7 --hint-efi = hd0, gpt7 --hint-baremetal = ahci0, gpt7 0307c8a7-964b-4f91-9eb0 -31dddf1eee73
autre
recherche --no-floppy --fs-uuid --set = root 0307c8a7-964b-4f91-9eb0-31dddf1eee73
Fi
echo 'Chargement de Linux 3.13.0-32-generic ...'
linux /boot/vmlinuz-3.13.0-32-generic.efi.signed root = UUID = 0307c8a7-964b-4f91-9eb0-31dddf1eee73 ro récupération nomodeset
echo 'Chargement du disque virtuel initial ...'
initrd /boot/initrd.img-3.13.0-32-generic
}
}
### 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+ ###
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/25_custom ###
menuentry "Windows UEFI bootmgfw.efi" {
recherche --fs-uuid --no-floppy --set = root E467-1A3B
chargeur de chaîne ($ {root}) / EFI / Microsoft / Boot / bootmgfw.efi
}
menuentry "Windows Boot UEFI loader" {
recherche --fs-uuid --no-floppy --set = root E467-1A3B
chargeur de chaîne ($ {root}) / EFI / Boot / bkpbootx64.efi
}
### END /etc/grub.d/25_custom ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on / dev / sda2)' --class windows --class os $ menuentry_id_option 'osprober-efi-E467-1A3B' {
insmod part_gpt
insmod fat
set root = 'hd0, gpt2'
if [x $ feature_platform_search_hint = xy]; ensuite
recherche --no-floppy --fs-uuid --set = root --hint-bios = hd0, gpt2 --hint-efi = hd0, gpt2 --hint-baremetal = ahci0, gpt2 E467-1A3B
autre
recherche --no-floppy --fs-uuid --set = root E467-1A3B
Fi
chargeur de chaîne /EFI/Microsoft/Boot/bootmgfw.efi
}
définir timeout_style = menu
if ["$ {timeout}" = 0]; ensuite
set timeout = 10
Fi
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $ menuentry_id_option 'uefi-firmware' {
fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/40_custom ###
# Ce fichier permet d'ajouter facilement des entrées de menu personnalisées. Tapez simplement le
# entrées de menu que vous souhaitez ajouter après ce commentaire. Attention à ne pas changer
# la ligne 'exec tail' ci-dessus.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [-f $ {répertoire_config} /custom.cfg]; ensuite
source $ {répertoire_config} /custom.cfg
elif [-z "$ {répertoire_config}" -a -f $ prefix / custom.cfg]; ensuite
source $ prefix / custom.cfg;
Fi
### END /etc/grub.d/41_custom ###
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [-f $ {répertoire_config} /custom.cfg]; ensuite
source $ {répertoire_config} /custom.cfg
elif [-z "$ {répertoire_config}" -a -f $ prefix / custom.cfg]; ensuite
source $ prefix / custom.cfg;
Fi
### END /etc/grub.d/41_custom ###
### BEGIN /etc/grub.d/backup25_custom ###
menuentry "Windows UEFI bootmgfw.efi" {
recherche --fs-uuid --no-floppy --set = root E467-1A3B
chargeur de chaîne ($ {root}) / EFI / Microsoft / Boot / bootmgfw.efi
}
### END /etc/grub.d/backup25_custom ###
ctrl + Gou sélectionner l'option «img» dans l'éditeur directement au-dessus du champ de texte. De cette façon, l'image est liée au message.