Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#1 10-11-2017 18:25:12

Debian Alain
Membre
Lieu : BREST 29200
Distrib. : W$10 1709 / stretch / ubuntu 17.10 / buster-sid
Noyau : Linux 4.13.0-0.bpo.1-amd64
(G)UI : Mate / Gdm3
Inscription : 11-03-2017

[résolu] grub : non reconnaissance d'une partition

bonjour à tous .

voilà , j'ai un petit souci :

j'ai réinstallé stretch (en lieu et place de buster) en vue de le faire passer à buster car grub ne le reconnaissait pas .

mal m'en a pris , grub ne le reconnait toujours pas .

il me met 3 messages d'erreur :

- ne connait pas partition uuid xxxxxx
- partition inconnue
- charger kernel

je ne sais pas  comment me tirer d'affaire .

d'après ce que j'ai vu , le fstab du futur buster est bon (actuellement stretch sur sdc6).

mais grub ne  reconnait toujours pas le disque .

voilà le fstab du futur buster :

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdc6 during installation
UUID=d46fd5e9-2cc9-4065-bb8d-958673c2fea4 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda7 during installation
UUID=3582a74e-af99-42a9-9a80-911049261945 none            swap    sw              0       0
/dev/sr0        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/sr1        /media/cdrom1   udf,iso9660 user,noauto     0       0
 



voilà le grub.cfg de stretch sur lequel je démarre et qui ne fonctionne pas (sda)
il s'agit de la section _os-prober où , apparemment , le numero de uuid est bon :

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 10 (sur /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-8CB84D65B84D4EC0' {
  insmod part_msdos
  insmod ntfs
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  8CB84D65B84D4EC0
  else
    search --no-floppy --fs-uuid --set=root 8CB84D65B84D4EC0
  fi
  parttool ${root} hidden-
  drivemap -s (hd0) ${root}
  chainloader +1
}
menuentry 'Ubuntu 17.10 (17.10) (sur /dev/sdc5)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-0e8c2161-6141-456b-9049-f34897f3b3b7' {
  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  0e8c2161-6141-456b-9049-f34897f3b3b7
  else
    search --no-floppy --fs-uuid --set=root 0e8c2161-6141-456b-9049-f34897f3b3b7
  fi
  linux /boot/vmlinuz-4.13.0-16-generic root=UUID=0e8c2161-6141-456b-9049-f34897f3b3b7 ro quiet splash $vt_handoff
  initrd /boot/initrd.img-4.13.0-16-generic
}
submenu 'Options avancées pour Ubuntu 17.10 (17.10) (sur /dev/sdc5)' $menuentry_id_option 'osprober-gnulinux-advanced-0e8c2161-6141-456b-9049-f34897f3b3b7' {
  menuentry 'Ubuntu (sur /dev/sdc5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.13.0-16-generic--0e8c2161-6141-456b-9049-f34897f3b3b7' {
    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  0e8c2161-6141-456b-9049-f34897f3b3b7
    else
      search --no-floppy --fs-uuid --set=root 0e8c2161-6141-456b-9049-f34897f3b3b7
    fi
    linux /boot/vmlinuz-4.13.0-16-generic root=UUID=0e8c2161-6141-456b-9049-f34897f3b3b7 ro quiet splash $vt_handoff
    initrd /boot/initrd.img-4.13.0-16-generic
  }
  menuentry 'Ubuntu, avec Linux 4.13.0-16-generic (sur /dev/sdc5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.13.0-16-generic--0e8c2161-6141-456b-9049-f34897f3b3b7' {
    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  0e8c2161-6141-456b-9049-f34897f3b3b7
    else
      search --no-floppy --fs-uuid --set=root 0e8c2161-6141-456b-9049-f34897f3b3b7
    fi
    linux /boot/vmlinuz-4.13.0-16-generic root=UUID=0e8c2161-6141-456b-9049-f34897f3b3b7 ro quiet splash $vt_handoff
    initrd /boot/initrd.img-4.13.0-16-generic
  }
  menuentry 'Ubuntu, with Linux 4.13.0-16-generic (recovery mode) (sur /dev/sdc5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.13.0-16-generic-root=UUID=0e8c2161-6141-456b-9049-f34897f3b3b7 ro recovery nomodeset-0e8c2161-6141-456b-9049-f34897f3b3b7' {
    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  0e8c2161-6141-456b-9049-f34897f3b3b7
    else
      search --no-floppy --fs-uuid --set=root 0e8c2161-6141-456b-9049-f34897f3b3b7
    fi
    linux /boot/vmlinuz-4.13.0-16-generic root=UUID=0e8c2161-6141-456b-9049-f34897f3b3b7 ro recovery nomodeset
    initrd /boot/initrd.img-4.13.0-16-generic
  }
}

