Contenu | Rechercher | Menus

Annonce

DVD, clés USB et t-shirts Ubuntu-fr disponibles sur la boutique En Vente Libre

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 12/04/2020, à 12:11

coubi64

Souci Grub suite à mise à jour

Bonjour à tous.

Je viens d'installer la dernière version (encore en beta) d'Ubuntu, la 20.04.

J'ai choisi un partitionnement manuel. J'ai 2 disques: 1 ssd de 120Go et 1 disque mécanique de 1To. Je suis sur un PC portable ACER Aspire.

J'ai fait le partionnement suivant:

sda:
- 1 partition btrfs d'1To sur /home

sdb:
- 1 partition fat32 de 250Mo EFI
- 1 partition btrfs avec le reste de l'espace disque sur /

Pendant l'installation, il m'a été demandé où je voulais installer Grub, j'ai choisi sdb (sans être sûr à 100% de ce choix)

L'installation s'est bien déroulée. Mon PC a redémarré sans problème.

MAIS une nouvelle mise étant proposée, je la lance, et j'obtiens un message d'erreur m'indiquant que Grub n'était plus disponible, me laissant aucune possiblité de le réinstaller...

J'ai installé boot-repair et boot-info.

Voilà le lien vers le journal généré par boot-info: https://paste.ubuntu.com/p/CJYBFtcF7q/

Je n'ose plus redémarrer et j'aimerais comprendre ce qu'il s'est passé et si j'aurais dû faire un autre choix pour Grub à l'installation.


Merci d'avance de votre aide.

Hors ligne

#2 Le 12/04/2020, à 12:13

coubi64

Re : Souci Grub suite à mise à jour

J'ai l'impression qu'il y a 2 grub installés. 1 sur chaque partition de sdb...

Hors ligne

#3 Le 12/04/2020, à 12:18

coubi64

Re : Souci Grub suite à mise à jour

J'ai lancé un grub-repair. Voilà le résultat:

https://paste.ubuntu.com/p/CnQhgfFsRh/

Hors ligne

#4 Le 12/04/2020, à 12:54

coubi64

Re : Souci Grub suite à mise à jour

Ce chapitre semble me conforter dans le choix du disque (sdb) plutôt qu'une partition pour l'installation de Grub: http://doc.ubuntu-fr.org/tutoriel/parti … d_amorcage

Mais je ne comprend pas ce qui s'est passé lors de la mise à jour de ce fait. hmm

Hors ligne

#5 Le 12/04/2020, à 13:30

Babdu89

Re : Souci Grub suite à mise à jour

Bonjour.

post#1 on lit;

Pendant l'installation, il m'a été demandé où je voulais installer Grub, j'ai choisi sdb (sans être sûr à 100% de ce choix)

Avec une installation en mode UEFI, Si tu installes en choisissant de faire le partitionnement ("Autre chose" à "type d'installation"). Il faut choisir la partition boot-efi (/dev/sdb1) pour installer grub-efi.

C'est lorsque l'on choisit d'installer en mode Bios_Legacy, qu'il faut installer grub(première partie) dans le secteur de boot du disque /dev/sdb sans indiquer de numéro de partition.

On voit dans le deuxième boot info, que boot-repair à su réinstaller grub-efi correctement.

@+.   Babdu89   .


J'ai découvert Ubuntu avec la 07.10.... Et alors?!...  Depuis je regarde de temps en temps si Windows marche toujours....

Hors ligne

#6 Le 12/04/2020, à 13:33

coubi64

Re : Souci Grub suite à mise à jour

Merci de ta réponse. smile

Hors ligne

#7 Le 12/04/2020, à 14:02

coubi64

Re : Souci Grub suite à mise à jour

Comme je venais juste d'installer Ubuntu, j'ai décidé de relancer une installation en choisissant sdb1 comme partition pour grub.

Sauf qu'une fois installée et la mise à jour relancée, j'ai toujours cette même erreur: mad

