En cours LMDE 7 pas de démarrage/boot

pastille
Messages : 166
Enregistré le : ven. 21 nov. 2025 07:56
Localisation : France

Re: LMDE 7 pas de démarrage/boot

Message par pastille »

Dernier message de la page précédente :

Bonjour

On oublie parfois qu'on a des fichiers qui prennent beaucoup de place dans la corbeille => penser à vider la corbeille.
… et dans ce royaume, ceux qui y voient un peu plus clair sont parfois très mal vus.
Portable : Thinkpad T450 | i5-5300U | 16GB | HD Graphics 5500 | Debian 13.7 & Mint 22.3 | Xfce
malosapo
Messages : 9
Enregistré le : dim. 29 nov. 2026 15:23

Re: LMDE 7 pas de démarrage/boot

Message par malosapo »

Bonjour, j'ai suivi tous vos conseils mais ça ne change rien (j'ai libéré de l'espace sur sda3). Je pense que cette info du boot info est le problème :
=> No boot loader is installed in the MBR of /dev/sda.

Il n'y a pas de lanceur (a-t'il pu se désinstaller pour une raison quelconque ?), je pense que Grub n'est plus installé ou est introuvable.
Avatar du membre
Jennatux
Messages : 3434
Enregistré le : mer. 1 nov. 2017 01:59

Re: LMDE 7 pas de démarrage/boot

Message par Jennatux »

Pour réinstaller grub depuis un live-usb, passe ces 3 commandes

Code : Tout sélectionner

sudo mount /dev/sda3 /mnt

Code : Tout sélectionner

sudo mount /dev/sda1 /mnt/boot/efi

Code : Tout sélectionner

sudo grub-install --root-directory=/mnt /dev/sda
Fujitsu : Ubuntu 26.04 - Xubuntu 26.04 - Ubuntu Cosmic 24.04
Clevo : Ubuntu 26.04 - Xubuntu et Lubuntu 26.04 - Linux Mint 22.3 Cinnamon et xfce

Avec partition data ..................... Partition data en Multiboot EFI

Une fraction de seconde..................................Animations
malosapo
Messages : 9
Enregistré le : dim. 29 nov. 2026 15:23

Re: LMDE 7 pas de démarrage/boot

Message par malosapo »

Merci, je viens de taper ces 3 lignes de commandes dans le terminal, voici le résultat :

mint@mint:~$ sudo mount /dev/sda3 /mnt
mint@mint:~$ sudo mount /dev/sda1 /mnt/boot/efi
mint@mint:~$ sudo grub-install --root-directory=/mnt /dev/sda
Installing for i386-pc platform.
grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
grub-install: warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
grub-install: error: will not proceed with blocklists.
mint@mint:~$
malosapo
Messages : 9
Enregistré le : dim. 29 nov. 2026 15:23

Re: LMDE 7 pas de démarrage/boot

Message par malosapo »

et effectivement, lorsque je démarre sur la clé live USB, juste après avoir sélectionné le choix de booter sur ma clé usb, je vois un bref instant un message du type " efi boot introuvable" (et juste après ça il démarre correctement en session live)
malosapo
Messages : 9
Enregistré le : dim. 29 nov. 2026 15:23

Re: LMDE 7 pas de démarrage/boot

Message par malosapo »

j'ai relancé un boot repair depuis live session, voici le résultat :


============================= Boot Repair Summary ==============================





modprobe: FATAL: Module efivars not found in directory /lib/modules/6.12.48+deb13-amd64
ls: cannot access '/sys/firmware/efi/vars': No such file or directory

Recommended repair: ____________________________________________________________

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


/boot removed in sda3/fstab
/boot/efi added in sda3/fstab
sda3/boot/efi not empty

Unhide GRUB boot menu in sda3/etc/default/grub
Fixed file rights of /mnt/etc/grub.d/00_header
Fixed file rights of /mnt/etc/grub.d/05_debian_theme
Fixed file rights of /mnt/etc/grub.d/10_linux
Fixed file rights of /mnt/etc/grub.d/20_linux_xen
Fixed file rights of /mnt/etc/grub.d/25_bli
Fixed file rights of /mnt/etc/grub.d/30_os-prober
Fixed file rights of /mnt/etc/grub.d/30_uefi-firmware
Fixed file rights of /mnt/etc/grub.d/35_fwupd
Fixed file rights of /mnt/etc/grub.d/40_custom
Fixed file rights of /mnt/etc/grub.d/41_custom

