[Configuration] Erreur GRUB

Applications, problèmes de configuration réseau
NY152
archer
Messages : 106
Inscription : sam. 28 sept. 2013, 00:35

[Configuration] Erreur GRUB

Message par NY152 »

Bonjour,

En voulant changer de thème GRUB, je me suis rendu compte que grub-mkconfig échouait à créer la config de GRUB.

J'ai une erreur dans le fichier '/etc/grub.d/proxifiedScripts/linux' que je n'ai pas touché !

Voilà le retour de grub-mkconfig :

Code : Tout sélectionner

$ sudo grub-mkconfig 
Création du fichier de configuration GRUB…
#
# 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 ###
insmod part_gpt
insmod part_msdos
if [ -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="1"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod xfs
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  6f7d780b-4e91-4642-aa2c-4677a964d835
else
  search --no-floppy --fs-uuid --set=root 6f7d780b-4e91-4642-aa2c-4677a964d835
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=fr_FR
  insmod gettext
fi
terminal_input console
terminal_output gfxterm
Thème trouvé : /boot/grub/themes/starfield/theme.txt
insmod part_gpt
insmod xfs
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  6f7d780b-4e91-4642-aa2c-4677a964d835
else
  search --no-floppy --fs-uuid --set=root 6f7d780b-4e91-4642-aa2c-4677a964d835
fi
insmod gfxmenu
loadfont ($root)/boot/grub/themes/starfield/dejavu_10.pf2
loadfont ($root)/boot/grub/themes/starfield/dejavu_12.pf2
loadfont ($root)/boot/grub/themes/starfield/dejavu_14.pf2
loadfont ($root)/boot/grub/themes/starfield/dejavu_16.pf2
loadfont ($root)/boot/grub/themes/starfield/dejavu_bold_14.pf2
insmod png
set theme=($root)/boot/grub/themes/starfield/theme.txt
export theme
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_grub-customizer_menu_color_helper ###
### END /etc/grub.d/01_grub-customizer_menu_color_helper ###

### BEGIN /etc/grub.d/10_linux ###
Image Linux trouvée : /boot/vmlinuz-linux-zen
Image mémoire initiale trouvée : /boot/initramfs-linux-zen.img
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-6f7d780b-4e91-4642-aa2c-4677a964d835' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod xfs
	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  6f7d780b-4e91-4642-aa2c-4677a964d835
	else
	  search --no-floppy --fs-uuid --set=root 6f7d780b-4e91-4642-aa2c-4677a964d835
	fi
	echo	'Chargement de Linux linux-zen…'
	linux	/boot/vmlinuz-linux-zen root=UUID=6f7d780b-4e91-4642-aa2c-4677a964d835 rw  loglevel=3 quiet
	echo	'Chargement du disque mémoire initial…'
	initrd	/boot/initramfs-linux-zen.img
}
submenu 'Options avancées pour Arch Linux' $menuentry_id_option 'gnulinux-advanced-6f7d780b-4e91-4642-aa2c-4677a964d835' {
	menuentry 'Arch Linux, avec Linux linux-zen' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-zen-advanced-6f7d780b-4e91-4642-aa2c-4677a964d835' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt
		insmod xfs
		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  6f7d780b-4e91-4642-aa2c-4677a964d835
		else
		  search --no-floppy --fs-uuid --set=root 6f7d780b-4e91-4642-aa2c-4677a964d835
		fi
		echo	'Chargement de Linux linux-zen…'
		linux	/boot/vmlinuz-linux-zen root=UUID=6f7d780b-4e91-4642-aa2c-4677a964d835 rw  loglevel=3 quiet
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initramfs-linux-zen.img
	}
Found fallback initrd image(s) in /boot:  initramfs-linux-zen-fallback.img
	menuentry 'Arch Linux, with Linux linux-zen (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-zen-fallback-6f7d780b-4e91-4642-aa2c-4677a964d835' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt
		insmod xfs
		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  6f7d780b-4e91-4642-aa2c-4677a964d835
		else
		  search --no-floppy --fs-uuid --set=root 6f7d780b-4e91-4642-aa2c-4677a964d835
		fi
		echo	'Chargement de Linux linux-zen…'
		linux	/boot/vmlinuz-linux-zen root=UUID=6f7d780b-4e91-4642-aa2c-4677a964d835 rw  loglevel=3 quiet
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initramfs-linux-zen-fallback.img
	}
Image Linux trouvée : /boot/vmlinuz-linux
Image mémoire initiale trouvée : /boot/initramfs-linux.img
	menuentry 'Arch Linux, avec Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-6f7d780b-4e91-4642-aa2c-4677a964d835' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt
		insmod xfs
		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  6f7d780b-4e91-4642-aa2c-4677a964d835
		else
		  search --no-floppy --fs-uuid --set=root 6f7d780b-4e91-4642-aa2c-4677a964d835
		fi
		echo	'Chargement de Linux linux…'
		linux	/boot/vmlinuz-linux root=UUID=6f7d780b-4e91-4642-aa2c-4677a964d835 rw  loglevel=3 quiet
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initramfs-linux.img
	}