https://i.goopics.net/d1GAJ.png

Une explication?


Modération : merci d'utiliser des images de petite taille (300x300) ou des miniatures pointant sur ces images (Des hébergeurs comme Toile Libre ou TDCT'Pix le permettent).

Dernière modification par cqfd93 (Le 12/04/2020, à 14:03)

Hors ligne

#8 Le 12/04/2020, à 14:15

malbo

Re : Souci Grub suite à mise à jour

Bonjour,
Pourrais-tu faire un Boot-info (pas un Boot-repair) et donner l'URL du Boot-info dans ta réponse ?

En ligne

#9 Le 12/04/2020, à 14:51

coubi64

Re : Souci Grub suite à mise à jour

Vu que j'ai du temps et que j'aime tester (ça me permet d'apprendre et comprendre), j'ai décidé d'essayer autre chose: j'ai passé mon bios en mode Legacy et non plus UEFI. J'ai relancé l'installation. J'ai ajouté une partition grub bios (sdb1) en plus de ma partition root (sdb2). J'ai indiqué que le périphérique sur lequel devait se trouver l'amorceur de démarrage était sdb. Une fois Ubuntu installée, j'ai relancé les mises à jour et là c'est passé sans problème. J'ai relancé le PC pour vérification, ça fonctionne.

Hors ligne

#10 Le 12/04/2020, à 17:19

malbo

Re : Souci Grub suite à mise à jour

Peux-tu donner le nom complet du modèle de ton ordi afin que je l'ajoute dans la Liste des portables « Acer » ?

En ligne

#11 Le 12/04/2020, à 18:22

coubi64

Re : Souci Grub suite à mise à jour

C'est un ACER Aspire A515-51 wink

Hors ligne

#12 Le 12/04/2020, à 18:26

malbo

Re : Souci Grub suite à mise à jour

Merci pour le nom du modèle.
Pour que j'aie des infos complémentaires, je te prie de faire un Boot-info depuis une session de ton ubuntu installé et de donner l'URL de ce Boot-info dans ta réponse.

En ligne

#13 Le 12/04/2020, à 18:33

coubi64

Re : Souci Grub suite à mise à jour

Hors ligne

#14 Le 12/04/2020, à 19:53

malbo

Re : Souci Grub suite à mise à jour

Je colle ton dernier Boot-info dont tu as donné le lien ( https://paste.ubuntu.com/p/x8yP9Nztmn/ ) dans le post #13 :

Boot Info Script 71f6c5c + Boot-Repair extra info      [Boot-Info 16mar2020]


============================= Boot Info Summary: ===============================

 => No boot loader is installed in the MBR of /dev/sda.
 => Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 2048 
    of the same hard drive for core.img. core.img is at this location and 
    looks for (,gpt2)/@/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    zstd diskfilter raid6rec crypto lzopio gcry_crc gzio btrfs part_gpt 
    biosdisk
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

    File system:       btrfs
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sdb1: __________________________________________________________________________

    File system:       BIOS Boot partition
    Boot sector type:  Grub2's core.img
    Boot sector info: 

sdb2: __________________________________________________________________________

    File system:       btrfs
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu Focal Fossa (development branch)
    Boot files:        /boot/grub/grub.cfg /etc/fstab 
                       /boot/grub/i386-pc/core.img

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________
Disk /dev/sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WD10SPZX-21Z
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1 1,953,525,167 1,953,525,167  ee GPT


GUID Partition Table detected.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sda1                 2,048 1,953,523,711 1,953,521,664 Data partition (Linux)

Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set

Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 119.25 GiB, 128035676160 bytes, 250069680 sectors
Disk model: KINGSTON RBUSNS8
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1                   1   250,069,679   250,069,679  ee GPT


GUID Partition Table detected.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sdb1                 2,048       487,423       485,376 BIOS Boot partition
/dev/sdb2               487,424   250,068,991   249,581,568 Data partition (Linux)

Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set

"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/loop1                                              squashfs   
/dev/loop2                                              squashfs   
/dev/loop3                                              squashfs   
/dev/loop4                                              squashfs   
/dev/loop5                                              squashfs   
/dev/loop6                                              squashfs   
/dev/loop7                                              squashfs   
/dev/sda1        d1b491f4-e1f4-4ebb-8013-ed7d6ec83e53   btrfs      
/dev/sdb1                                                          
/dev/sdb2        3a171e1c-b83b-4e49-9dfc-91510ffcca3e   btrfs      

========================= "ls -l /dev/disk/by-id" output: ======================

total 0
lrwxrwxrwx 1 root root  9 Apr 12 19:31 ata-KINGSTON_RBUSNS8180S3128GI_50026B7E74A2C65C -> ../../sdb
lrwxrwxrwx 1 root root 10 Apr 12 19:31 ata-KINGSTON_RBUSNS8180S3128GI_50026B7E74A2C65C-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Apr 12 19:31 ata-KINGSTON_RBUSNS8180S3128GI_50026B7E74A2C65C-part2 -> ../../sdb2
lrwxrwxrwx 1 root root  9 Apr 12 19:31 ata-WDC_WD10SPZX-21Z10T0_WD-WXK1AB7AVJ1D -> ../../sda
lrwxrwxrwx 1 root root 10 Apr 12 19:31 ata-WDC_WD10SPZX-21Z10T0_WD-WXK1AB7AVJ1D-part1 -> ../../sda1
lrwxrwxrwx 1 root root  9 Apr 12 19:31 wwn-0x5000000000000000 -> ../../sdb
lrwxrwxrwx 1 root root 10 Apr 12 19:31 wwn-0x5000000000000000-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Apr 12 19:31 wwn-0x5000000000000000-part2 -> ../../sdb2
lrwxrwxrwx 1 root root  9 Apr 12 19:31 wwn-0x50014ee65da9992a -> ../../sda
lrwxrwxrwx 1 root root 10 Apr 12 19:31 wwn-0x50014ee65da9992a-part1 -> ../../sda1

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/fuse        /run/user/1000/doc       fuse       (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/sda1        /home                    btrfs      (rw,relatime,space_cache,subvolid=256,subvol=/@home)
/dev/sdb2        /                        btrfs      (rw,relatime,ssd,space_cache,subvolid=256,subvol=/@)


=========================== sdb2/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 [ "${initrdfail}" = 2 ]; then
   set initrdfail=
elif [ "${initrdfail}" = 1 ]; then
   set next_entry="${prev_entry}"
   set prev_entry=
   save_env prev_entry
   if [ "${next_entry}" ]; then
      set initrdfail=2
   fi
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 initrdfail {
    if [ -n "${have_grubenv}" ]; then if [ -n "${partuuid}" ]; then
      if [ -z "${initrdfail}" ]; then
        set initrdfail=1
        if [ -n "${boot_once}" ]; then
          set prev_entry="${default}"
          save_env prev_entry
        fi
      fi
      save_env initrdfail
    fi; fi
}
function recordfail {
  set recordfail=1
  # GRUB lacks write support for btrfs, so recordfail support is disabled.
}
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 btrfs
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  3a171e1c-b83b-4e49-9dfc-91510ffcca3e
else
  search --no-floppy --fs-uuid --set=root 3a171e1c-b83b-4e49-9dfc-91510ffcca3e
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=hidden
    set timeout=0
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 0 ; then
    set timeout=0
  fi
fi
if [ $grub_platform = efi ]; then
  set timeout=30
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=7
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-3a171e1c-b83b-4e49-9dfc-91510ffcca3e' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod btrfs
	set root='hd1,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  3a171e1c-b83b-4e49-9dfc-91510ffcca3e
	else
	  search --no-floppy --fs-uuid --set=root 3a171e1c-b83b-4e49-9dfc-91510ffcca3e
	fi
	linux	/@/boot/vmlinuz-5.4.0-21-generic root=UUID=3a171e1c-b83b-4e49-9dfc-91510ffcca3e ro rootflags=subvol=@  quiet splash $vt_handoff
	initrd	/@/boot/initrd.img-5.4.0-21-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-3a171e1c-b83b-4e49-9dfc-91510ffcca3e' {
	menuentry 'Ubuntu, with Linux 5.4.0-21-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-21-generic-advanced-3a171e1c-b83b-4e49-9dfc-91510ffcca3e' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod btrfs
		set root='hd1,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  3a171e1c-b83b-4e49-9dfc-91510ffcca3e
		else
		  search --no-floppy --fs-uuid --set=root 3a171e1c-b83b-4e49-9dfc-91510ffcca3e
		fi
		echo	'Loading Linux 5.4.0-21-generic ...'
		linux	/@/boot/vmlinuz-5.4.0-21-generic root=UUID=3a171e1c-b83b-4e49-9dfc-91510ffcca3e ro rootflags=subvol=@  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/@/boot/initrd.img-5.4.0-21-generic
	}
	menuentry 'Ubuntu, with Linux 5.4.0-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-21-generic-recovery-3a171e1c-b83b-4e49-9dfc-91510ffcca3e' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod btrfs
		set root='hd1,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  3a171e1c-b83b-4e49-9dfc-91510ffcca3e
		else
		  search --no-floppy --fs-uuid --set=root 3a171e1c-b83b-4e49-9dfc-91510ffcca3e
		fi
		echo	'Loading Linux 5.4.0-21-generic ...'
		linux	/@/boot/vmlinuz-5.4.0-21-generic root=UUID=3a171e1c-b83b-4e49-9dfc-91510ffcca3e ro recovery nomodeset rootflags=subvol=@ 
		echo	'Loading initial ramdisk ...'
		initrd	/@/boot/initrd.img-5.4.0-21-generic
	}
}

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

