Contenu | Rechercher | Menus

Annonce

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 30/08/2022, à 12:59

boutou49

Mtd device must be supplied (device name is empty)

Bonjour,

j'ai une alarme avec mon boot : voir le boot-info ici

J'ai démarré avec une live-usb, j'ai installé boot-repair dessus comme indiqué ici : Installer Boot-Repair depuis une session live (DVD ou liveUSB) de Ubuntu

Mais je dois faire quelque chose de  travers car je n'arrive pas à réparer le boot.

Je suis sous Xubuntu 22.04.1 avec Boot UEFI.

Merci pour votre aide.

Dernière modification par boutou49 (Le 25/09/2022, à 09:06)


Sous Ubuntu depuis Hardy Heron et Xubuntu depuis Xenial Xerus

Hors ligne

#2 Le 30/08/2022, à 13:22

iznobe

Re : Mtd device must be supplied (device name is empty)

bonjour , le rapport en clair afin qu ' il ne disparaisse pas :

boot-info-4ppa200                                              [20220830_1249]

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

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (,msdos1)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/BOOT/bkpbootx64.efi /efi/BOOT/bootx64.efi 
                       /efi/BOOT/fbx64.efi /efi/BOOT/mmx64.efi 
                       /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi 
                       /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg

sda2: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info: 

sda5: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 22.04.1 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub


================================ 1 OS detected =================================

OS#1:   L'OS actuellement utilisé - Ubuntu 22.04.1 LTS CurrentSession on sda5

================================ Host/Hardware =================================

CPU architecture: 64-bit
Video: Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller from Intel Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.15.0-46-generic root=UUID=ee4c3044-932b-4569-9fab-fc79d418dbcb ro quiet splash vt.handoff=7
df -Th / : /dev/sda5        ext4   439G    276G  141G  67% /

===================================== UEFI =====================================