Found fallback initrd image(s) in /boot:  initramfs-linux-fallback.img
	menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-6f7d780b-4e91-4642-aa2c-4677a964d835' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt
		insmod xfs
		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  6f7d780b-4e91-4642-aa2c-4677a964d835
		else
		  search --no-floppy --fs-uuid --set=root 6f7d780b-4e91-4642-aa2c-4677a964d835
		fi
		echo	'Chargement de Linux linux…'
		linux	/boot/vmlinuz-linux root=UUID=6f7d780b-4e91-4642-aa2c-4677a964d835 rw  loglevel=3 quiet
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initramfs-linux-fallback.img
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
Attention : le sondeur de systèmes d'exploitation ne sera pas exécuté pour détecter d'autres partitions amorçables.
Les systèmes qu'elles contiennent ne seront pas ajoutés à la configuration de démarrage de GRUB.
Consultez la documentation relative à GRUB_DISABLE_OS_PROBER.
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
Ajout de l'entrée du menu d'amorçage pour les paramètres du firmware UEFI …
fwsetup --is-supported
if [ "$grub_platform" = "efi" -a "$?" = 0 ]; then
	menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
		fwsetup
	}
fi
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/35_fwupd ###
### END /etc/grub.d/35_fwupd ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg
fi
### END /etc/grub.d/41_custom ###

### BEGIN /etc/grub.d/42_linux_xen ###
### END /etc/grub.d/42_linux_xen ###

### BEGIN /etc/grub.d/43_os-prober ###
Attention : le sondeur de systèmes d'exploitation ne sera pas exécuté pour détecter d'autres partitions amorçables.
Les systèmes qu'elles contiennent ne seront pas ajoutés à la configuration de démarrage de GRUB.
Consultez la documentation relative à GRUB_DISABLE_OS_PROBER.
### END /etc/grub.d/43_os-prober ###

### BEGIN /etc/grub.d/45_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/45_custom ###

### BEGIN /etc/grub.d/LS_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.
menuentry "Windows 10"{
	set root='(hd1,1)'
	search --no-floppy --fs-uuid --set 505B-BEC7
	drivemap -s (hd0) ${root}
	chainloader +1
}
menuentry "Windows 11"{
	search --fs-uuid --no-floppy --set=root 505B-BEC7
	chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
}
### END /etc/grub.d/LS_custom ###

### BEGIN /etc/grub.d/LS_linux ###
/etc/grub.d/proxifiedScripts/linux: ligne 200: version_find_latest : commande introuvable
Pour référence, voilà mon fichier /etc/default/grub :

Code : Tout sélectionner

# GRUB boot loader configuration