======================== Reinstall the grub-efi of sda3 ========================

chroot /mnt grub-install --version
grub-install (GRUB) 2.12-9+deb13u2
modprobe: FATAL: Module efivars not found in directory /lib/modules/6.12.48+deb13-amd64
chroot /mnt modprobe efivars

chroot /mnt efibootmgr -v before grub install
EFI variables are not supported on this system.
error trace:


chroot /mnt uname -r
6.12.48+deb13-amd64

chroot /mnt grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
grub-install: warning: EFI variables cannot be set on this system.
grub-install: warning: You will have to complete the GRUB setup manually.
Installation finished. No error reported.
Error: no grub*.efi generated for LMDE 7 (gigi). Please report this message to boot.repair@gmail.com

chroot /mnt efibootmgr -v after grub install
EFI variables are not supported on this system.
error trace:

Error: NVram is locked (Linuxmint not found in efibootmgr). Please report this message to boot.repair@gmail.com

chroot /mnt update-grub
Generating grub configuration file ...
Found theme: /boot/grub/themes/linuxmint/theme.txt
Found linux image: /boot/vmlinuz-6.12.117+deb13-amd64
Found initrd image: /boot/initrd.img-6.12.117+deb13-amd64
Found linux image: /boot/vmlinuz-6.12.116+deb13-amd64
Found initrd image: /boot/initrd.img-6.12.116+deb13-amd64
Found linux image: /boot/vmlinuz-6.12.48+deb13-amd64
Found initrd image: /boot/initrd.img-6.12.48+deb13-amd64
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Configuration file /etc/udev/udev.conf is marked world-writable. Please remove world writability permission bits. Proceeding anyway.
Configuration file /etc/udev/udev.conf is marked world-writable. Please remove world writability permission bits. Proceeding anyway.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
Configuration file /etc/udev/udev.conf is marked world-writable. Please remove world writability permission bits. Proceeding anyway.
Configuration file /etc/udev/udev.conf is marked world-writable. Please remove world writability permission bits. Proceeding anyway.
Adding boot menu entry for UEFI Firmware Settings ...

Unhide GRUB boot menu in sda3/boot/grub/grub.cfg

An error occurred during the repair.
Error: NVram is locked (Linuxmint not found in efibootmgr). Please report this message to boot.repair@gmail.com

Locked-NVram detected.


============================ Boot Info After Repair ============================

=> No boot loader is installed in the MBR of /dev/sda.

sda1: __________________________________________________________________________

File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:

sda2: __________________________________________________________________________

File system: swap
Boot sector type: -
Boot sector info:

sda3: __________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: LMDE 7 (gigi)
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub

sdb: ___________________________________________________________________________

File system: iso9660
Boot sector type: Unknown
Boot sector info:
Mounting failed: mount: /mnt/BootInfo/FD/sdb: fsconfig() failed: /dev/sdb: Can't open blockdev.
dmesg(1) may have more information after failed mount system call.


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

OS#1: LMDE 7 (gigi) on sda3

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

CPU architecture: 64-bit
Video: G98 [Quadro NVS 295] from NVIDIA Corporation
Live-session OS is Linuxmint 64-bit (LMDE 7 (gigi), gigi, x86_64)

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