BIOS/UEFI firmware: 1.05.08(5.11) from American Megatrends Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot disabled - SecureBoot disabled
Platform is in Setup Mode - Veuillez indiquer ce message à boot.repair@gmail.com.
BootCurrent: 0001
Timeout: 6 seconds
BootOrder: 0001,0005,0000
Boot0000* Windows Boot Manager	VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...e................
Boot0001* ubuntu	HD(1,MBR,0xeca54484,0x800,0x100000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0005* ubuntu	HD(1,MBR,0xeca54484,0x800,0x100000)/File(\EFI\UBUNTU\GRUBX64.EFI)..BO


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

Disks info: ____________________________________________________________________

sda	: notGPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	no-wind,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda5	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios
sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far

Partitions info (2/3): _________________________________________________________

sda5	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sda5	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sda1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk sda: 447.13 GiB, 480103981056 bytes, 937703088 sectors
Disk identifier: 0xeca54484
      Boot   Start       End   Sectors   Size Id Type
sda1  *       2048   1050623   1048576   512M ef EFI (FAT-12/16/32)
sda2       1052670 937701375 936648706 446.6G  5 Extended
sda5       1052672 937701375 936648704 446.6G 83 Linux

parted -lm (filtered): _________________________________________________________

sda:480GB:scsi:512:512:msdos:ATA CT480BX500SSD1:;
1:1049kB:538MB:537MB:fat32::boot, esp;
2:539MB:480GB:480GB:::;
5:539MB:480GB:480GB:ext4::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL PARTLABEL
sda                                                                                             
├─sda1 vfat     2C11-1331                            eca54484-01                                
├─sda2                                               eca54484-02                                
└─sda5 ext4     ee4c3044-932b-4569-9fab-fc79d418dbcb eca54484-05                                

Mount points (filtered): _______________________________________________________

            Avail Use% Mounted on
/dev/sda5   140.8G  63% /

Mount options (filtered): ______________________________________________________

/dev/sda5   ext4            rw,relatime,errors=remount-ro

===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================

search.fs_uuid ee4c3044-932b-4569-9fab-fc79d418dbcb root hd0,msdos5 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

====================== sda5/boot/grub/grub.cfg (filtered) ======================

Ubuntu   ee4c3044-932b-4569-9fab-fc79d418dbcb
Ubuntu, with Linux 5.15.0-46-generic   ee4c3044-932b-4569-9fab-fc79d418dbcb
Ubuntu, with Linux 5.15.0-43-generic   ee4c3044-932b-4569-9fab-fc79d418dbcb
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

========================== sda5/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=ee4c3044-932b-4569-9fab-fc79d418dbcb /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=2C11-1331  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

======================= sda5/etc/default/grub (filtered) =======================

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false

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

           GiB - GB             File                                 Fragment(s)
 364,767055511 = 391,665643520  boot/grub/grub.cfg                             1
 396,739253998 = 425,995530240  boot/vmlinuz                                   1
 176,431140900 = 189,441495040  boot/vmlinuz-5.15.0-43-generic                 2
 396,739253998 = 425,995530240  boot/vmlinuz-5.15.0-46-generic                 1
 176,431140900 = 189,441495040  boot/vmlinuz.old                               2
 374,748405457 = 402,383036416  boot/initrd.img                                1
 395,052223206 = 424,184094720  boot/initrd.img-5.15.0-43-generic              1
 374,748405457 = 402,383036416  boot/initrd.img-5.15.0-46-generic              1
 395,052223206 = 424,184094720  boot/initrd.img.old                            1

===================== sda5: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 18683 avr  15 23:50 10_linux
-rwxr-xr-x 1 root root 43031 avr  15 23:50 10_linux_zfs
-rwxr-xr-x 1 root root 14180 avr  15 23:50 20_linux_xen
-rwxr-xr-x 1 root root 13369 avr  15 23:50 30_os-prober
-rwxr-xr-x 1 root root  1372 avr  15 23:50 30_uefi-firmware
-rwxr-xr-x 1 root root   700 fév 19  2022 35_fwupd
-rwxr-xr-x 1 root root   214 avr  15 23:50 40_custom
-rwxr-xr-x 1 root root   215 avr  15 23:50 41_custom

=========================== sda5/etc/grub.d/35_fwupd ===========================

#! /bin/sh
# SPDX-License-Identifier: LGPL-2.1+
set -e
[ -d ${pkgdatadir:?} ]
# shellcheck source=/dev/null
. "$pkgdatadir/grub-mkconfig_lib"
if [ -f /var/lib/fwupd/uefi_capsule.conf ] &&
   ls /sys/firmware/efi/efivars/fwupd-*-0abba7dc-e516-4167-bbf5-4d9d1c739416 1>/dev/null 2>&1; then
      . /var/lib/fwupd/uefi_capsule.conf
      if [ "${EFI_PATH}" != "" ] && [ "${ESP}" != "" ]; then
      echo "Adding Linux Firmware Updater entry" >&2
cat << EOF
menuentry 'Linux Firmware Updater' \$menuentry_id_option 'fwupd' {
EOF
      ${grub_probe:?}
      prepare_grub_to_access_device '`${grub_probe} --target=device \${ESP}` | sed -e "s/^/\t/"'
cat << EOF
	chainloader ${EFI_PATH}
}
EOF
      fi
fi



Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi of
sda5,
using the following options:  sda1/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups

Blockers in case of suggested repair: __________________________________________

 Please use this software in a live-session (live-CD or live-USB). This will enable this feature.

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your UEFI firmware boot on the L'OS actuellement utilisé - Ubuntu 22.04.1 LTS CurrentSession entry (sda1/efi/****/grub****.efi (**** will be updated in the final message) file) !

retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

En ligne

#3 Le 30/08/2022, à 13:27

boutou49

Re : Mtd device must be supplied (device name is empty)

Bonjour,
pour mon info, j'aurais dû le mettre comme ça dans mon 1° post ?


Sous Ubuntu depuis Hardy Heron et Xubuntu depuis Xenial Xerus

Hors ligne

#4 Le 30/08/2022, à 13:32

iznobe

Re : Mtd device must be supplied (device name is empty)

tu aurais pu , mais ce n' est pas une obligation , car d' une part il faut un compte ubuntu pour avoir acces au rapport et ce n' est pas possible directement , enfin si , mais il faut etre habitué et connaitre boot-info , ce n' est pas expliqué dans la doc comment faire .

Donc aucun probleme , tout va bien big_smile


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

En ligne

#5 Le 30/08/2022, à 13:40

boutou49

Re : Mtd device must be supplied (device name is empty)

Ok c'est gentil.
Mais si ça facilite la vie, ben je le ferais la prochaine fois tongue

Dernière modification par boutou49 (Le 30/08/2022, à 13:42)


Sous Ubuntu depuis Hardy Heron et Xubuntu depuis Xenial Xerus

Hors ligne

#6 Le 30/08/2022, à 18:51

geole

Re : Mtd device must be supplied (device name is empty)

Bonjour

boutou49 a écrit :

Bonjour,
j'ai une alarme avec mon boot : voir le boot-info ici

Merci de préciser quelle est cette alarme. En effet, je ne peux pas la trouver en utilisant le boot-info.

boutou49 a écrit :

Mais je dois faire quelque chose de  travers car je n'arrive pas à réparer le boot.

================================ 1 OS detected =================================
OS#1:   L'OS actuellement utilisé - Ubuntu 22.04.1 LTS CurrentSession on sda5

Cette phrase montre que le boot n'a pas besoin d'être réparé puisque le boot a bien eu lieu.

A tout hasard, donne la liste des erreurs de démarrage

journalctl --no-pager -b -p err

Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#7 Le 30/08/2022, à 19:05

boutou49

Re : Mtd device must be supplied (device name is empty)

Bonjour geole,

c'est dans le boot-info, à la fin que j'ai trouvé :

Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi of
sda5,
using the following options:  sda1/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups

Blockers in case of suggested repair: __________________________________________

 Please use this software in a live-session (live-CD or live-USB). This will enable this feature.

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your UEFI firmware boot on the L'OS actuellement utilisé - Ubuntu 22.04.1 LTS CurrentSession entry (sda1/efi/****/grub****.efi (**** will be updated in the final message) file) !

Donc j'ai essayé le boot-repair mais sans succès.


Retour de cmde demandée :

etienne@etienne:~$ journalctl --no-pager -b -p err
aoû 30 14:50:55 etienne kernel: mtd device must be supplied (device name is empty)
aoû 30 14:50:55 etienne systemd-udevd[295]: /etc/udev/rules.d/60-brother-brscan4-libsane-type1.rules:9 Invalid key 'SYSFS'
aoû 30 14:50:55 etienne systemd-udevd[295]: /etc/udev/rules.d/60-brother-libsane-type1-inst.rules:14 Invalid key 'SYSFS'
aoû 30 14:50:59 etienne kernel: mtd device must be supplied (device name is empty)
aoû 30 14:50:59 etienne kernel: mtd device must be supplied (device name is empty)
aoû 30 14:50:59 etienne kernel: Bluetooth: hci0: Reading supported features failed (-16)
aoû 30 14:55:00 etienne lightdm[949]: gkr-pam: unable to locate daemon control file
aoû 30 17:14:37 etienne systemd[1]: Failed to start Refresh fwupd metadata and update motd.
aoû 30 18:09:42 etienne sudo[8250]: pam_unix(sudo:auth): conversation failed
aoû 30 18:09:42 etienne sudo[8250]: pam_unix(sudo:auth): auth could not identify password for [etienne]
aoû 30 18:09:42 etienne sudo[8251]: pam_unix(sudo:auth): conversation failed
aoû 30 18:09:42 etienne sudo[8251]: pam_unix(sudo:auth): auth could not identify password for [etienne]
aoû 30 18:09:51 etienne sudo[8296]: pam_unix(sudo:auth): conversation failed
aoû 30 18:09:51 etienne sudo[8296]: pam_unix(sudo:auth): auth could not identify password for [etienne]
aoû 30 18:09:51 etienne sudo[8297]: pam_unix(sudo:auth): conversation failed
aoû 30 18:09:51 etienne sudo[8297]: pam_unix(sudo:auth): auth could not identify password for [etienne]
etienne@etienne:~$ 

Dernière modification par boutou49 (Le 30/08/2022, à 19:07)


Sous Ubuntu depuis Hardy Heron et Xubuntu depuis Xenial Xerus

Hors ligne

#8 Le 30/08/2022, à 19:18

geole

Re : Mtd device must be supplied (device name is empty)

Donc c'était une alarme vue dans le boot-info....

En bon français,
- Il indique la réparation automatique qu'il ferait si on demandait de réparer
- Il indique qu'il faudrait utiliser le support d'installation
- Il indique qu'il faudrait probablement   positionner   la structure EFI
On voit d'ailleurs que c'est déjà correct

===================================== UEFI =====================================
BootCurrent: 0001
BootOrder: 0001,0005,0000
Boot0000* Windows Boot Manager	VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...e................
Boot0001* ubuntu	HD(1,MBR,0xeca54484,0x800,0x100000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0005* ubuntu	HD(1,MBR,0xeca54484,0x800,0x100000)/File(\EFI\UBUNTU\GRUBX64.EFI)..BO

Commme windows n'existe plus, tu peux supprimer son entrée avec cette commande

sudo efibootmgr -B -b 0

Rien de bien important dans les erreurs listées,
Si ton imprimante ne fonctionne pas, pense à ces lignes

aoû 30 14:50:55 etienne systemd-udevd[295]: /etc/udev/rules.d/60-brother-brscan4-libsane-type1.rules:9 Invalid key 'SYSFS'
aoû 30 14:50:55 etienne systemd-udevd[295]: /etc/udev/rules.d/60-brother-libsane-type1-inst.rules:14 Invalid key 'SYSFS'

Dernière modification par geole (Le 30/08/2022, à 19:19)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#9 Le 30/08/2022, à 19:33

boutou49

Re : Mtd device must be supplied (device name is empty)

Oui et non : je l'ai d'abord vu pendant le boot, malheureusement j'ai pas réussi à noter mais ça parle d'uefi et de sda5.

Comme dans le boot-info il y a : The default repair of the Boot-Repair utility would reinstall the grub-efi of sda5, J'en ai conclu qu'il y avait un problème. J'ai installé boot-repair et son analyse dit qu'il faut réparer ça.
J'ai utilisé un live-usb et avec boot-repair : j'ai eu la même info. Mais boot-repair n'a rien changé.

Window$ n'a jamais mis ces sales pattes dans mon laptop. Et plus jamais je n'utiliserai cette chose immonde.
Je ne branche l'imprimante que quand j'en ai besoin donc effectivement je ne m'inquiète pas.

Le soucis c'est le boot uefi.

Dernière modification par boutou49 (Le 30/08/2022, à 19:34)


Sous Ubuntu depuis Hardy Heron et Xubuntu depuis Xenial Xerus

Hors ligne

#10 Le 30/08/2022, à 19:42

geole

Re : Mtd device must be supplied (device name is empty)

Je t'ai dit que     boot-info dit ce qu'il ferait s'il y avait à réparer. Il ne dit jamais qu'il faut réparer car telle chose est  incorrecte.
C'est pour cela qu'il faut savoir  interpréter s'il y a besoin de réparer. Si par accident c'est réparable automatiquement, il est bon de savoir ce qu'il ferait automatiquement. Car cette partie automatique est souvent adaptée   au risque possible   par  exemple si tu avais détruit SDA1...

D'autre part  ""Boot0000* Windows Boot Manager prouve que ton ordinateur n'est pas neuf

Dernière modification par geole (Le 30/08/2022, à 19:44)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#11 Le 30/08/2022, à 19:49

boutou49

Re : Mtd device must be supplied (device name is empty)

M'engueules pas. Je suis pas un informaticien.
je fais une nouvelle installation de xubuntu 22.04.1 et sans avoir touché à rien j'ai ce défaut qui apparaît pendant le boot.
Donc je regarde et je vois ce que je peux faire.
Dans  les règles du forum c'est indiqué qu'il vaut mieux avoir fait quelque manip et recherche avant de demander de l'aide.
Et là, tu me dis le contraire : Dissonance cognitive


Sous Ubuntu depuis Hardy Heron et Xubuntu depuis Xenial Xerus

Hors ligne

#12 Le 30/08/2022, à 19:54

geole

Re : Mtd device must be supplied (device name is empty)

boutou49 a écrit :

je fais une nouvelle installation de xubuntu 22.04.1 et sans avoir touché à rien j'ai ce défaut qui apparaît pendant le boot.

Je dois avoir très mal compris.     Merci de décrire le défaut  sans te référer à boot-info.


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#13 Le 31/08/2022, à 09:32

boutou49

Re : Mtd device must be supplied (device name is empty)

Oui tu as raison, je me suis mal expliqué, excuses moi.

J'ai fait une installation "complète" de Xubuntu 22.04.1, Cet à dire une installation à partir de zéro (pas une mise à niveau).
Et j'ai cette information pendant le démarrage, que je n'arrive pas à noter ça reste pas assez longtemps à l'écran, à propos de grub et sda5.
Grub qu'il faudrait déplacer dans sda5.
C'est pour ça que j'ai utilisé boot-info pour avoir plus d'info :

boot-info-4ppa200                                              [20220830_1249]

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

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (,msdos1)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/BOOT/bkpbootx64.efi /efi/BOOT/bootx64.efi 
                       /efi/BOOT/fbx64.efi /efi/BOOT/mmx64.efi 
                       /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi 
                       /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg

sda2: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info: 

sda5: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 22.04.1 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub


================================ 1 OS detected =================================

OS#1:   L'OS actuellement utilisé - Ubuntu 22.04.1 LTS CurrentSession on sda5

================================ Host/Hardware =================================

CPU architecture: 64-bit
Video: Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller from Intel Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.15.0-46-generic root=UUID=ee4c3044-932b-4569-9fab-fc79d418dbcb ro quiet splash vt.handoff=7
df -Th / : /dev/sda5        ext4   439G    276G  141G  67% /

===================================== UEFI =====================================

BIOS/UEFI firmware: 1.05.08(5.11) from American Megatrends Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot disabled - SecureBoot disabled
Platform is in Setup Mode - Veuillez indiquer ce message à boot.repair@gmail.com.
BootCurrent: 0001
Timeout: 6 seconds
BootOrder: 0001,0005,0000
Boot0000* Windows Boot Manager	VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...e................
Boot0001* ubuntu	HD(1,MBR,0xeca54484,0x800,0x100000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0005* ubuntu	HD(1,MBR,0xeca54484,0x800,0x100000)/File(\EFI\UBUNTU\GRUBX64.EFI)..BO


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

Disks info: ____________________________________________________________________

sda	: notGPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	no-wind,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda5	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios
sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far

Partitions info (2/3): _________________________________________________________

sda5	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sda5	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sda1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk sda: 447.13 GiB, 480103981056 bytes, 937703088 sectors
Disk identifier: 0xeca54484
      Boot   Start       End   Sectors   Size Id Type
sda1  *       2048   1050623   1048576   512M ef EFI (FAT-12/16/32)
sda2       1052670 937701375 936648706 446.6G  5 Extended
sda5       1052672 937701375 936648704 446.6G 83 Linux

parted -lm (filtered): _________________________________________________________

sda:480GB:scsi:512:512:msdos:ATA CT480BX500SSD1:;
1:1049kB:538MB:537MB:fat32::boot, esp;
2:539MB:480GB:480GB:::;
5:539MB:480GB:480GB:ext4::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL PARTLABEL
sda                                                                                             
├─sda1 vfat     2C11-1331                            eca54484-01                                
├─sda2                                               eca54484-02                                
└─sda5 ext4     ee4c3044-932b-4569-9fab-fc79d418dbcb eca54484-05                                

Mount points (filtered): _______________________________________________________

            Avail Use% Mounted on
/dev/sda5   140.8G  63% /

Mount options (filtered): ______________________________________________________

/dev/sda5   ext4            rw,relatime,errors=remount-ro

===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================

search.fs_uuid ee4c3044-932b-4569-9fab-fc79d418dbcb root hd0,msdos5 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

====================== sda5/boot/grub/grub.cfg (filtered) ======================

Ubuntu   ee4c3044-932b-4569-9fab-fc79d418dbcb
Ubuntu, with Linux 5.15.0-46-generic   ee4c3044-932b-4569-9fab-fc79d418dbcb
Ubuntu, with Linux 5.15.0-43-generic   ee4c3044-932b-4569-9fab-fc79d418dbcb
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

========================== sda5/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=ee4c3044-932b-4569-9fab-fc79d418dbcb /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=2C11-1331  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

======================= sda5/etc/default/grub (filtered) =======================

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false

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

           GiB - GB             File                                 Fragment(s)
 364,767055511 = 391,665643520  boot/grub/grub.cfg                             1
 396,739253998 = 425,995530240  boot/vmlinuz                                   1
 176,431140900 = 189,441495040  boot/vmlinuz-5.15.0-43-generic                 2
 396,739253998 = 425,995530240  boot/vmlinuz-5.15.0-46-generic                 1
 176,431140900 = 189,441495040  boot/vmlinuz.old                               2
 374,748405457 = 402,383036416  boot/initrd.img                                1
 395,052223206 = 424,184094720  boot/initrd.img-5.15.0-43-generic              1
 374,748405457 = 402,383036416  boot/initrd.img-5.15.0-46-generic              1
 395,052223206 = 424,184094720  boot/initrd.img.old                            1

===================== sda5: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 18683 avr  15 23:50 10_linux
-rwxr-xr-x 1 root root 43031 avr  15 23:50 10_linux_zfs
-rwxr-xr-x 1 root root 14180 avr  15 23:50 20_linux_xen
-rwxr-xr-x 1 root root 13369 avr  15 23:50 30_os-prober
-rwxr-xr-x 1 root root  1372 avr  15 23:50 30_uefi-firmware
-rwxr-xr-x 1 root root   700 fév 19  2022 35_fwupd
-rwxr-xr-x 1 root root   214 avr  15 23:50 40_custom
-rwxr-xr-x 1 root root   215 avr  15 23:50 41_custom

=========================== sda5/etc/grub.d/35_fwupd ===========================

#! /bin/sh
# SPDX-License-Identifier: LGPL-2.1+
set -e
[ -d ${pkgdatadir:?} ]
# shellcheck source=/dev/null
. "$pkgdatadir/grub-mkconfig_lib"
if [ -f /var/lib/fwupd/uefi_capsule.conf ] &&
   ls /sys/firmware/efi/efivars/fwupd-*-0abba7dc-e516-4167-bbf5-4d9d1c739416 1>/dev/null 2>&1; then
      . /var/lib/fwupd/uefi_capsule.conf
      if [ "${EFI_PATH}" != "" ] && [ "${ESP}" != "" ]; then
      echo "Adding Linux Firmware Updater entry" >&2
cat << EOF
menuentry 'Linux Firmware Updater' \$menuentry_id_option 'fwupd' {
EOF
      ${grub_probe:?}
      prepare_grub_to_access_device '`${grub_probe} --target=device \${ESP}` | sed -e "s/^/\t/"'
cat << EOF
	chainloader ${EFI_PATH}
}
EOF
      fi
fi



Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi of
sda5,
using the following options:  sda1/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups

Blockers in case of suggested repair: __________________________________________

 Please use this software in a live-session (live-CD or live-USB). This will enable this feature.

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your UEFI firmware boot on the L'OS actuellement utilisé - Ubuntu 22.04.1 LTS CurrentSession entry (sda1/efi/****/grub****.efi (**** will be updated in the final message) file) !

Comme il y a, à la fin,

Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi of
sda5,

j'ai utilisé la liveusb d'instal avec boot-repair dessus pour réparer.
Malheureusement ça ne change rien quand je fais la manip en liveusb.


Sous Ubuntu depuis Hardy Heron et Xubuntu depuis Xenial Xerus

Hors ligne

#14 Le 31/08/2022, à 09:58

geole

Re : Mtd device must be supplied (device name is empty)

boutou49 a écrit :

Retour de cmde demandée :

etienne@etienne:~$ journalctl --no-pager -b -p err
aoû 30 14:50:55 etienne kernel: mtd device must be supplied (device name is empty)
aoû 30 14:50:55 etienne systemd-udevd[295]: /etc/udev/rules.d/60-brother-brscan4-libsane-type1.rules:9 Invalid key 'SYSFS'
aoû 30 14:50:55 etienne systemd-udevd[295]: /etc/udev/rules.d/60-brother-libsane-type1-inst.rules:14 Invalid key 'SYSFS'
aoû 30 14:50:59 etienne kernel: mtd device must be supplied (device name is empty)
aoû 30 14:50:59 etienne kernel: mtd device must be supplied (device name is empty)
aoû 30 14:50:59 etienne kernel: Bluetooth: hci0: Reading supported features failed (-16)
aoû 30 14:55:00 etienne lightdm[949]: gkr-pam: unable to locate daemon control file
aoû 30 17:14:37 etienne systemd[1]: Failed to start Refresh fwupd metadata and update motd.
aoû 30 18:09:42 etienne sudo[8250]: pam_unix(sudo:auth): conversation failed
aoû 30 18:09:42 etienne sudo[8250]: pam_unix(sudo:auth): auth could not identify password for [etienne]
aoû 30 18:09:42 etienne sudo[8251]: pam_unix(sudo:auth): conversation failed
aoû 30 18:09:42 etienne sudo[8251]: pam_unix(sudo:auth): auth could not identify password for [etienne]
aoû 30 18:09:51 etienne sudo[8296]: pam_unix(sudo:auth): conversation failed
aoû 30 18:09:51 etienne sudo[8296]: pam_unix(sudo:auth): auth could not identify password for [etienne]
aoû 30 18:09:51 etienne sudo[8297]: pam_unix(sudo:auth): conversation failed
aoû 30 18:09:51 etienne sudo[8297]: pam_unix(sudo:auth): auth could not identify password for [etienne]

Cette commànde permet de lister toutes les erreurs rencontrées.
Refais-là au cas où cela aurait évolué.
Je n'avais rien trouvé d'inquiètant.
A priori, tu n'as pas détecté de mauvais fonctionnent. Alors ne touche à rien..
Nota. Au démarrage,  il signale que la partition  est en bon état ( clean) et qu'elle contient un certain nombre de fichiers, ainsi que quelques autres lignes d'informations.

Dernière modification par geole (Le 31/08/2022, à 10:00)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#15 Le 31/08/2022, à 10:06

boutou49

Re : Mtd device must be supplied (device name is empty)

Retour de la commande :

etienne@etienne:~$ journalctl --no-pager -b -p err
aoû 31 10:04:14 etienne kernel: mtd device must be supplied (device name is empty)
aoû 31 10:04:14 etienne systemd-udevd[291]: /etc/udev/rules.d/60-brother-brscan4-libsane-type1.rules:9 Invalid key 'SYSFS'
aoû 31 10:04:14 etienne systemd-udevd[291]: /etc/udev/rules.d/60-brother-libsane-type1-inst.rules:14 Invalid key 'SYSFS'
aoû 31 10:04:15 etienne kernel: mtd device must be supplied (device name is empty)
aoû 31 10:04:18 etienne kernel: mtd device must be supplied (device name is empty)
aoû 31 10:04:25 etienne hpfax[970]: [970]: error: Failed to create /var/spool/cups/tmp/.hplip
aoû 31 10:04:27 etienne udev-configure-printer[561]: no corresponding CUPS device found
aoû 31 10:04:36 etienne lightdm[950]: gkr-pam: unable to locate daemon control file
etienne@etienne:~$ 

Sous Ubuntu depuis Hardy Heron et Xubuntu depuis Xenial Xerus

Hors ligne

#16 Le 31/08/2022, à 10:10

geole

Re : Mtd device must be supplied (device name is empty)

Si l'imprimante fonctionne, tout va bien.


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#17 Le 31/08/2022, à 10:22

boutou49

Re : Mtd device must be supplied (device name is empty)

Bon ben c'est super.
Merci beaucoup et très bonne journée.
Je modifie le post n°1.


Sous Ubuntu depuis Hardy Heron et Xubuntu depuis Xenial Xerus

Hors ligne

#18 Le 25/09/2022, à 08:38

boutou49

Re : Mtd device must be supplied (device name is empty)

Il y a bien un bug avec ubuntu 22.04 :

À voir ici !


Sous Ubuntu depuis Hardy Heron et Xubuntu depuis Xenial Xerus

Hors ligne