GRUB_DEFAULT=1
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo ArchLinux`
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet"
GRUB_CMDLINE_LINUX=""

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y

# Set to 'countdown' or 'hidden' to change timeout behavior,
# press ESC key to display menu.
GRUB_TIMEOUT_STYLE=menu

# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=auto

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper
# modes only.  Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
GRUB_THEME="/boot/grub/themes/starfield/theme.txt"

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"

# Uncomment to make GRUB remember the last selection. This requires
# setting 'GRUB_DEFAULT=saved' above.
#GRUB_SAVEDEFAULT=true

# Uncomment to disable submenus in boot menu
#GRUB_DISABLE_SUBMENU=y

# Probing for other operating systems is disabled for security reasons. Read
# documentation on GRUB_DISABLE_OS_PROBER, if still want to enable this
# functionality install os-prober and uncomment to detect and include other
# operating systems.
#GRUB_DISABLE_OS_PROBER=false
Et mon fichier /boot/grub/grub.cfg :

Code : Tout sélectionner

#
# 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 ###
insmod part_gpt
insmod part_msdos
if [ -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="Windows 11"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod xfs
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  6f7d780b-4e91-4642-aa2c-4677a964d835
else
  search --no-floppy --fs-uuid --set=root 6f7d780b-4e91-4642-aa2c-4677a964d835
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=fr_FR
  insmod gettext
fi
terminal_input console
terminal_output gfxterm
insmod part_gpt
insmod xfs
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  6f7d780b-4e91-4642-aa2c-4677a964d835
else
  search --no-floppy --fs-uuid --set=root 6f7d780b-4e91-4642-aa2c-4677a964d835
fi
insmod gfxmenu
loadfont ($root)/boot/grub/themes/starfield/dejavu_10.pf2
loadfont ($root)/boot/grub/themes/starfield/dejavu_12.pf2
loadfont ($root)/boot/grub/themes/starfield/dejavu_14.pf2
loadfont ($root)/boot/grub/themes/starfield/dejavu_16.pf2
loadfont ($root)/boot/grub/themes/starfield/dejavu_bold_14.pf2
insmod png
set theme=($root)/boot/grub/themes/starfield/theme.txt
export theme
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_grub-customizer_menu_color_helper ###
### END /etc/grub.d/01_grub-customizer_menu_color_helper ###

### BEGIN /etc/grub.d/10_linux_proxy ###




### END /etc/grub.d/10_linux_proxy ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
	fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/35_fwupd ###
### END /etc/grub.d/35_fwupd ###

### BEGIN /etc/grub.d/40_custom_proxy ###
menuentry "Windows 11"{
	search --fs-uuid --no-floppy --set=root 505B-BEC7
	chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
}
### END /etc/grub.d/40_custom_proxy ###

### BEGIN /etc/grub.d/41_linux_proxy ###
menuentry "Arch Linux" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-6f7d780b-4e91-4642-aa2c-4677a964d835' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod xfs
	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  6f7d780b-4e91-4642-aa2c-4677a964d835
	else
	  search --no-floppy --fs-uuid --set=root 6f7d780b-4e91-4642-aa2c-4677a964d835
	fi
	echo	'Chargement de Linux linux-zen…'
	linux	/boot/vmlinuz-linux-zen root=UUID=6f7d780b-4e91-4642-aa2c-4677a964d835 rw  loglevel=3 quiet
	echo	'Chargement du disque mémoire initial…'
	initrd	/boot/initramfs-linux-zen.img
}
submenu "Options avancées pour Arch Linux"{
menuentry "Arch Linux, avec Linux linux-zen" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-zen-advanced-6f7d780b-4e91-4642-aa2c-4677a964d835' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt
		insmod xfs
		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  6f7d780b-4e91-4642-aa2c-4677a964d835
		else
		  search --no-floppy --fs-uuid --set=root 6f7d780b-4e91-4642-aa2c-4677a964d835
		fi
		echo	'Chargement de Linux linux-zen…'
		linux	/boot/vmlinuz-linux-zen root=UUID=6f7d780b-4e91-4642-aa2c-4677a964d835 rw  loglevel=3 quiet
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initramfs-linux-zen.img
}
menuentry "Arch Linux, with Linux linux-zen (fallback initramfs)" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-zen-fallback-6f7d780b-4e91-4642-aa2c-4677a964d835' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt
		insmod xfs
		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  6f7d780b-4e91-4642-aa2c-4677a964d835
		else
		  search --no-floppy --fs-uuid --set=root 6f7d780b-4e91-4642-aa2c-4677a964d835
		fi
		echo	'Chargement de Linux linux-zen…'
		linux	/boot/vmlinuz-linux-zen root=UUID=6f7d780b-4e91-4642-aa2c-4677a964d835 rw  loglevel=3 quiet
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initramfs-linux-zen-fallback.img
}
menuentry "Arch Linux, avec Linux linux" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-6f7d780b-4e91-4642-aa2c-4677a964d835' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt
		insmod xfs
		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  6f7d780b-4e91-4642-aa2c-4677a964d835
		else
		  search --no-floppy --fs-uuid --set=root 6f7d780b-4e91-4642-aa2c-4677a964d835
		fi
		echo	'Chargement de Linux linux…'
		linux	/boot/vmlinuz-linux root=UUID=6f7d780b-4e91-4642-aa2c-4677a964d835 rw  loglevel=3 quiet
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initramfs-linux.img
}
menuentry "Arch Linux, with Linux linux (fallback initramfs)" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-6f7d780b-4e91-4642-aa2c-4677a964d835' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt
		insmod xfs
		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  6f7d780b-4e91-4642-aa2c-4677a964d835
		else
		  search --no-floppy --fs-uuid --set=root 6f7d780b-4e91-4642-aa2c-4677a964d835
		fi
		echo	'Chargement de Linux linux…'
		linux	/boot/vmlinuz-linux root=UUID=6f7d780b-4e91-4642-aa2c-4677a964d835 rw  loglevel=3 quiet
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initramfs-linux-fallback.img
}
}
### END /etc/grub.d/41_linux_proxy ###

### BEGIN /etc/grub.d/42_linux_xen ###
### END /etc/grub.d/42_linux_xen ###

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

### BEGIN /etc/grub.d/44_custom_proxy ###

# 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/44_custom_proxy ###

### BEGIN /etc/grub.d/45_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/45_custom ###
Si quelqu'un peut m'éclairer, je ne pense pas qu'il y ait d'erreurs de syntaxes mais à force d'y regarder ...

D'avance, merci de votre aide
Répondre