BIOS/UEFI firmware: J51 v01.15(1.15) from Hewlett-Packard
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled - This system doesn't support Secure Boot.
BootCurrent: 0010
Timeout: 0 seconds
No BootOrder is set; firmware will attempt recovery
Boot000B* Linux Boot Manager HD(1,GPT,6fa9bc0d-a0ff-47ba-ad95-142cafc47819,0x40,0xf4240)/File(\EFI\goofiboot\goofibootx64.efi)
dp: 04 01 2a 00 01 00 00 00 40 00 00 00 00 00 00 00 40 42 0f 00 00 00 00 00 0d bc a9 6f ff a0 ba 47 ad 95 14 2c af c4 78 19 02 02 / 04 04 44 00 5c 00 45 00 46 00 49 00 5c 00 67 00 6f 00 6f 00 66 00 69 00 62 00 6f 00 6f 00 74 00 5c 00 67 00 6f 00 6f 00 66 00 69 00 62 00 6f 00 6f 00 74 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
Boot000C* Linux Boot Manager HD(1,GPT,6d93a45d-bfcb-4fd9-b569-fcfe666e7f42,0x40,0xf4240)/File(\EFI\goofiboot\goofibootx64.efi)
dp: 04 01 2a 00 01 00 00 00 40 00 00 00 00 00 00 00 40 42 0f 00 00 00 00 00 5d a4 93 6d cb bf d9 4f b5 69 fc fe 66 6e 7f 42 02 02 / 04 04 44 00 5c 00 45 00 46 00 49 00 5c 00 67 00 6f 00 6f 00 66 00 69 00 62 00 6f 00 6f 00 74 00 5c 00 67 00 6f 00 6f 00 66 00 69 00 62 00 6f 00 6f 00 74 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
Boot000D* Fedora HD(1,GPT,eb21ebe0-f905-4022-81be-8369e4cbb1b2,0x800,0x64000)/File(\EFI\FEDORA\shim.efi)
dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 40 06 00 00 00 00 00 e0 eb 21 eb 05 f9 22 40 81 be 83 69 e4 cb b1 b2 02 02 / 04 04 2e 00 5c 00 45 00 46 00 49 00 5c 00 46 00 45 00 44 00 4f 00 52 00 41 00 5c 00 73 00 68 00 69 00 6d 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
Boot000E* CentOS Linux HD(1,GPT,ad3b7092-5a74-4edb-85cf-8a0fb9f2408e,0x800,0x64000)/File(\EFI\centos\shim.efi)
dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 40 06 00 00 00 00 00 92 70 3b ad 74 5a db 4e 85 cf 8a 0f b9 f2 40 8e 02 02 / 04 04 2e 00 5c 00 45 00 46 00 49 00 5c 00 63 00 65 00 6e 00 74 00 6f 00 73 00 5c 00 73 00 68 00 69 00 6d 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00

3d1570896ff635db9c79049c0027d1d3 sda1/debian/fbx64.efi
60e477bc9a2244e715ad70c4760753bd sda1/debian/grubx64.efi
d0d4f6dd194d208349613c6bff4d4c5c sda1/debian/mmx64.efi
887305fc474435b937fb4d20f2c9e436 sda1/debian/shimx64.efi

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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

sda3 : 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): _________________________________________________________

sda3 : 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): _________________________________________________________

sda3 : not--sepboot, with-boot, fstab-has-goodBOOT, 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: 149.05 GiB, 160041885696 bytes, 312581808 sectors
Disk identifier: 4F859E0A-BA1B-429C-B6F2-1589CD2A955D
Start End Sectors Size Type
sda1 4096 589823 585728 286M EFI System
sda2 591872 17584127 16992256 8.1G Linux filesystem
sda3 17586176 312580095 294993920 140.7G Linux filesystem
Disk sdb: 14.56 GiB, 15631122432 bytes, 30529536 sectors
Disk identifier: 0xe904b4b7
Boot Start End Sectors Size Id Type
sdb1 * 64 5782943 5782880 2.8G 0 Empty
sdb2 4660 14899 10240 5M ef EFI (FAT-12/16/32)

parted -lm (filtered): _________________________________________________________

sda:160GB:scsi:512:512:gpt:ATA WDC WD1600HLHX-6:;
1:2097kB:302MB:300MB:fat32:primary:boot, esp;
2:303MB:9003MB:8700MB:linux-swap(v1):primary:;
3:9004MB:160GB:151GB:ext4:primary:;
sdb:15.6GB:scsi:512:512:unknown:SanDisk Cruzer Blade:;

blkid (filtered): ______________________________________________________________

NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat CF09-6FF2 5d3ca76a-c7c0-4de9-b193-84df9a555b74 primary
├─sda2 swap 3086c830-e9bd-4ee6-a332-b20b6712c95d 6144f7be-ac55-4e59-a173-8b680e87f9bf primary
└─sda3 ext4 c409004a-dec1-47c8-a703-4c9895ab1b70 3686962a-e5d4-42f6-9ce6-5227a5d0ff12 primary
sdb iso9660 2025-10-07-16-21-33-00 LMDE 7 Cinnamon 64-bit
├─sdb1 iso9660 2025-10-07-16-21-33-00 e904b4b7-01 LMDE 7 Cinnamon 64-bit
└─sdb2 vfat 68E5-3E0D e904b4b7-02