### BEGIN /etc/grub.d/10_linux_zfs ###
### END /etc/grub.d/10_linux_zfs ###

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

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

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Memory test (memtest86+)' {
	insmod part_gpt
	insmod btrfs
	set root='hd1,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  3a171e1c-b83b-4e49-9dfc-91510ffcca3e
	else
	  search --no-floppy --fs-uuid --set=root 3a171e1c-b83b-4e49-9dfc-91510ffcca3e
	fi
	knetbsd	/@/boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
	insmod part_gpt
	insmod btrfs
	set root='hd1,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  3a171e1c-b83b-4e49-9dfc-91510ffcca3e
	else
	  search --no-floppy --fs-uuid --set=root 3a171e1c-b83b-4e49-9dfc-91510ffcca3e
	fi
	linux16	/@/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### 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 ###
--------------------------------------------------------------------------------

=============================== sdb2/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/sdb2 during installation
UUID=3a171e1c-b83b-4e49-9dfc-91510ffcca3e /               btrfs   defaults,subvol=@ 0       1
# /home was on /dev/sda1 during installation
UUID=d1b491f4-e1f4-4ebb-8013-ed7d6ec83e53 /home           btrfs   defaults,subvol=@home 0       2
/swapfile                                 none            swap    sw              0       0
--------------------------------------------------------------------------------