menuentry 'Debian GNU/Linux 9 (stretch) (sur /dev/sdc6)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-d46fd5e9-2cc9-4065-bb8d-958673c2fea4' {
  insmod part_msdos
  insmod ext2
  set root='hd2,msdos6'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos6 --hint-efi=hd2,msdos6 --hint-baremetal=ahci2,msdos6  d46fd5e9-2cc9-4065-bb8d-958673c2fea4
  else
    search --no-floppy --fs-uuid --set=root d46fd5e9-2cc9-4065-bb8d-958673c2fea4
  fi
  linux /boot/vmlinuz-4.9.0-4-amd64 root=UUID=d46fd5e9-2cc9-4065-bb8d-958673c2fea4 ro quiet
  initrd /boot/initrd.img-4.9.0-4-amd64
}
submenu 'Options avancées pour Debian GNU/Linux 9 (stretch) (sur /dev/sdc6)' $menuentry_id_option 'osprober-gnulinux-advanced-d46fd5e9-2cc9-4065-bb8d-958673c2fea4' {
  menuentry 'Debian GNU/Linux (sur /dev/sdc6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-4-amd64--d46fd5e9-2cc9-4065-bb8d-958673c2fea4' {
    insmod part_msdos
    insmod ext2
    set root='hd2,msdos6'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos6 --hint-efi=hd2,msdos6 --hint-baremetal=ahci2,msdos6  d46fd5e9-2cc9-4065-bb8d-958673c2fea4
    else
      search --no-floppy --fs-uuid --set=root d46fd5e9-2cc9-4065-bb8d-958673c2fea4
    fi
    linux /boot/vmlinuz-4.9.0-4-amd64 root=UUID=d46fd5e9-2cc9-4065-bb8d-958673c2fea4 ro quiet
    initrd /boot/initrd.img-4.9.0-4-amd64
  }
  menuentry 'Debian GNU/Linux, avec Linux 4.9.0-4-amd64 (sur /dev/sdc6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-4-amd64--d46fd5e9-2cc9-4065-bb8d-958673c2fea4' {
    insmod part_msdos
    insmod ext2
    set root='hd2,msdos6'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos6 --hint-efi=hd2,msdos6 --hint-baremetal=ahci2,msdos6  d46fd5e9-2cc9-4065-bb8d-958673c2fea4
    else
      search --no-floppy --fs-uuid --set=root d46fd5e9-2cc9-4065-bb8d-958673c2fea4
    fi
    linux /boot/vmlinuz-4.9.0-4-amd64 root=UUID=d46fd5e9-2cc9-4065-bb8d-958673c2fea4 ro quiet
    initrd /boot/initrd.img-4.9.0-4-amd64
  }
  menuentry 'Debian GNU/Linux, with Linux 4.9.0-4-amd64 (recovery mode) (sur /dev/sdc6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-4-amd64-root=UUID=d46fd5e9-2cc9-4065-bb8d-958673c2fea4 ro single-d46fd5e9-2cc9-4065-bb8d-958673c2fea4' {
    insmod part_msdos
    insmod ext2
    set root='hd2,msdos6'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos6 --hint-efi=hd2,msdos6 --hint-baremetal=ahci2,msdos6  d46fd5e9-2cc9-4065-bb8d-958673c2fea4
    else
      search --no-floppy --fs-uuid --set=root d46fd5e9-2cc9-4065-bb8d-958673c2fea4
    fi
    linux /boot/vmlinuz-4.9.0-4-amd64 root=UUID=d46fd5e9-2cc9-4065-bb8d-958673c2fea4 ro single
    initrd /boot/initrd.img-4.9.0-4-amd64
  }
  menuentry 'Debian GNU/Linux, avec Linux 4.9.0-4-amd64 (sur /dev/sda5) (sur /dev/sdc6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-4-amd64--d46fd5e9-2cc9-4065-bb8d-958673c2fea4' {
    insmod part_msdos
    insmod ext2
    set root='hd2,msdos6'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos6 --hint-efi=hd2,msdos6 --hint-baremetal=ahci2,msdos6  d46fd5e9-2cc9-4065-bb8d-958673c2fea4
    else
      search --no-floppy --fs-uuid --set=root d46fd5e9-2cc9-4065-bb8d-958673c2fea4
    fi
    linux /boot/vmlinuz-4.9.0-4-amd64 root=UUID=8f3dfc41-a5aa-4384-981d-00243c131baa ro quiet
    initrd /boot/initrd.img-4.9.0-4-amd64
  }
  menuentry 'Debian GNU/Linux, with Linux 4.9.0-4-amd64 (recovery mode) (sur /dev/sda5) (sur /dev/sdc6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-4-amd64-root=UUID=8f3dfc41-a5aa-4384-981d-00243c131baa ro single-d46fd5e9-2cc9-4065-bb8d-958673c2fea4' {
    insmod part_msdos
    insmod ext2
    set root='hd2,msdos6'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos6 --hint-efi=hd2,msdos6 --hint-baremetal=ahci2,msdos6  d46fd5e9-2cc9-4065-bb8d-958673c2fea4
    else
      search --no-floppy --fs-uuid --set=root d46fd5e9-2cc9-4065-bb8d-958673c2fea4
    fi
    linux /boot/vmlinuz-4.9.0-4-amd64 root=UUID=8f3dfc41-a5aa-4384-981d-00243c131baa ro single
    initrd /boot/initrd.img-4.9.0-4-amd64
  }
}

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



je vous  donne mon blkid , en attendant , j'essaie  avec un disque de buster . on va  voir  si le souci continue

$ sudo blkid



/dev/sda1: LABEL="RM-CM-)servM-CM-) au systM-CM-(me" UUID="8CB84D65B84D4EC0" TYPE="ntfs" PARTUUID="000c8e33-01"
/dev/sda2: UUID="C664570B6456FE1D" TYPE="ntfs" PARTUUID="000c8e33-02"
/dev/sda5: UUID="8f3dfc41-a5aa-4384-981d-00243c131baa" TYPE="ext4" PARTUUID="000c8e33-05"
/dev/sda6: UUID="bb0175bd-3cd2-42a2-afe8-dbea1bc91564" TYPE="ext4" PARTUUID="000c8e33-06"
/dev/sda7: UUID="3582a74e-af99-42a9-9a80-911049261945" TYPE="swap" PARTUUID="000c8e33-07"
/dev/sda8: UUID="9351eda2-9802-4d45-b332-6295f858e7f8" TYPE="ext4" PARTUUID="000c8e33-08"
/dev/sda9: UUID="7a80f0f3-f6ec-4cd6-bcd9-7fc0a4ed4c59" TYPE="ext4" PARTUUID="000c8e33-09"
/dev/sdb1: LABEL="CLONEZILLA" UUID="00C9126C750535DC" TYPE="ntfs" PARTUUID="cbf916aa-5698-4e73-b44e-36924b55762b"
/dev/sdc5: UUID="0e8c2161-6141-456b-9049-f34897f3b3b7" TYPE="ext4" PARTUUID="d15626ca-05"
/dev/sdc6: UUID="d46fd5e9-2cc9-4065-bb8d-958673c2fea4" TYPE="ext4" PARTUUID="d15626ca-06"
/dev/sdd1: LABEL="HDD EXT 3" UUID="B6E8A04DE8A00DA5" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="770cae4f-f9c5-4838-8305-1825b08589e6"
/dev/sde1: LABEL="HDD EXT 4" UUID="4739E9CC7687E15B" TYPE="ntfs" PARTUUID="3d8de4e7-881d-4061-b36f-d0d25ec0fb8d"
 

Dernière modification par Debian Alain (11-11-2017 10:06:42)


1498826560.jpg 1498812139.jpg Bip ! Bip !

Hors ligne

#2 10-11-2017 19:53:18

Croutons
Membre
Distrib. : Handylinux 2.5 vers Jessie et Debian Stretch
Noyau : Linux 3.16.0-4-686-pae, Linux 4.9.0-3-686-pae
(G)UI : xfce
Inscription : 16-12-2016

Re : [résolu] grub : non reconnaissance d'une partition

Bonjour
Grub.cfg on y touche pas ce sont les informations contenu dans le fichier le fichier /etc/default/grub qui servent a générer le fichier lors de l'update grub
Il contient quoi ton fichier ?

cat /etc/default/grub


-->les cahiers du debutant<--      WikiDF-->Découvrir les principales commandes Linux<--
L' expérience, c'est le nom que chacun donne à ses erreurs. Oscar Wilde

Hors ligne

#3 10-11-2017 20:24:55

Debian Alain
Membre
Lieu : BREST 29200
Distrib. : W$10 1709 / stretch / ubuntu 17.10 / buster-sid
Noyau : Linux 4.13.0-0.bpo.1-amd64
(G)UI : Mate / Gdm3
Inscription : 11-03-2017

Re : [résolu] grub : non reconnaissance d'une partition

bon , je rectifie .

voilà les messages d'erreur au lancement de buster (le vrai cette fois)

- no such device 9472a871-3bce-4a28-85ec-9a8a029dbb50
- cette partition n'existe pas
- le noyau doit d'abord être chargé

voilà le blkid :

$ sudo blkid