Mount points (filtered): _______________________________________________________

Avail Use% Mounted on
/dev/sda1 3.3M 99% /mnt/boot-sav/sda1
/dev/sda3 13.7G 85% /mnt
/dev/sdb1 0 100% /run/live/medium
efivarfs 44.9K 22% /sys/firmware/efi/efivars
overlay 3.3G 15% /

Mount options (filtered): ______________________________________________________

/dev/sda1 vfat rw,relatime,fmask=0002,dmask=0002,allow_utime=0020,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro
/dev/sda3 ext4 rw,relatime
/dev/sdb1 iso9660 ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8

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

Debian GNU/Linux c409004a-dec1-47c8-a703-4c9895ab1b70
Debian GNU/Linux, with Linux 6.12.117+deb13-amd64 c409004a-dec1-47c8-a703-4c9895ab1b70
Debian GNU/Linux, with Linux 6.12.116+deb13-amd64 c409004a-dec1-47c8-a703-4c9895ab1b70
Debian GNU/Linux, with Linux 6.12.48+deb13-amd64 c409004a-dec1-47c8-a703-4c9895ab1b70
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sda3/etc/fstab (filtered) ===========================

# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
UUID=c409004a-dec1-47c8-a703-4c9895ab1b70 / ext4 defaults 0 1
UUID=3086c830-e9bd-4ee6-a332-b20b6712c95d none swap sw 0 0
UUID=c409004a-dec1-47c8-a703-4c9895ab1b70 /home ext4 defaults 0 0
UUID=CF09-6FF2 /boot/efi vfat defaults 0 1

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

GRUB_DEFAULT=0
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`( . /etc/os-release && echo ${NAME} )`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false

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

GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
112.522071838 = 120.819654656 boot/vmlinuz-6.12.116+deb13-amd64 1
83.693950653 = 89.865695232 boot/vmlinuz-6.12.117+deb13-amd64 1
11.279830933 = 12.111626240 boot/vmlinuz-6.12.48+deb13-amd64 1
83.693950653 = 89.865695232 vmlinuz 1
112.522071838 = 120.819654656 vmlinuz.old 1
111.028633118 = 119.216087040 boot/initrd.img-6.12.116+deb13-amd64 1
85.036464691 = 91.307208704 boot/initrd.img-6.12.117+deb13-amd64 3
12.784503937 = 13.727256576 boot/initrd.img-6.12.48+deb13-amd64 1
85.036464691 = 91.307208704 initrd.img 3
111.028633118 = 119.216087040 initrd.img.old 1

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

-rwxr-xrwx 1 root root 13908 Apr 30 2026 10_linux
-rwxr-xrwx 1 root root 14565 Apr 30 2026 20_linux_xen
-rwxr-xrwx 1 root root 786 Jul 3 2025 25_bli
-rwxr-xrwx 1 root root 12661 Jul 3 2025 30_os-prober
-rwxr-xrwx 1 root root 1174 Jul 3 2025 30_uefi-firmware
-rwxr-xrwx 1 root root 744 Jun 26 04:38 35_fwupd
-rwxr-xrwx 1 root root 214 Jul 3 2025 40_custom
-rwxr-xrwx 1 root root 215 Jul 3 2025 41_custom

============================ sda3/etc/grub.d/25_bli ============================

#! /bin/sh
set -e
# grub-mkconfig helper script.
# Copyright (C) 2023 Free Software Foundation, Inc.
#
# GRUB is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# GRUB is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>.
cat << EOF
if [ "\$grub_platform" = "efi" ]; then
insmod bli
fi
EOF

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

#! /bin/sh
# SPDX-License-Identifier: LGPL-2.1-or-later
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:?} --version >/dev/null
prepare_grub_to_access_device "$(${grub_probe} --target=device ${ESP})" | sed -e "s/^/\t/"
cat <<EOF
chainloader ${EFI_PATH}
}
EOF
fi
fi
Répondre