=================== sdb2: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)

   0.257347107 = 0.276324352    boot/grub/grub.cfg                             1
   2.389827728 = 2.566057984    boot/grub/i386-pc/core.img                     1
   7.892776489 = 8.474804224    boot/vmlinuz                                   1
   7.892776489 = 8.474804224    boot/vmlinuz-5.4.0-21-generic                  1
   7.892776489 = 8.474804224    boot/vmlinuz.old                               1
   7.296875000 = 7.834959872    boot/initrd.img                                2
   7.296875000 = 7.834959872    boot/initrd.img-5.4.0-21-generic               2
   7.296875000 = 7.834959872    boot/initrd.img.old                            2

=============================== StdErr Messages: ===============================

cat: write error: Broken pipe

ADDITIONAL INFORMATION:

=================== log of boot-info 20200412_1931 ===================
boot-info version : 4ppa82
boot-sav version : 4ppa82
boot-sav-extra version : 4ppa82
glade2script version : 3.2.4~ppa7
boot-info is executed in installed-session (Ubuntu Focal Fossa (development branch), focal, Ubuntu, x86_64)
CPU op-mode(s):                  32-bit, 64-bit
Address sizes:                   39 bits physical, 48 bits virtual
BOOT_IMAGE=/@/boot/vmlinuz-5.4.0-21-generic root=UUID=3a171e1c-b83b-4e49-9dfc-91510ffcca3e ro rootflags=subvol=@ quiet splash vt.handoff=7