[sudo] Mot de passe de alain-stretch : 
/dev/sda1: LABEL="RM-CM-)servM-CM-) au systM-CM-(me" UUID="8CB84D65B84D4EC0" TYPE="ntfs" PARTUUID="000c8e33-01"
/dev/sda2: UUID="C664570B6456FE1D" TYPE="ntfs" PARTUUID="000c8e33-02"
/dev/sda5: UUID="8f3dfc41-a5aa-4384-981d-00243c131baa" TYPE="ext4" PARTUUID="000c8e33-05"
/dev/sda6: UUID="bb0175bd-3cd2-42a2-afe8-dbea1bc91564" TYPE="ext4" PARTUUID="000c8e33-06"
/dev/sda7: UUID="789e2b84-0e72-4040-a7f0-e858465c739e" TYPE="swap" PARTUUID="000c8e33-07"
/dev/sda8: UUID="9351eda2-9802-4d45-b332-6295f858e7f8" TYPE="ext4" PARTUUID="000c8e33-08"
/dev/sda9: UUID="7a80f0f3-f6ec-4cd6-bcd9-7fc0a4ed4c59" TYPE="ext4" PARTUUID="000c8e33-09"
/dev/sdb1: LABEL="CLONEZILLA" UUID="00C9126C750535DC" TYPE="ntfs" PARTUUID="cbf916aa-5698-4e73-b44e-36924b55762b"
/dev/sdc5: UUID="0e8c2161-6141-456b-9049-f34897f3b3b7" TYPE="ext4" PARTUUID="d15626ca-05"
/dev/sdc6: UUID="9472a871-3bce-4a28-85ec-9a8a029dbb50" TYPE="ext4" PARTUUID="d15626ca-06"
/dev/sdd1: LABEL="HDD EXT 3" UUID="B6E8A04DE8A00DA5" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="770cae4f-f9c5-4838-8305-1825b08589e6"
/dev/sde1: LABEL="HDD EXT 4" UUID="4739E9CC7687E15B" TYPE="ntfs" PARTUUID="3d8de4e7-881d-4061-b36f-d0d25ec0fb8d"
 



le fstab de stretch :

$ cat /etc/fstab



# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=8f3dfc41-a5aa-4384-981d-00243c131baa /               ext4    errors=remount-ro 0       1
# /home was on /dev/sda9 during installation
UUID=7a80f0f3-f6ec-4cd6-bcd9-7fc0a4ed4c59 /home           ext4    defaults        0       2
# /tmp was on /dev/sda8 during installation
UUID=9351eda2-9802-4d45-b332-6295f858e7f8 /tmp            ext4    defaults        0       2
# /var was on /dev/sda6 during installation
UUID=bb0175bd-3cd2-42a2-afe8-dbea1bc91564 /var            ext4    defaults        0       2
# swap was on /dev/sda7 during installation
UUID=789e2b84-0e72-4040-a7f0-e858465c739e none            swap    sw              0       0
/dev/sr0        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/sr1        /media/cdrom1   udf,iso9660 user,noauto     0       0
 



le /boot/grub/grub.cfg de stretch

$ cat /boot/grub/grub.cfg



#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="8"
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_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  8f3dfc41-a5aa-4384-981d-00243c131baa
else
  search --no-floppy --fs-uuid --set=root 8f3dfc41-a5aa-4384-981d-00243c131baa
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=1280x800
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=fr_FR
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=10
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=10
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  8f3dfc41-a5aa-4384-981d-00243c131baa
else
  search --no-floppy --fs-uuid --set=root 8f3dfc41-a5aa-4384-981d-00243c131baa
fi
insmod png
if background_image /usr/share/desktop-base/softwaves-theme/grub/grub-4x3.png; then
  set color_normal=white/black
  set color_highlight=black/white
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
  set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-8f3dfc41-a5aa-4384-981d-00243c131baa' {
  load_video
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos5'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  8f3dfc41-a5aa-4384-981d-00243c131baa
  else
    search --no-floppy --fs-uuid --set=root 8f3dfc41-a5aa-4384-981d-00243c131baa
  fi
  echo  'Chargement de Linux 4.13.0-0.bpo.1-amd64…'
  linux /boot/vmlinuz-4.13.0-0.bpo.1-amd64 root=UUID=8f3dfc41-a5aa-4384-981d-00243c131baa ro  quiet
  echo  'Chargement du disque mémoire initial…'
  initrd  /boot/initrd.img-4.13.0-0.bpo.1-amd64
}
submenu 'Options avancées pour Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-8f3dfc41-a5aa-4384-981d-00243c131baa' {
  menuentry 'Debian GNU/Linux, avec Linux 4.13.0-0.bpo.1-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-0.bpo.1-amd64-advanced-8f3dfc41-a5aa-4384-981d-00243c131baa' {
    load_video
    insmod gzio
    if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  8f3dfc41-a5aa-4384-981d-00243c131baa
    else
      search --no-floppy --fs-uuid --set=root 8f3dfc41-a5aa-4384-981d-00243c131baa
    fi
    echo  'Chargement de Linux 4.13.0-0.bpo.1-amd64…'
    linux /boot/vmlinuz-4.13.0-0.bpo.1-amd64 root=UUID=8f3dfc41-a5aa-4384-981d-00243c131baa ro  quiet
    echo  'Chargement du disque mémoire initial…'
    initrd  /boot/initrd.img-4.13.0-0.bpo.1-amd64
  }
  menuentry 'Debian GNU/Linux, with Linux 4.13.0-0.bpo.1-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-0.bpo.1-amd64-recovery-8f3dfc41-a5aa-4384-981d-00243c131baa' {
    load_video
    insmod gzio
    if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  8f3dfc41-a5aa-4384-981d-00243c131baa
    else
      search --no-floppy --fs-uuid --set=root 8f3dfc41-a5aa-4384-981d-00243c131baa
    fi
    echo  'Chargement de Linux 4.13.0-0.bpo.1-amd64…'
    linux /boot/vmlinuz-4.13.0-0.bpo.1-amd64 root=UUID=8f3dfc41-a5aa-4384-981d-00243c131baa ro single
    echo  'Chargement du disque mémoire initial…'
    initrd  /boot/initrd.img-4.13.0-0.bpo.1-amd64
  }
  menuentry 'Debian GNU/Linux, avec Linux 4.12.0-0.bpo.2-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.12.0-0.bpo.2-amd64-advanced-8f3dfc41-a5aa-4384-981d-00243c131baa' {
    load_video
    insmod gzio
    if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  8f3dfc41-a5aa-4384-981d-00243c131baa
    else
      search --no-floppy --fs-uuid --set=root 8f3dfc41-a5aa-4384-981d-00243c131baa
    fi
    echo  'Chargement de Linux 4.12.0-0.bpo.2-amd64…'
    linux /boot/vmlinuz-4.12.0-0.bpo.2-amd64 root=UUID=8f3dfc41-a5aa-4384-981d-00243c131baa ro  quiet
    echo  'Chargement du disque mémoire initial…'
    initrd  /boot/initrd.img-4.12.0-0.bpo.2-amd64
  }
  menuentry 'Debian GNU/Linux, with Linux 4.12.0-0.bpo.2-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.12.0-0.bpo.2-amd64-recovery-8f3dfc41-a5aa-4384-981d-00243c131baa' {
    load_video
    insmod gzio
    if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  8f3dfc41-a5aa-4384-981d-00243c131baa
    else
      search --no-floppy --fs-uuid --set=root 8f3dfc41-a5aa-4384-981d-00243c131baa
    fi
    echo  'Chargement de Linux 4.12.0-0.bpo.2-amd64…'
    linux /boot/vmlinuz-4.12.0-0.bpo.2-amd64 root=UUID=8f3dfc41-a5aa-4384-981d-00243c131baa ro single
    echo  'Chargement du disque mémoire initial…'
    initrd  /boot/initrd.img-4.12.0-0.bpo.2-amd64
  }
  menuentry 'Debian GNU/Linux, avec Linux 4.9.0-4-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-4-amd64-advanced-8f3dfc41-a5aa-4384-981d-00243c131baa' {
    load_video
    insmod gzio
    if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  8f3dfc41-a5aa-4384-981d-00243c131baa
    else
      search --no-floppy --fs-uuid --set=root 8f3dfc41-a5aa-4384-981d-00243c131baa
    fi
    echo  'Chargement de Linux 4.9.0-4-amd64…'
    linux /boot/vmlinuz-4.9.0-4-amd64 root=UUID=8f3dfc41-a5aa-4384-981d-00243c131baa ro  quiet
    echo  'Chargement du disque mémoire initial…'
    initrd  /boot/initrd.img-4.9.0-4-amd64
  }
  menuentry 'Debian GNU/Linux, with Linux 4.9.0-4-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-4-amd64-recovery-8f3dfc41-a5aa-4384-981d-00243c131baa' {
    load_video
    insmod gzio
    if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  8f3dfc41-a5aa-4384-981d-00243c131baa
    else
      search --no-floppy --fs-uuid --set=root 8f3dfc41-a5aa-4384-981d-00243c131baa
    fi
    echo  'Chargement de Linux 4.9.0-4-amd64…'
    linux /boot/vmlinuz-4.9.0-4-amd64 root=UUID=8f3dfc41-a5aa-4384-981d-00243c131baa ro single
    echo  'Chargement du disque mémoire initial…'
    initrd  /boot/initrd.img-4.9.0-4-amd64
  }
}

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

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

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