=================== os-prober:
/dev/sdb2:L'OS actuellement utilisé - Ubuntu Focal Fossa (development branch) CurrentSession:linux

=================== blkid:
/dev/sda1: UUID="d1b491f4-e1f4-4ebb-8013-ed7d6ec83e53" UUID_SUB="80127b02-d5cc-4c68-b5d6-18d4efeea3d2" TYPE="btrfs" PARTUUID="94df7e57-2d68-4b09-9081-bc05749b3061"
/dev/sdb2: UUID="3a171e1c-b83b-4e49-9dfc-91510ffcca3e" UUID_SUB="871251d2-6075-4fb8-b672-ecfdbe324cf2" TYPE="btrfs" PARTUUID="bc9d0367-02a7-4c4c-8469-642094279b7d"
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/loop5: TYPE="squashfs"
/dev/loop6: TYPE="squashfs"
/dev/loop7: TYPE="squashfs"
/dev/sdb1: PARTUUID="e48f0984-583d-448b-9429-94417b3bc7d4"


1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.

Linux not detected by os-prober on sdb1. Veuillez indiquer ce message à boot.repair@gmail.com

=================== /etc/grub.d/ :
drwxr-xr-x 1 root root     242 avril 12 15:34 grub.d
total 128
-rwxr-xr-x 1 root root 10627 mars  11 17:46 00_header
-rwxr-xr-x 1 root root  6258 mars  11 17:46 05_debian_theme
-rwxr-xr-x 1 root root 17123 mars  11 17:46 10_linux
-rwxr-xr-x 1 root root 40052 avril  9 12:51 10_linux_zfs
-rwxr-xr-x 1 root root 12894 mars  11 17:46 20_linux_xen
-rwxr-xr-x 1 root root  1992 févr. 14 00:09 20_memtest86+
-rwxr-xr-x 1 root root 12059 mars  11 17:46 30_os-prober
-rwxr-xr-x 1 root root  1424 mars  11 17:46 30_uefi-firmware
-rwxr-xr-x 1 root root   214 mars  11 17:46 40_custom
-rwxr-xr-x 1 root root   216 mars  11 17:46 41_custom
-rw-r--r-- 1 root root   483 mars  11 17:46 README




=================== /etc/default/grub :

# 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=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
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=640x480

# 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"




=================== /etc/grub.d/ :
drwxr-xr-x 1 root root     242 avril 12 15:34 grub.d
total 128
-rwxr-xr-x 1 root root 10627 mars  11 17:46 00_header
-rwxr-xr-x 1 root root  6258 mars  11 17:46 05_debian_theme
-rwxr-xr-x 1 root root 17123 mars  11 17:46 10_linux
-rwxr-xr-x 1 root root 40052 avril  9 12:51 10_linux_zfs
-rwxr-xr-x 1 root root 12894 mars  11 17:46 20_linux_xen
-rwxr-xr-x 1 root root  1992 févr. 14 00:09 20_memtest86+
-rwxr-xr-x 1 root root 12059 mars  11 17:46 30_os-prober
-rwxr-xr-x 1 root root  1424 mars  11 17:46 30_uefi-firmware
-rwxr-xr-x 1 root root   214 mars  11 17:46 40_custom
-rwxr-xr-x 1 root root   216 mars  11 17:46 41_custom
-rw-r--r-- 1 root root   483 mars  11 17:46 README