### BEGIN /etc/grub.d/20_memtest86 ###
menuentry "Memory test (memtest86)" {
  linux16 /boot/memtest86.bin
}
### END /etc/grub.d/20_memtest86 ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos5'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  8f3dfc41-a5aa-4384-981d-00243c131baa
  else
    search --no-floppy --fs-uuid --set=root 8f3dfc41-a5aa-4384-981d-00243c131baa
  fi
  linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos5'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  8f3dfc41-a5aa-4384-981d-00243c131baa
  else
    search --no-floppy --fs-uuid --set=root 8f3dfc41-a5aa-4384-981d-00243c131baa
  fi
  linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
menuentry "Memory test (memtest86+, experimental multiboot)" {
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos5'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  8f3dfc41-a5aa-4384-981d-00243c131baa
  else
    search --no-floppy --fs-uuid --set=root 8f3dfc41-a5aa-4384-981d-00243c131baa
  fi
  multiboot /boot/memtest86+_multiboot.bin
}
menuentry "Memory test (memtest86+, serial console 115200, experimental multiboot)" {
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos5'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  8f3dfc41-a5aa-4384-981d-00243c131baa
  else
    search --no-floppy --fs-uuid --set=root 8f3dfc41-a5aa-4384-981d-00243c131baa
  fi
  multiboot /boot/memtest86+_multiboot.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 10 (sur /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-8CB84D65B84D4EC0' {
  insmod part_msdos
  insmod ntfs
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  8CB84D65B84D4EC0
  else
    search --no-floppy --fs-uuid --set=root 8CB84D65B84D4EC0
  fi
  parttool ${root} hidden-
  drivemap -s (hd0) ${root}
  chainloader +1
}
menuentry 'Ubuntu 17.10 (17.10) (sur /dev/sdc5)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-0e8c2161-6141-456b-9049-f34897f3b3b7' {
  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  0e8c2161-6141-456b-9049-f34897f3b3b7
  else
    search --no-floppy --fs-uuid --set=root 0e8c2161-6141-456b-9049-f34897f3b3b7
  fi
  linux /boot/vmlinuz-4.13.0-16-generic root=UUID=0e8c2161-6141-456b-9049-f34897f3b3b7 ro quiet splash $vt_handoff
  initrd /boot/initrd.img-4.13.0-16-generic
}
submenu 'Options avancées pour Ubuntu 17.10 (17.10) (sur /dev/sdc5)' $menuentry_id_option 'osprober-gnulinux-advanced-0e8c2161-6141-456b-9049-f34897f3b3b7' {
  menuentry 'Ubuntu (sur /dev/sdc5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.13.0-16-generic--0e8c2161-6141-456b-9049-f34897f3b3b7' {
    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  0e8c2161-6141-456b-9049-f34897f3b3b7
    else
      search --no-floppy --fs-uuid --set=root 0e8c2161-6141-456b-9049-f34897f3b3b7
    fi
    linux /boot/vmlinuz-4.13.0-16-generic root=UUID=0e8c2161-6141-456b-9049-f34897f3b3b7 ro quiet splash $vt_handoff
    initrd /boot/initrd.img-4.13.0-16-generic
  }
  menuentry 'Ubuntu, avec Linux 4.13.0-16-generic (sur /dev/sdc5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.13.0-16-generic--0e8c2161-6141-456b-9049-f34897f3b3b7' {
    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  0e8c2161-6141-456b-9049-f34897f3b3b7
    else
      search --no-floppy --fs-uuid --set=root 0e8c2161-6141-456b-9049-f34897f3b3b7
    fi
    linux /boot/vmlinuz-4.13.0-16-generic root=UUID=0e8c2161-6141-456b-9049-f34897f3b3b7 ro quiet splash $vt_handoff
    initrd /boot/initrd.img-4.13.0-16-generic
  }
  menuentry 'Ubuntu, with Linux 4.13.0-16-generic (recovery mode) (sur /dev/sdc5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.13.0-16-generic-root=UUID=0e8c2161-6141-456b-9049-f34897f3b3b7 ro recovery nomodeset-0e8c2161-6141-456b-9049-f34897f3b3b7' {
    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  0e8c2161-6141-456b-9049-f34897f3b3b7
    else
      search --no-floppy --fs-uuid --set=root 0e8c2161-6141-456b-9049-f34897f3b3b7
    fi
    linux /boot/vmlinuz-4.13.0-16-generic root=UUID=0e8c2161-6141-456b-9049-f34897f3b3b7 ro recovery nomodeset
    initrd /boot/initrd.img-4.13.0-16-generic
  }
}

menuentry 'Debian GNU/Linux buster/sid (sur /dev/sdc6)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-9472a871-3bce-4a28-85ec-9a8a029dbb50' {
  insmod part_msdos
  insmod ext2
  set root='hd2,msdos6'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos6 --hint-efi=hd2,msdos6 --hint-baremetal=ahci2,msdos6  9472a871-3bce-4a28-85ec-9a8a029dbb50
  else
    search --no-floppy --fs-uuid --set=root 9472a871-3bce-4a28-85ec-9a8a029dbb50
  fi
  linux /boot/vmlinuz-4.12.0-1-amd64 root=UUID=9472a871-3bce-4a28-85ec-9a8a029dbb50 ro quiet
  initrd /boot/initrd.img-4.12.0-1-amd64
}
submenu 'Options avancées pour Debian GNU/Linux buster/sid (sur /dev/sdc6)' $menuentry_id_option 'osprober-gnulinux-advanced-9472a871-3bce-4a28-85ec-9a8a029dbb50' {
  menuentry 'Debian GNU/Linux (sur /dev/sdc6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.12.0-1-amd64--9472a871-3bce-4a28-85ec-9a8a029dbb50' {
    insmod part_msdos
    insmod ext2
    set root='hd2,msdos6'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos6 --hint-efi=hd2,msdos6 --hint-baremetal=ahci2,msdos6  9472a871-3bce-4a28-85ec-9a8a029dbb50
    else
      search --no-floppy --fs-uuid --set=root 9472a871-3bce-4a28-85ec-9a8a029dbb50
    fi
    linux /boot/vmlinuz-4.12.0-1-amd64 root=UUID=9472a871-3bce-4a28-85ec-9a8a029dbb50 ro quiet
    initrd /boot/initrd.img-4.12.0-1-amd64
  }
  menuentry 'Debian GNU/Linux, avec Linux 4.12.0-1-amd64 (sur /dev/sdc6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.12.0-1-amd64--9472a871-3bce-4a28-85ec-9a8a029dbb50' {
    insmod part_msdos
    insmod ext2
    set root='hd2,msdos6'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos6 --hint-efi=hd2,msdos6 --hint-baremetal=ahci2,msdos6  9472a871-3bce-4a28-85ec-9a8a029dbb50
    else
      search --no-floppy --fs-uuid --set=root 9472a871-3bce-4a28-85ec-9a8a029dbb50
    fi
    linux /boot/vmlinuz-4.12.0-1-amd64 root=UUID=9472a871-3bce-4a28-85ec-9a8a029dbb50 ro quiet
    initrd /boot/initrd.img-4.12.0-1-amd64
  }
  menuentry 'Debian GNU/Linux, with Linux 4.12.0-1-amd64 (recovery mode) (sur /dev/sdc6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.12.0-1-amd64-root=UUID=9472a871-3bce-4a28-85ec-9a8a029dbb50 ro single-9472a871-3bce-4a28-85ec-9a8a029dbb50' {
    insmod part_msdos
    insmod ext2
    set root='hd2,msdos6'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos6 --hint-efi=hd2,msdos6 --hint-baremetal=ahci2,msdos6  9472a871-3bce-4a28-85ec-9a8a029dbb50
    else
      search --no-floppy --fs-uuid --set=root 9472a871-3bce-4a28-85ec-9a8a029dbb50
    fi
    linux /boot/vmlinuz-4.12.0-1-amd64 root=UUID=9472a871-3bce-4a28-85ec-9a8a029dbb50 ro single
    initrd /boot/initrd.img-4.12.0-1-amd64
  }
}

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

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

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

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



le fstab de  buster :

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdc6 during installation
UUID=9472a871-3bce-4a28-85ec-9a8a029dbb50 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda7 during installation
UUID=789e2b84-0e72-4040-a7f0-e858465c739e none            swap    sw              0       0
/dev/sr0        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/sr1        /media/cdrom1   udf,iso9660 user,noauto     0       0
 



le grub.cfg de buster


#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

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

export menuentry_id_option

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

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd2,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos6 --hint-efi=hd2,msdos6 --hint-baremetal=ahci2,msdos6  9472a871-3bce-4a28-85ec-9a8a029dbb50
else
  search --no-floppy --fs-uuid --set=root 9472a871-3bce-4a28-85ec-9a8a029dbb50
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_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  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
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='hd2,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos6 --hint-efi=hd2,msdos6 --hint-baremetal=ahci2,msdos6  9472a871-3bce-4a28-85ec-9a8a029dbb50
else
  search --no-floppy --fs-uuid --set=root 9472a871-3bce-4a28-85ec-9a8a029dbb50
fi
insmod png
if background_image /usr/share/desktop-base/softwaves-theme/grub/grub-4x3.png; then
  set color_normal=white/black
  set color_highlight=black/white
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
  set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-9472a871-3bce-4a28-85ec-9a8a029dbb50' {
  load_video
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd2,msdos6'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos6 --hint-efi=hd2,msdos6 --hint-baremetal=ahci2,msdos6  9472a871-3bce-4a28-85ec-9a8a029dbb50
  else
    search --no-floppy --fs-uuid --set=root 9472a871-3bce-4a28-85ec-9a8a029dbb50
  fi
  echo  'Chargement de Linux 4.12.0-1-amd64…'
  linux /boot/vmlinuz-4.12.0-1-amd64 root=UUID=9472a871-3bce-4a28-85ec-9a8a029dbb50 ro  quiet
  echo  'Chargement du disque mémoire initial…'
  initrd  /boot/initrd.img-4.12.0-1-amd64
}
submenu 'Options avancées pour Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-9472a871-3bce-4a28-85ec-9a8a029dbb50' {
  menuentry 'Debian GNU/Linux, avec Linux 4.12.0-1-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.12.0-1-amd64-advanced-9472a871-3bce-4a28-85ec-9a8a029dbb50' {
    load_video
    insmod gzio
    if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
    insmod part_msdos
    insmod ext2
    set root='hd2,msdos6'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos6 --hint-efi=hd2,msdos6 --hint-baremetal=ahci2,msdos6  9472a871-3bce-4a28-85ec-9a8a029dbb50
    else
      search --no-floppy --fs-uuid --set=root 9472a871-3bce-4a28-85ec-9a8a029dbb50
    fi
    echo  'Chargement de Linux 4.12.0-1-amd64…'
    linux /boot/vmlinuz-4.12.0-1-amd64 root=UUID=9472a871-3bce-4a28-85ec-9a8a029dbb50 ro  quiet
    echo  'Chargement du disque mémoire initial…'
    initrd  /boot/initrd.img-4.12.0-1-amd64
  }
  menuentry 'Debian GNU/Linux, with Linux 4.12.0-1-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.12.0-1-amd64-recovery-9472a871-3bce-4a28-85ec-9a8a029dbb50' {
    load_video
    insmod gzio
    if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
    insmod part_msdos
    insmod ext2
    set root='hd2,msdos6'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos6 --hint-efi=hd2,msdos6 --hint-baremetal=ahci2,msdos6  9472a871-3bce-4a28-85ec-9a8a029dbb50
    else
      search --no-floppy --fs-uuid --set=root 9472a871-3bce-4a28-85ec-9a8a029dbb50
    fi
    echo  'Chargement de Linux 4.12.0-1-amd64…'
    linux /boot/vmlinuz-4.12.0-1-amd64 root=UUID=9472a871-3bce-4a28-85ec-9a8a029dbb50 ro single
    echo  'Chargement du disque mémoire initial…'
    initrd  /boot/initrd.img-4.12.0-1-amd64
  }
}

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

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

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

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 10 (sur /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-8CB84D65B84D4EC0' {
  insmod part_msdos
  insmod ntfs
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  8CB84D65B84D4EC0
  else
    search --no-floppy --fs-uuid --set=root 8CB84D65B84D4EC0
  fi
  parttool ${root} hidden-
  drivemap -s (hd0) ${root}
  chainloader +1
}
menuentry 'Debian GNU/Linux 9 (stretch) (sur /dev/sda5)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-8f3dfc41-a5aa-4384-981d-00243c131baa' {
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos5'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  8f3dfc41-a5aa-4384-981d-00243c131baa
  else
    search --no-floppy --fs-uuid --set=root 8f3dfc41-a5aa-4384-981d-00243c131baa
  fi
  linux /boot/vmlinuz-4.13.0-0.bpo.1-amd64 root=UUID=8f3dfc41-a5aa-4384-981d-00243c131baa ro quiet
  initrd /boot/initrd.img-4.13.0-0.bpo.1-amd64
}
submenu 'Options avancées pour Debian GNU/Linux 9 (stretch) (sur /dev/sda5)' $menuentry_id_option 'osprober-gnulinux-advanced-8f3dfc41-a5aa-4384-981d-00243c131baa' {
  menuentry 'Debian GNU/Linux (sur /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.13.0-0.bpo.1-amd64--8f3dfc41-a5aa-4384-981d-00243c131baa' {
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  8f3dfc41-a5aa-4384-981d-00243c131baa
    else
      search --no-floppy --fs-uuid --set=root 8f3dfc41-a5aa-4384-981d-00243c131baa
    fi
    linux /boot/vmlinuz-4.13.0-0.bpo.1-amd64 root=UUID=8f3dfc41-a5aa-4384-981d-00243c131baa ro quiet
    initrd /boot/initrd.img-4.13.0-0.bpo.1-amd64
  }
  menuentry 'Debian GNU/Linux, avec Linux 4.13.0-0.bpo.1-amd64 (sur /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.13.0-0.bpo.1-amd64--8f3dfc41-a5aa-4384-981d-00243c131baa' {
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  8f3dfc41-a5aa-4384-981d-00243c131baa
    else
      search --no-floppy --fs-uuid --set=root 8f3dfc41-a5aa-4384-981d-00243c131baa
    fi
    linux /boot/vmlinuz-4.13.0-0.bpo.1-amd64 root=UUID=8f3dfc41-a5aa-4384-981d-00243c131baa ro quiet
    initrd /boot/initrd.img-4.13.0-0.bpo.1-amd64
  }
  menuentry 'Debian GNU/Linux, with Linux 4.13.0-0.bpo.1-amd64 (recovery mode) (sur /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.13.0-0.bpo.1-amd64-root=UUID=8f3dfc41-a5aa-4384-981d-00243c131baa ro single-8f3dfc41-a5aa-4384-981d-00243c131baa' {
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  8f3dfc41-a5aa-4384-981d-00243c131baa
    else
      search --no-floppy --fs-uuid --set=root 8f3dfc41-a5aa-4384-981d-00243c131baa
    fi
    linux /boot/vmlinuz-4.13.0-0.bpo.1-amd64 root=UUID=8f3dfc41-a5aa-4384-981d-00243c131baa ro single
    initrd /boot/initrd.img-4.13.0-0.bpo.1-amd64
  }
  menuentry 'Debian GNU/Linux, avec Linux 4.12.0-0.bpo.2-amd64 (sur /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.12.0-0.bpo.2-amd64--8f3dfc41-a5aa-4384-981d-00243c131baa' {
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  8f3dfc41-a5aa-4384-981d-00243c131baa
    else
      search --no-floppy --fs-uuid --set=root 8f3dfc41-a5aa-4384-981d-00243c131baa
    fi
    linux /boot/vmlinuz-4.12.0-0.bpo.2-amd64 root=UUID=8f3dfc41-a5aa-4384-981d-00243c131baa ro quiet
    initrd /boot/initrd.img-4.12.0-0.bpo.2-amd64
  }
  menuentry 'Debian GNU/Linux, with Linux 4.12.0-0.bpo.2-amd64 (recovery mode) (sur /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.12.0-0.bpo.2-amd64-root=UUID=8f3dfc41-a5aa-4384-981d-00243c131baa ro single-8f3dfc41-a5aa-4384-981d-00243c131baa' {
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  8f3dfc41-a5aa-4384-981d-00243c131baa
    else
      search --no-floppy --fs-uuid --set=root 8f3dfc41-a5aa-4384-981d-00243c131baa
    fi
    linux /boot/vmlinuz-4.12.0-0.bpo.2-amd64 root=UUID=8f3dfc41-a5aa-4384-981d-00243c131baa ro single
    initrd /boot/initrd.img-4.12.0-0.bpo.2-amd64
  }
  menuentry 'Debian GNU/Linux, avec Linux 4.9.0-4-amd64 (sur /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-4-amd64--8f3dfc41-a5aa-4384-981d-00243c131baa' {
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  8f3dfc41-a5aa-4384-981d-00243c131baa
    else
      search --no-floppy --fs-uuid --set=root 8f3dfc41-a5aa-4384-981d-00243c131baa
    fi
    linux /boot/vmlinuz-4.9.0-4-amd64 root=UUID=8f3dfc41-a5aa-4384-981d-00243c131baa ro quiet
    initrd /boot/initrd.img-4.9.0-4-amd64
  }
  menuentry 'Debian GNU/Linux, with Linux 4.9.0-4-amd64 (recovery mode) (sur /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-4-amd64-root=UUID=8f3dfc41-a5aa-4384-981d-00243c131baa ro single-8f3dfc41-a5aa-4384-981d-00243c131baa' {
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  8f3dfc41-a5aa-4384-981d-00243c131baa
    else
      search --no-floppy --fs-uuid --set=root 8f3dfc41-a5aa-4384-981d-00243c131baa
    fi
    linux /boot/vmlinuz-4.9.0-4-amd64 root=UUID=8f3dfc41-a5aa-4384-981d-00243c131baa ro single
    initrd /boot/initrd.img-4.9.0-4-amd64
  }
  menuentry 'Debian GNU/Linux 9 (stretch) (sur /dev/sdc6) (sur /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-4-amd64--8f3dfc41-a5aa-4384-981d-00243c131baa' {
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  8f3dfc41-a5aa-4384-981d-00243c131baa
    else
      search --no-floppy --fs-uuid --set=root 8f3dfc41-a5aa-4384-981d-00243c131baa
    fi
    linux /boot/vmlinuz-4.9.0-4-amd64 root=UUID=d46fd5e9-2cc9-4065-bb8d-958673c2fea4 ro quiet
    initrd /boot/initrd.img-4.9.0-4-amd64
  }
  menuentry 'Debian GNU/Linux (sur /dev/sdc6) (sur /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-4-amd64--8f3dfc41-a5aa-4384-981d-00243c131baa' {
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  8f3dfc41-a5aa-4384-981d-00243c131baa
    else
      search --no-floppy --fs-uuid --set=root 8f3dfc41-a5aa-4384-981d-00243c131baa
    fi
    linux /boot/vmlinuz-4.9.0-4-amd64 root=UUID=d46fd5e9-2cc9-4065-bb8d-958673c2fea4 ro quiet
    initrd /boot/initrd.img-4.9.0-4-amd64
  }
  menuentry 'Debian GNU/Linux, avec Linux 4.9.0-4-amd64 (sur /dev/sdc6) (sur /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-4-amd64--8f3dfc41-a5aa-4384-981d-00243c131baa' {
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  8f3dfc41-a5aa-4384-981d-00243c131baa
    else
      search --no-floppy --fs-uuid --set=root 8f3dfc41-a5aa-4384-981d-00243c131baa
    fi
    linux /boot/vmlinuz-4.9.0-4-amd64 root=UUID=d46fd5e9-2cc9-4065-bb8d-958673c2fea4 ro quiet
    initrd /boot/initrd.img-4.9.0-4-amd64
  }
  menuentry 'Debian GNU/Linux, with Linux 4.9.0-4-amd64 (recovery mode) (sur /dev/sdc6) (sur /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-4-amd64-root=UUID=d46fd5e9-2cc9-4065-bb8d-958673c2fea4 ro single-8f3dfc41-a5aa-4384-981d-00243c131baa' {
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  8f3dfc41-a5aa-4384-981d-00243c131baa
    else
      search --no-floppy --fs-uuid --set=root 8f3dfc41-a5aa-4384-981d-00243c131baa
    fi
    linux /boot/vmlinuz-4.9.0-4-amd64 root=UUID=d46fd5e9-2cc9-4065-bb8d-958673c2fea4 ro single
    initrd /boot/initrd.img-4.9.0-4-amd64
  }
  menuentry 'Debian GNU/Linux, avec Linux 4.9.0-4-amd64 (sur /dev/sda5) (sur /dev/sdc6) (sur /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-4-amd64--8f3dfc41-a5aa-4384-981d-00243c131baa' {
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  8f3dfc41-a5aa-4384-981d-00243c131baa
    else
      search --no-floppy --fs-uuid --set=root 8f3dfc41-a5aa-4384-981d-00243c131baa
    fi
    linux /boot/vmlinuz-4.9.0-4-amd64 root=UUID=8f3dfc41-a5aa-4384-981d-00243c131baa ro quiet
    initrd /boot/initrd.img-4.9.0-4-amd64
  }
  menuentry 'Debian GNU/Linux, with Linux 4.9.0-4-amd64 (recovery mode) (sur /dev/sda5) (sur /dev/sdc6) (sur /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-4-amd64-root=UUID=8f3dfc41-a5aa-4384-981d-00243c131baa ro single-8f3dfc41-a5aa-4384-981d-00243c131baa' {
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  8f3dfc41-a5aa-4384-981d-00243c131baa
    else
      search --no-floppy --fs-uuid --set=root 8f3dfc41-a5aa-4384-981d-00243c131baa
    fi
    linux /boot/vmlinuz-4.9.0-4-amd64 root=UUID=8f3dfc41-a5aa-4384-981d-00243c131baa ro single
    initrd /boot/initrd.img-4.9.0-4-amd64
  }
}

menuentry 'Ubuntu 17.10 (17.10) (sur /dev/sdc5)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-0e8c2161-6141-456b-9049-f34897f3b3b7' {
  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  0e8c2161-6141-456b-9049-f34897f3b3b7
  else
    search --no-floppy --fs-uuid --set=root 0e8c2161-6141-456b-9049-f34897f3b3b7
  fi
  linux /boot/vmlinuz-4.13.0-16-generic root=UUID=0e8c2161-6141-456b-9049-f34897f3b3b7 ro quiet splash $vt_handoff
  initrd /boot/initrd.img-4.13.0-16-generic
}
submenu 'Options avancées pour Ubuntu 17.10 (17.10) (sur /dev/sdc5)' $menuentry_id_option 'osprober-gnulinux-advanced-0e8c2161-6141-456b-9049-f34897f3b3b7' {
  menuentry 'Ubuntu (sur /dev/sdc5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.13.0-16-generic--0e8c2161-6141-456b-9049-f34897f3b3b7' {
    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  0e8c2161-6141-456b-9049-f34897f3b3b7
    else
      search --no-floppy --fs-uuid --set=root 0e8c2161-6141-456b-9049-f34897f3b3b7
    fi
    linux /boot/vmlinuz-4.13.0-16-generic root=UUID=0e8c2161-6141-456b-9049-f34897f3b3b7 ro quiet splash $vt_handoff
    initrd /boot/initrd.img-4.13.0-16-generic
  }
  menuentry 'Ubuntu, avec Linux 4.13.0-16-generic (sur /dev/sdc5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.13.0-16-generic--0e8c2161-6141-456b-9049-f34897f3b3b7' {
    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  0e8c2161-6141-456b-9049-f34897f3b3b7
    else
      search --no-floppy --fs-uuid --set=root 0e8c2161-6141-456b-9049-f34897f3b3b7
    fi
    linux /boot/vmlinuz-4.13.0-16-generic root=UUID=0e8c2161-6141-456b-9049-f34897f3b3b7 ro quiet splash $vt_handoff
    initrd /boot/initrd.img-4.13.0-16-generic
  }
  menuentry 'Ubuntu, with Linux 4.13.0-16-generic (recovery mode) (sur /dev/sdc5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.13.0-16-generic-root=UUID=0e8c2161-6141-456b-9049-f34897f3b3b7 ro recovery nomodeset-0e8c2161-6141-456b-9049-f34897f3b3b7' {
    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  0e8c2161-6141-456b-9049-f34897f3b3b7
    else
      search --no-floppy --fs-uuid --set=root 0e8c2161-6141-456b-9049-f34897f3b3b7
    fi
    linux /boot/vmlinuz-4.13.0-16-generic root=UUID=0e8c2161-6141-456b-9049-f34897f3b3b7 ro recovery nomodeset
    initrd /boot/initrd.img-4.13.0-16-generic
  }
}

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

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

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

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