=================== /etc/default/grub :

# 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=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
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=640x480

# 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"




=================== UEFI/Legacy mode:
This installed-session is not in EFI-mode.
SecureBoot disabled.


=================== PARTITIONS & DISKS:
sdb2	: sdb,	not-sepboot,	grubenv-ok	grub2,	grub-pc ,	update-grub,	64,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	grub-install,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	farbios,	notbiosboot, .
sda1	: sda,	maybesepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	notbiosboot, /home.
sdb1	: sdb,	not-sepboot,	grubenv-ok	grub2,	grub-pc ,	update-grub,	64,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	grub-install,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	not-far,	is-biosboot, .

sdb	: GPT,	BIOS_boot,	has-no-EFIpart, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes
sda	: GPT,	no-BIOS_boot,	has-no-EFIpart, 	not-usb,	not-mmc, no-os,	2048 sectors * 512 bytes


=================== parted -lm:

BYT;
/dev/sda:1000GB:scsi:512:4096:gpt:ATA WDC WD10SPZX-21Z:;
1:1049kB:1000GB:1000GB:btrfs::;

BYT;
/dev/sdb:128GB:scsi:512:512:gpt:ATA KINGSTON RBUSNS8:;
1:1049kB:250MB:249MB:::bios_grub;
2:250MB:128GB:128GB:btrfs::;

=================== lsblk:
KNAME TYPE FSTYPE     SIZE LABEL
loop0 loop squashfs   9,1M
loop1 loop squashfs  93,8M
loop2 loop squashfs 221,4M
loop3 loop squashfs  47,8M
loop4 loop squashfs  48,3M
loop5 loop squashfs    55M
loop6 loop squashfs  57,3M
loop7 loop squashfs 160,2M
sda   disk          931,5G
sda1  part btrfs    931,5G
sdb   disk          119,2G
sdb1  part            237M
sdb2  part btrfs      119G

KNAME ROTA RO RM STATE   MOUNTPOINT
loop0    0  1  0         /snap/canonical-livepatch/95
loop1    0  1  0         /snap/core/8935
loop2    0  1  0         /snap/gnome-3-34-1804/21
loop3    0  1  0         /snap/snap-store/336
loop4    0  1  0         /snap/gtk-common-themes/1474
loop5    0  1  0         /snap/core18/1705
loop6    0  1  0         /snap/discord/109
loop7    0  1  0         /snap/gnome-3-28-1804/116
sda      1  0  0 running
sda1     1  0  0         /home
sdb      0  0  0 running
sdb1     0  0  0
sdb2     0  0  0         /


=================== mount:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,noexec,relatime,size=2952300k,nr_inodes=738075,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=596160k,mode=755)
/dev/sdb2 on / type btrfs (rw,relatime,ssd,space_cache,subvolid=256,subvol=/@)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
none on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=17470)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
/var/lib/snapd/snaps/core_8935.snap on /snap/core/8935 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-34-1804_21.snap on /snap/gnome-3-34-1804/21 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/canonical-livepatch_95.snap on /snap/canonical-livepatch/95 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/snap-store_336.snap on /snap/snap-store/336 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gtk-common-themes_1474.snap on /snap/gtk-common-themes/1474 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core18_1705.snap on /snap/core18/1705 type squashfs (ro,nodev,relatime,x-gdu.hide)
/dev/sda1 on /home type btrfs (rw,relatime,space_cache,subvolid=256,subvol=/@home)
tmpfs on /run/snapd/ns type tmpfs (rw,nosuid,nodev,noexec,relatime,size=596160k,mode=755)
nsfs on /run/snapd/ns/canonical-livepatch.mnt type nsfs (rw)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=596156k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/fuse on /run/user/1000/doc type fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
nsfs on /run/snapd/ns/snap-store.mnt type nsfs (rw)
/var/lib/snapd/snaps/discord_109.snap on /snap/discord/109 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-28-1804_116.snap on /snap/gnome-3-28-1804/116 type squashfs (ro,nodev,relatime,x-gdu.hide)
nsfs on /run/snapd/ns/discord.mnt type nsfs (rw)