à noter :

lors de l'installation de buster , je demande à l'installateur de mettre le grub sur sda .
ce qui le fait planter  systematiquement (grub) .
je suis obligé , grâce à super  grub disk , de lancer stretch et de réinstaller grub .
même sans cela , le lancement de buster depuis  super grub disk , donne les mêmes erreurs .

cela m'est arrivé depuis que j'ai changé l'emplacement de la carte contrôleur marvell (4x sata hdd).
elle était au préalable branchée dans le port pcie 3.0 (x16) de la carte graphique .
je l'ai , depuis , branchée sur un slot pcie x 1 classique

je n'y comprends rien .
ma carte contrôleur semble fonctionner parfaitement .

quelle(s) erreur(s) ai je bien pu faire ?

si vous pouviez me dépanner ....
j'apprécierai énormément .

Dernière modification par Debian Alain (10-11-2017 20:30:06)


1498826560.jpg 1498812139.jpg Bip ! Bip !

Hors ligne

#4 10-11-2017 20:27:37

Debian Alain
Membre
Lieu : BREST 29200
Distrib. : W$10 1709 / stretch / ubuntu 17.10 / buster-sid
Noyau : Linux 4.13.0-0.bpo.1-amd64
(G)UI : Mate / Gdm3
Inscription : 11-03-2017

Re : [résolu] grub : non reconnaissance d'une partition

je te réponds  , croutons :

$ sudo cat /etc/default/grub



[sudo] Mot de passe de alain-stretch : 
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=8
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""


# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=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=1280x800

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

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

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

 


1498826560.jpg 1498812139.jpg Bip ! Bip !

Hors ligne

#5 10-11-2017 20:41:40

Croutons
Membre
Distrib. : Handylinux 2.5 vers Jessie et Debian Stretch
Noyau : Linux 3.16.0-4-686-pae, Linux 4.9.0-3-686-pae
(G)UI : xfce
Inscription : 16-12-2016

Re : [résolu] grub : non reconnaissance d'une partition

entre deux blkid les partitions on changé de numéro UUID???!!!scratchhead.gif

Dernière modification par Croutons (10-11-2017 20:42:22)


-->les cahiers du debutant<--      WikiDF-->Découvrir les principales commandes Linux<--
L' expérience, c'est le nom que chacun donne à ses erreurs. Oscar Wilde

Hors ligne

#6 10-11-2017 20:58:48

Debian Alain
Membre
Lieu : BREST 29200
Distrib. : W$10 1709 / stretch / ubuntu 17.10 / buster-sid
Noyau : Linux 4.13.0-0.bpo.1-amd64
(G)UI : Mate / Gdm3
Inscription : 11-03-2017