=================== ls:
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity mq power queue range removable ro sda1 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity mq power queue range removable ro sdb1 sdb2 size slaves stat subsystem trace uevent
/dev (filtered):  autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 ecryptfs fb0 fd full fuse gpiochip0 hidraw0 hidraw1 hidraw2 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 initctl input kmsg kvm lightnvm log mapper mcelog media0 mei0 mem mqueue net null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sdb sdb1 sdb2 sg0 sg1 shm snapshot snd stderr stdin stdout tpm0 tpmrm0 udmabuf uhid uinput urandom usb userio v4l vfio vga_arbiter vhci vhost-net vhost-vsock video0 video1 zero zfs
ls /dev/mapper:  control

=================== df -Th:

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  2.9G     0  2.9G   0% /dev
tmpfs          tmpfs     583M  2.0M  581M   1% /run
/dev/sdb2      btrfs     120G  7.3G  111G   7% /
tmpfs          tmpfs     2.9G  152M  2.7G   6% /dev/shm
tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs          tmpfs     2.9G     0  2.9G   0% /sys/fs/cgroup
/dev/loop1     squashfs   94M   94M     0 100% /snap/core/8935
/dev/loop2     squashfs  222M  222M     0 100% /snap/gnome-3-34-1804/21
/dev/loop0     squashfs  9.2M  9.2M     0 100% /snap/canonical-livepatch/95
/dev/loop3     squashfs   48M   48M     0 100% /snap/snap-store/336
/dev/loop4     squashfs   49M   49M     0 100% /snap/gtk-common-themes/1474
/dev/loop5     squashfs   55M   55M     0 100% /snap/core18/1705
/dev/sda1      btrfs     932G  466M  930G   1% /home
tmpfs          tmpfs     583M   76K  583M   1% /run/user/1000
/dev/loop6     squashfs   58M   58M     0 100% /snap/discord/109
/dev/loop7     squashfs  161M  161M     0 100% /snap/gnome-3-28-1804/116

=================== fdisk -l:
Disk /dev/loop0: 9.7 MiB, 9510912 bytes, 18576 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop1: 93.8 MiB, 98336768 bytes, 192064 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop2: 221.4 MiB, 232148992 bytes, 453416 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop3: 47.82 MiB, 50126848 bytes, 97904 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop4: 48.3 MiB, 50642944 bytes, 98912 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop5: 54.97 MiB, 57614336 bytes, 112528 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop6: 57.32 MiB, 60096512 bytes, 117376 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop7: 160.16 MiB, 167931904 bytes, 327992 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WD10SPZX-21Z
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 2A7709A6-25A8-4313-8270-BD5966AC1E4B

Device     Start        End    Sectors   Size Type
/dev/sda1   2048 1953523711 1953521664 931.5G Linux filesystem


Disk /dev/sdb: 119.25 GiB, 128035676160 bytes, 250069680 sectors
Disk model: KINGSTON RBUSNS8
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 9AC65ECD-07A9-4582-906F-9F2C10E4F977

Device      Start       End   Sectors  Size Type
/dev/sdb1    2048    487423    485376  237M BIOS boot
/dev/sdb2  487424 250068991 249581568  119G Linux filesystem




=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub2 of sdb2 into the MBRs of all disks (except live-disks and removable disks without OS).
Additional repair would be performed: unhide-bootmenu-10s


=================== Final advice in case of suggested repair
N'oubliez pas de régler votre BIOS pour qu'il amorce sur le disque sdb (ATA KINGSTON RBUSNS8) !


=================== User settings
The settings chosen by the user will not act on the boot.




gawk  packages needed

En ligne