Re : [résolu] grub : non reconnaissance d'une partition

le 2 ème blkid a été fait après avoir tenté d'installer buster depuis le disque de buster
le 1er  blkid  a été fait  après avoir tenté d'installer buster depuis le disque de stretch

normalement seuls changent  le uuid du swap et celui de sdc6 , la partition de buster .

si sda 1 et 2 changent d'uuid , c'est pas  normal . ce sont les partitions  de w$

sda 5 à 9 , ce sont les parttions de stretch

normalement sda(x) (2 To) ne bouge pas

sdb , normalement , fait 3To  , c'est le disque des sauvegardes de w$ (ntfs)

sdc , sur  la carte contrôleur , normalement  c'est les images clonezilla

sdd , sur la carte contrôleur  , normalement c'est le disque buster / ubuntu (2 To)

sde / sdf ce sont des disques de  sauvegarde de mes  donnees (4 To chacun)

après correction d'un faux contact sur la prise de sdb :

$ df



Sys. de fichiers blocs de 1K    Utilisé Disponible Uti% Monté sur
udev                 8175200          0    8175200   0% /dev
tmpfs                1637380       9880    1627500   1% /run
/dev/sda5           23898960    7317096   15344824  33% /
tmpfs                8186888       5320    8181568   1% /dev/shm
tmpfs                   5120          4       5116   1% /run/lock
tmpfs                8186888          0    8186888   0% /sys/fs/cgroup
/dev/sda6            9545920     586856    8454440   7% /var
/dev/sda9          874904512  233748940  596643112  29% /home
/dev/sda8            1888268       5784    1768516   1% /tmp
tmpfs                1637376         12    1637364   1% /run/user/120
tmpfs                1637376         48    1637328   1% /run/user/1000
/dev/sdd6         1062045664    6951612 1001075288   1% /media/alain-stretch/9472a871-3bce-4a28-85ec-9a8a029dbb50
/dev/sdd5          858679336    4411036  810578728   1% /media/alain-stretch/0e8c2161-6141-456b-9049-f34897f3b3b7
/dev/sdc1         1953513468 1367799076  585714392  71% /media/alain-stretch/CLONEZILLA
/dev/sde1         3907016700 2519461288 1387555412  65% /media/alain-stretch/HDD EXT 3
/dev/sdf1         3907016700 2635102532 1271914168  68% /media/alain-stretch/HDD EXT 4
/dev/sdb2         2930134012  810831240 2119302772  28% /media/alain-stretch/SAUVEGARDES W10
 



le blkid de stretch :

$ sudo blkid



[sudo] Mot de passe de alain-stretch : 
/dev/sda1: LABEL="RM-CM-)servM-CM-) au systM-CM-(me" UUID="8CB84D65B84D4EC0" TYPE="ntfs" PARTUUID="000c8e33-01"
/dev/sda2: UUID="C664570B6456FE1D" TYPE="ntfs" PARTUUID="000c8e33-02"
/dev/sda5: UUID="8f3dfc41-a5aa-4384-981d-00243c131baa" TYPE="ext4" PARTUUID="000c8e33-05"
/dev/sda6: UUID="bb0175bd-3cd2-42a2-afe8-dbea1bc91564" TYPE="ext4" PARTUUID="000c8e33-06"
/dev/sda7: UUID="789e2b84-0e72-4040-a7f0-e858465c739e" TYPE="swap" PARTUUID="000c8e33-07"
/dev/sda8: UUID="9351eda2-9802-4d45-b332-6295f858e7f8" TYPE="ext4" PARTUUID="000c8e33-08"
/dev/sda9: UUID="7a80f0f3-f6ec-4cd6-bcd9-7fc0a4ed4c59" TYPE="ext4" PARTUUID="000c8e33-09"
/dev/sdb2: LABEL="SAUVEGARDES W10" UUID="0CE41FABE41F95D4" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="7dee4ed1-a599-4baa-906b-fe5ef15fc7bd"
/dev/sdc1: LABEL="CLONEZILLA" UUID="00C9126C750535DC" TYPE="ntfs" PARTUUID="cbf916aa-5698-4e73-b44e-36924b55762b"
/dev/sdd5: UUID="0e8c2161-6141-456b-9049-f34897f3b3b7" TYPE="ext4" PARTUUID="d15626ca-05"
/dev/sdd6: UUID="9472a871-3bce-4a28-85ec-9a8a029dbb50" TYPE="ext4" PARTUUID="d15626ca-06"
/dev/sde1: LABEL="HDD EXT 3" UUID="B6E8A04DE8A00DA5" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="770cae4f-f9c5-4838-8305-1825b08589e6"
/dev/sdf1: LABEL="HDD EXT 4" UUID="4739E9CC7687E15B" TYPE="ntfs" PARTUUID="3d8de4e7-881d-4061-b36f-d0d25ec0fb8d"
/dev/sdb1: PARTLABEL="Microsoft reserved partition" PARTUUID="6cbecf1e-970d-498e-8894-5aa28d0b813e"
 



le fstab de stretch:

$ cat /etc/fstab



# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=8f3dfc41-a5aa-4384-981d-00243c131baa /               ext4    errors=remount-ro 0       1
# /home was on /dev/sda9 during installation
UUID=7a80f0f3-f6ec-4cd6-bcd9-7fc0a4ed4c59 /home           ext4    defaults        0       2
# /tmp was on /dev/sda8 during installation
UUID=9351eda2-9802-4d45-b332-6295f858e7f8 /tmp            ext4    defaults        0       2
# /var was on /dev/sda6 during installation
UUID=bb0175bd-3cd2-42a2-afe8-dbea1bc91564 /var            ext4    defaults        0       2
# swap was on /dev/sda7 during installation
UUID=789e2b84-0e72-4040-a7f0-e858465c739e none            swap    sw              0       0
/dev/sr0        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/sr1        /media/cdrom1   udf,iso9660 user,noauto     0       0
 



toujours les mêmes erreurs :
- no such device 9472a871-3bce-4a28-85ec-9a8a029dbb50
- cette partition n'existe pas
- le noyau doit d'abord être chargé

je sèche .......

Dernière modification par Debian Alain (10-11-2017 21:16:51)


1498826560.jpg 1498812139.jpg Bip ! Bip !

Hors ligne

#7 11-11-2017 00:41:25

Debian Alain
Membre
Lieu : BREST 29200
Distrib. : W$10 1709 / stretch / ubuntu 17.10 / buster-sid
Noyau : Linux 4.13.0-0.bpo.1-amd64
(G)UI : Mate / Gdm3
Inscription : 11-03-2017

Re : [résolu] grub : non reconnaissance d'une partition

c'est bon , ne vous inquiétez plus .

j'ai trouvé la  soluce .

grâce à boot - repair -disk .

voilà mes deux rapports avant réparation :

sdd (buster/ubuntu) disque non amovible

sdd (buster/ubuntu) disque amovible

maintenant , tout est rentré dans l'ordre

1498826560.jpg 1498812139.jpg Bip ! Bip !

Hors ligne

Pied de page des forums