plus de grub après installation de LMDE 5 en dualboot avec WS

Postez ici toutes vos demandes d’assistance.
Répondre
laslagu
Messages : 109
Enregistré le : lun. 5 juin 2017 23:56

plus de grub après installation de LMDE 5 en dualboot avec WS

Message par laslagu »

Bonjour;
J'ai remplacé mint 20 par LMDE 5 sur un autre PC (Toshiba Satellite Pro) en UEFI; mais au redémarrage le grub ne s'affiche pas et c'est WS qui démarre.
Boot-repair n'a pas réussi à réparer; voici son analyse:

Code : Tout sélectionner

boot-repair-4ppa125                                              [20220606_1930]

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



grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
/usr/share/boot-sav/bs-cmd_terminal.sh: line 177: warning: command substitution: ignored null byte in input

Recommended repair: ____________________________________________________________

The default repair of the Boot-Repair utility will reinstall the grub-efi-amd64-signed of
sda5,
using the following options:        sda2/boot/efi,
Additional repair will be performed: unhide-bootmenu-10s win-legacy-basic-fix use-standard-efi-file


/boot/efi added in sda5/fstab
Quantity of real Windows: 1
Mount sda2 on /mnt/boot-sav/sda5/boot/efi
No sda5/boot/efi/efi/ ubuntu/mint folder

Unhide GRUB boot menu in sda5/etc/default/grub

================= Reinstall the grub-efi-amd64-signed of sda5 ==================

grub-install --version
grub-install (GRUB) 2.04-20

efibootmgr -v from chroot before grub install
BootCurrent: 0005
Timeout: 10 seconds
BootOrder: 0004,0002,0000,000D,0006,000A,2003,2001
Boot0000* Windows Boot Manager	HD(2,GPT,cba5aba9-e515-11e3-87ed-f1e7d52de104,0x200800,0x32000)/File(EFIMicrosoftBootbootmgfw.efi)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.}...3................
Boot0001* UEFI: IP6 Realtek PCIe FE Family Controller	PciRoot(0x0)/Pci(0x1c,0x2)/Pci(0x0,0x0)/MAC(6002921b2be9,0)/IPv6([::]:<->[::]:,0,0)..BO
Boot0002* UEFI: IP4 Realtek PCIe FE Family Controller	PciRoot(0x0)/Pci(0x1c,0x2)/Pci(0x0,0x0)/MAC(6002921b2be9,0)/IPv4(0.0.0.00.0.0.0,0,0)..BO
Boot0004* debian	HD(2,GPT,cba5aba9-e515-11e3-87ed-f1e7d52de104,0x200800,0x32000)/File(EFIdebianshimx64.efi)
Boot0005* UEFI: JetFlashTS4GJFV30 8.07	PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(1,MBR,0x2c534026,0x3c4,0x1340)..BO
Boot2001* EFI USB Device	RC
Boot2003* EFI Network	RC

uname -r
5.3.0-28-generic

grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot
Installing for x86_64-efi platform.
Installation finished. No error reported.
df /dev/sda2
mv /mnt/boot-sav/sda5/boot/efi/EFI/Boot/bootx64.efi /mnt/boot-sav/sda5/boot/efi/EFI/Boot/bkpbootx64.efi
cp /mnt/boot-sav/sda5/boot/efi/EFI/debian/shimx64.efi /mnt/boot-sav/sda5/boot/efi/EFI/Boot/bootx64.efi

grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot
Installing for x86_64-efi platform.
Installation finished. No error reported.

efibootmgr -v from chroot after grub install
BootCurrent: 0005
Timeout: 10 seconds
BootOrder: 0004,0002,0000,000D,0006,000A,2003,2001
Boot0000* Windows Boot Manager	HD(2,GPT,cba5aba9-e515-11e3-87ed-f1e7d52de104,0x200800,0x32000)/File(EFIMicrosoftBootbootmgfw.efi)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.}...3................
Boot0001* UEFI: IP6 Realtek PCIe FE Family Controller	PciRoot(0x0)/Pci(0x1c,0x2)/Pci(0x0,0x0)/MAC(6002921b2be9,0)/IPv6([::]:<->[::]:,0,0)..BO
Boot0002* UEFI: IP4 Realtek PCIe FE Family Controller	PciRoot(0x0)/Pci(0x1c,0x2)/Pci(0x0,0x0)/MAC(6002921b2be9,0)/IPv4(0.0.0.00.0.0.0,0,0)..BO
Boot0004* debian	HD(2,GPT,cba5aba9-e515-11e3-87ed-f1e7d52de104,0x200800,0x32000)/File(EFIdebianshimx64.efi)
Boot0005* UEFI: JetFlashTS4GJFV30 8.07	PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(1,MBR,0x2c534026,0x3c4,0x1340)..BO
Boot2001* EFI USB Device	RC
Boot2003* EFI Network	RC
Error: NVram is locked (Linuxmint not found in efibootmgr).

chroot /mnt/boot-sav/sda5 update-grub
Generating grub configuration file ...
Found theme: /boot/grub/themes/linuxmint/theme.txt
Found linux image: /boot/vmlinuz-5.10.0-12-amd64
Found initrd image: /boot/initrd.img-5.10.0-12-amd64
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)

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

An error occurred during the repair.

Locked-NVram detected.


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

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

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /boot/bcd

sda2: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/2012: 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/grubx64.efi 
                       /efi/Boot/mmx64.efi /efi/debian/fbx64.efi 
                       /efi/debian/grubx64.efi /efi/debian/mmx64.efi 
                       /efi/debian/shimx64.efi /efi/Boot/grub.cfg 
                       /efi/debian/grub.cfg /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi 
                       /efi/Microsoft/Boot/memtest.efi 
                       /efi/toshiba/Boot/bootmgfw.efi 
                       /efi/toshiba/Boot/bootmgr.efi 
                       /efi/toshiba/Boot/memtest.efi /bootmgr /boot/bcd

sda3: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sda4: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 8 or 10
    Boot files:        /bootmgr /Windows/System32/winload.exe

sda5: __________________________________________________________________________

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

sda6: __________________________________________________________________________

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

sda7: __________________________________________________________________________

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

sda8: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sda9: __________________________________________________________________________

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

sdb: ___________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Unknown
    Boot sector info: 
    Operating System:  
    Boot files:        /boot/grub/grub.cfg


================================ 2 OS detected =================================

OS#1:   LMDE 5 Elsie (5) on sda5
OS#2:   Windows 8 or 10 on sda4

============================ Architecture/Host Info ============================

CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Boot-Repair-Disk 64bit 20200604, bionic, x86_64)


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

BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot disabled.

efibootmgr -v
BootCurrent: 0005
Timeout: 10 seconds
BootOrder: 0004,0002,0000,000D,0006,000A,2003,2001
Boot0000* Windows Boot Manager	HD(2,GPT,cba5aba9-e515-11e3-87ed-f1e7d52de104,0x200800,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)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.}...3................
Boot0001* UEFI: IP6 Realtek PCIe FE Family Controller	PciRoot(0x0)/Pci(0x1c,0x2)/Pci(0x0,0x0)/MAC(6002921b2be9,0)/IPv6([::]:<->[::]:,0,0)..BO
Boot0002* UEFI: IP4 Realtek PCIe FE Family Controller	PciRoot(0x0)/Pci(0x1c,0x2)/Pci(0x0,0x0)/MAC(6002921b2be9,0)/IPv4(0.0.0.00.0.0.0,0,0)..BO
Boot0004* debian	HD(2,GPT,cba5aba9-e515-11e3-87ed-f1e7d52de104,0x200800,0x32000)/File(\EFI\debian\shimx64.efi)
Boot0005* UEFI: JetFlashTS4GJFV30 8.07	PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(1,MBR,0x2c534026,0x3c4,0x1340)..BO
Boot2001* EFI USB Device	RC
Boot2003* EFI Network	RC

728124f6ec8e22fbdbe7034812c81b95   sda2/Boot/bootx64.efi
0d240e1ce1b2b02dec9bbb162cfb94da   sda2/Boot/fbx64.efi
ae76cbebcdc90df9ed3e8fb7af2c60de   sda2/Boot/grubx64.efi
f617c3c1b1bdf56909dcb8e1b996749b   sda2/Boot/mmx64.efi
0d240e1ce1b2b02dec9bbb162cfb94da   sda2/debian/fbx64.efi
1b236359c52f180ce9fe705cbce94703   sda2/debian/grubx64.efi
f617c3c1b1bdf56909dcb8e1b996749b   sda2/debian/mmx64.efi
cefed90870185ef689f004e686de8fce   sda2/debian/shimx64.efi
8fda2a56aff1746c1f368d62b5b207de   sda2/Microsoft/Boot/bootmgfw.efi
6bef967eb485059dd8263a7c7f416e4b   sda2/Microsoft/Boot/bootmgr.efi
1854d98bc963a9a82e0d9abef6bc3873   sda2/toshiba/Boot/bootmgfw.efi
59dfd3c57bb7d913f279ba74d2af5529   sda2/toshiba/Boot/bootmgr.efi


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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

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

Partitions info (2/3): _________________________________________________________

sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	bootmgr,	is-winboot
sda2	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot
sda4	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	notwinboot
sda5	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda6	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda7	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda8	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sda1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda2	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda4	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda5	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sda6	: maybesepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda7	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda8	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: CBA5ABA0-E515-11E3-87ED-F1E7D52DE104
          Start       End   Sectors   Size Type
sda1       2048   2099199   2097152     1G Windows recovery environment
sda2    2099200   2303999    204800   100M EFI System
sda3    2304000   2566143    262144   128M Microsoft reserved
sda4    2566144 170353259 167787116    80G Microsoft basic data
sda5  174450688 252274687  77824000  37.1G Linux filesystem
sda6  252274688 354674687 102400000  48.8G Linux filesystem
sda7  354674688 950837247 596162560 284.3G Microsoft basic data
sda8  950837248 976772572  25935325  12.4G Windows recovery environment
sda9  170354688 174450687   4096000     2G Linux swap
Partition table entries are not in disk order.
Disk sdb: 3.8 GiB, 4089445376 bytes, 7987198 sectors
Disk identifier: 0x2c534026
      Boot Start     End Sectors  Size Id Type
sdb1  *        0 1802239 1802240  880M  0 Empty
sdb2         964    5891    4928  2.4M ef EFI (FAT-12/16/32)
Disk zram0: 954.8 MiB, 1001136128 bytes, 244418 sectors
Disk zram1: 954.8 MiB, 1001136128 bytes, 244418 sectors

parted -lm (filtered): _________________________________________________________

sda:500GB:scsi:512:512:gpt:ATA TOSHIBA MQ01ABF0:;
1:1049kB:1075MB:1074MB:ntfs:Basic data partition:hidden, diag;
2:1075MB:1180MB:105MB:fat32:Basic data partition:boot, esp;
3:1180MB:1314MB:134MB:ntfs:Basic data partition:msftres;
4:1314MB:87.2GB:85.9GB:ntfs:Basic data partition:msftdata;
9:87.2GB:89.3GB:2097MB:linux-swap(v1)::;
5:89.3GB:129GB:39.8GB:ext4::;
6:129GB:182GB:52.4GB:ext4::;
7:182GB:487GB:305GB:ntfs::msftdata;
8:487GB:500GB:13.3GB:ntfs:Basic data partition:hidden, diag;
sdb:4089MB:scsi:512:512:msdos:JetFlash TS4GJFV30:;
2:494kB:3017kB:2523kB:::esp;
zram1:1001MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1001MB:1001MB:linux-swap(v1)::;
zram0:1001MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1001MB:1001MB:linux-swap(v1)::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL                  PARTLABEL
sda                                                                                                              
├─sda1 ntfs     E00A75CE0A75A268                     cba5aba1-e515-11e3-87ed-f1e7d52de104 System                 Basic data partition
├─sda2 vfat     9E77-0FDE                            cba5aba9-e515-11e3-87ed-f1e7d52de104                        Basic data partition
├─sda3 ntfs     12B678A8B6788DCB                     cba5abab-e515-11e3-87ed-f1e7d52de104                        Basic data partition
├─sda4 ntfs     1EB2DADCB2DAB78B                     cba5abb3-e515-11e3-87ed-f1e7d52de104 Windows 10             Basic data partition
├─sda5 ext4     ee875407-bc34-4680-9b2e-f708c86f4214 3216688a-8f26-4f8b-a743-14c20b97244c                        
├─sda6 ext4     12bb416d-7e4d-471f-87e6-6f72e1796cb8 770b494b-9e36-4423-b341-78c7e7c5f3ef                        
├─sda7 ntfs     6A3E6BFB7645D868                     ba8bf0ae-8032-4271-8674-9c9db77395eb Data                   
├─sda8 ntfs     6426EB5726EB28AE                     4444ec94-184d-11e4-8a92-dae45f720319 Recovery               Basic data partition
└─sda9 swap     7e4a8bf3-9900-4bb8-965d-e1482fc0f6ef 2ae4db63-f495-4ea7-bf8d-26c4a1f38d98                        
sdb    iso9660  2020-06-13-00-42-55-00                                                    Boot-Repair-Disk 64bit 
├─sdb1 iso9660  2020-06-13-00-42-55-00               2c534026-01                          Boot-Repair-Disk 64bit 
└─sdb2 vfat     D055-8513                            2c534026-02                          Boot-Repair-Disk 64bit 
zram0                                                                                                            
zram1                                                                                                            

df (filtered): _________________________________________________________________

       Avail Use% Mounted on
sda1   654.6M  36% /mnt/boot-sav/sda1
sda2    20.8M  78% /mnt/boot-sav/sda2
sda4    50.7G  37% /mnt/boot-sav/sda4
sda5    28.7G  16% /mnt/boot-sav/sda5
sda6    45.3G   0% /mnt/boot-sav/sda6
sda7   284.2G   0% /mnt/boot-sav/sda7
sda8     529M  96% /mnt/boot-sav/sda8
sdb         0 100% /cdrom

Mount options: __________________________________________________________________

sda1   ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda2   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sda4   ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda5   rw,relatime
sda6   rw,relatime
sda7   ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda8   ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdb    ro,noatime,nojoliet,check=s,map=n,blocksize=2048

====================== sda2/efi/Boot/grub.cfg (filtered) =======================

search.fs_uuid d4fb3be9-9f44-41a6-8c77-23263d04e3e7 root hd0,gpt5 hd0,gpt5 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

===================== sda2/efi/debian/grub.cfg (filtered) ======================

search.fs_uuid ee875407-bc34-4680-9b2e-f708c86f4214 root hd0,gpt5 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Debian GNU/Linux   ee875407-bc34-4680-9b2e-f708c86f4214
Debian GNU/Linux, with Linux 5.10.0-12-amd64   ee875407-bc34-4680-9b2e-f708c86f4214
Windows Boot Manager (on sda2)   osprober-efi-9E77-0FDE
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

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

proc	/proc	proc	defaults	0	0
UUID=ee875407-bc34-4680-9b2e-f708c86f4214	/	ext4	rw,errors=remount-ro	0	1
UUID=7e4a8bf3-9900-4bb8-965d-e1482fc0f6ef	swap	swap	sw	0	0
UUID=12bb416d-7e4d-471f-87e6-6f72e1796cb8	/home	ext4	rw,errors=remount-ro	0	0
UUID=9E77-0FDE  /boot/efi       vfat    defaults      0       1

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

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

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

           GiB - GB             File                                 Fragment(s)
  83.184574127 = 89.318756352   boot/grub/grub.cfg                             1
  85.679824829 = 91.998011392   boot/vmlinuz-5.10.0-12-amd64                   2
  85.679824829 = 91.998011392   vmlinuz                                        2
  85.679824829 = 91.998011392   vmlinuz.old                                    2
  91.911319733 = 98.689028096   boot/initrd.img-5.10.0-12-amd64                1
  91.911319733 = 98.689028096   initrd.img                                     1
  91.911319733 = 98.689028096   initrd.img.old                                 1

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

-rwxr-xr-x 1 root root 13664 Jul 10  2021 10_linux
-rwxr-xr-x 1 root root 13726 Jul 10  2021 20_linux_xen
-rwxr-xr-x 1 root root 12059 Jul 10  2021 30_os-prober
-rwxr-xr-x 1 root root  1416 Jul 10  2021 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Jul 10  2021 40_custom
-rwxr-xr-x 1 root root   216 Jul 10  2021 41_custom

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

Boot-Repair-Disk session
Boot-Repair-Disk session (failsafe)

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

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1


======================== Unknown MBRs/Boot Sectors/etc =========================

Unknown BootLoader on sda7

00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 e8 23 15  |........?.....#.|
00000020  00 00 00 00 80 00 80 00  ff b7 88 23 00 00 00 00  |...........#....|
00000030  04 00 00 00 00 00 00 00  7f 8b 38 02 00 00 00 00  |..........8.....|
00000040  f6 00 00 00 01 00 00 00  68 d8 45 76 fb 6b 3e 6a  |........h.Ev.k>j|
00000050  00 00 00 00 0e 1f be 71  7c ac 22 c0 74 0b 56 b4  |.......q|.".t.V.|
00000060  0e bb 07 00 cd 10 5e eb  f0 32 e4 cd 16 cd 19 eb  |......^..2......|
00000070  fe 54 68 69 73 20 69 73  20 6e 6f 74 20 61 20 62  |.This is not a b|
00000080  6f 6f 74 61 62 6c 65 20  64 69 73 6b 2e 20 50 6c  |ootable disk. Pl|
00000090  65 61 73 65 20 69 6e 73  65 72 74 20 61 20 62 6f  |ease insert a bo|
000000a0  6f 74 61 62 6c 65 20 66  6c 6f 70 70 79 20 61 6e  |otable floppy an|
000000b0  64 0d 0a 70 72 65 73 73  20 61 6e 79 20 6b 65 79  |d..press any key|
000000c0  20 74 6f 20 74 72 79 20  61 67 61 69 6e 20 2e 2e  | to try again ..|
000000d0  2e 20 0d 0a 00 00 00 00  00 00 00 00 00 00 00 00  |. ..............|
000000e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200

Unknown BootLoader on sdb

00000000  33 ed 90 90 90 90 90 90  90 90 90 90 90 90 90 90  |3...............|
00000010  90 90 90 90 90 90 90 90  90 90 90 90 90 90 90 90  |................|
00000020  33 ed fa 8e d5 bc 00 7c  fb fc 66 31 db 66 31 c9  |3......|..f1.f1.|
00000030  66 53 66 51 06 57 8e dd  8e c5 52 be 00 7c bf 00  |fSfQ.W....R..|..|
00000040  06 b9 00 01 f3 a5 ea 4b  06 00 00 52 b4 41 bb aa  |.......K...R.A..|
00000050  55 31 c9 30 f6 f9 cd 13  72 16 81 fb 55 aa 75 10  |U1.0....r...U.u.|
00000060  83 e1 01 74 0b 66 c7 06  f3 06 b4 42 eb 15 eb 02  |...t.f.....B....|
00000070  31 c9 5a 51 b4 08 cd 13  5b 0f b6 c6 40 50 83 e1  |1.ZQ....[...@P..|
00000080  3f 51 f7 e1 53 52 50 bb  00 7c b9 04 00 66 a1 b0  |?Q..SRP..|...f..|
00000090  07 e8 44 00 0f 82 80 00  66 40 80 c7 02 e2 f2 66  |..D.....f@.....f|
000000a0  81 3e 40 7c fb c0 78 70  75 09 fa bc ec 7b ea 44  |.>@|..xpu....{.D|
000000b0  7c 00 00 e8 83 00 69 73  6f 6c 69 6e 75 78 2e 62  ||.....isolinux.b|
000000c0  69 6e 20 6d 69 73 73 69  6e 67 20 6f 72 20 63 6f  |in missing or co|
000000d0  72 72 75 70 74 2e 0d 0a  66 60 66 31 d2 66 03 06  |rrupt...f`f1.f..|
000000e0  f8 7b 66 13 16 fc 7b 66  52 66 50 06 53 6a 01 6a  |.{f...{fRfP.Sj.j|
000000f0  10 89 e6 66 f7 36 e8 7b  c0 e4 06 88 e1 88 c5 92  |...f.6.{........|
00000100  f6 36 ee 7b 88 c6 08 e1  41 b8 01 02 8a 16 f2 7b  |.6.{....A......{|
00000110  cd 13 8d 64 10 66 61 c3  e8 1e 00 4f 70 65 72 61  |...d.fa....Opera|
00000120  74 69 6e 67 20 73 79 73  74 65 6d 20 6c 6f 61 64  |ting system load|
00000130  20 65 72 72 6f 72 2e 0d  0a 5e ac b4 0e 8a 3e 62  | error...^....>b|
00000140  04 b3 07 cd 10 3c 0a 75  f1 cd 18 f4 eb fd 00 00  |.....<.u........|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001b0  04 17 00 00 00 00 00 00  26 40 53 2c 00 00 80 00  |........&@S,....|
000001c0  01 00 00 3f e0 6f 00 00  00 00 00 80 1b 00 00 fe  |...?.o..........|
000001d0  ff ff ef fe ff ff c4 03  00 00 40 13 00 00 00 00  |..........@.....|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200


========= Devices which don't seem to have a corresponding hard drive ==========

sdc 

=============================== StdErr Messages ================================

File descriptor 63 (pipe:[47313]) leaked on lvs invocation. Parent PID 1845: /bin/bash
Modifié en dernier par alain le lun. 6 juin 2022 21:46, modifié 1 fois.
Raison : mise en place des balises code
LMDE 6 Faye base, Cinnamon 5.8.4, noyau 6.1.0-13-amd64, 8Go de ram, processeur Intel Celeron J4125 CPU 2.00GHz × 4, carte graphique Intel Corporation Device 3185; DD 256 Go SSD, en dual boot avec W10

laslagu
Messages : 109
Enregistré le : lun. 5 juin 2017 23:56

Re: plus de grub après installation de LMDE 5 en dualboot avec WS

Message par laslagu »

Pour avancer dl'analyse, j'ai chrooté la partition LMDE 5 qui est SDA5, et en root j'ai fait sudo mount /boot/efi:
réponse: mount: /bootefi: can't find UUID=9E77-0FDE
En ouvrant le dossier EFI du dossier boot je constate en effet qu'il est vide.
Comment y installer le boot efi?
Suis-je le seul à ne pas pouvoir faire démarrer grub après installation de LMDE?
LMDE 6 Faye base, Cinnamon 5.8.4, noyau 6.1.0-13-amd64, 8Go de ram, processeur Intel Celeron J4125 CPU 2.00GHz × 4, carte graphique Intel Corporation Device 3185; DD 256 Go SSD, en dual boot avec W10

capdeframint
Messages : 2266
Enregistré le : jeu. 2 juin 2016 08:57
Localisation : Hautes-Alpes: GAP

Re: plus de grub après installation de LMDE 5 en dualboot avec WS

Message par capdeframint »

Je suis à peu près certain que tu n'as pas installé le Grub au bon endroit, c'est à dire dans cette partition EFI, lors de l'installation de LMDE5.
Il te faudrait réinstaller juste le Grub.
PC1:PCportable HP Pavilion 15-eh3027nf, proc Ryzen 7 7730U , Ram 16 Go, SSD 512 Go, LM 22 XFCE Dual Boot W11/LM 22
PC2: PC portable Lenovo Ideapad 3 15ALC6 (82KU002GFR),proc Ryzen 7 5700, Ram 8Go, SSD 512 Go, LM 21.1 XFCE
Dual boot: Windows 11 Family/ Linuxmint 21.1

laslagu
Messages : 109
Enregistré le : lun. 5 juin 2017 23:56

Re: plus de grub après installation de LMDE 5 en dualboot avec WS

Message par laslagu »

Et comment réinstaller le Grub au bon endroit?
LMDE 6 Faye base, Cinnamon 5.8.4, noyau 6.1.0-13-amd64, 8Go de ram, processeur Intel Celeron J4125 CPU 2.00GHz × 4, carte graphique Intel Corporation Device 3185; DD 256 Go SSD, en dual boot avec W10

Avatar du membre
alain
Administrateur du site
Messages : 15150
Enregistré le : dim. 11 oct. 2015 23:41
Localisation : Chelles
Contact :

Re: plus de grub après installation de LMDE 5 en dualboot avec WS

Message par alain »

Bonjour Laslagu.

Tu démarres sur un live

Tu repères ta partition boot efi avec:

Code : Tout sélectionner

blkid
(il y a : "PARTLABEL="EFI system partition"" dedans)

Puis:

Code : Tout sélectionner

sudo osprober

Code : Tout sélectionner

sudo update-grub

Code : Tout sélectionner

sudo grub-install /dev/le_mon_ta_partition_EFI
Vu que tu as un live "boot repair" tu peux l'utiliser, du coup tu peux installer le grub via l'interface graphique de boot repair. Mais au préalable il te faudra quand même faire le blkid pour connaitre ta partition de boot efi. BR te le demandera.
PC are like air conditioning, they becomes useless when you open Windows (L.T)
PC1 : CM : ASRock 990FX | CPU: AMD FX 8350-8 cores, 4 GHz | RAM: 16 Go DDR3 1600 MHz | CG: GTX 1080TI-11 Go | OS : LM 20.3 Uma Xfce 4.16 | K: 5.4
PC2
:Core2 Quad Q9650 @ 3 GHz | CG: Nvidia GTX 650TI | OS: LM 21.3 Xfce 4.18| K: 6.5
PC3 :Core i7-2600 @ 3,5 GHz | CG: ATI HD 4650 | OS: Emmade5 Xfce 4.18.0 | K: 6.1
PC4 : AMD Ryzen 5 3500X 4GHz | CG: GTX 970 | Ram : 8GB |OS : Debian 12.7 | K: 5.10
In a world without walls and fences, who needs windows and gates?

laslagu
Messages : 109
Enregistré le : lun. 5 juin 2017 23:56

Re: plus de grub après installation de LMDE 5 en dualboot avec WS

Message par laslagu »

Bonjour;
blkid me trouve une partition sdb1 qui n'existe pas sur mon DD.puis dans toutes celles qui existent aucune n'a le boot EFI.
Normalement le boot EFI devrait être sur sda2 qui est le boot de WS en Fat 32.
Pour sudo os-prober il me trouve bien la sda2 mais il la nomme sda2@: pourquoi?
Il me trouve aussi la partition racine LMDE 5, sans toutefois indiquer de répertoire boot/EFI: "/dev/sda5:LMDE 5 Elsie (5):LinuxMint:linux"
Pour sudo update-grub il me retourne: /usr/sbin/grub-probe: error: failed to get canonical path of 'overlay'
Pour sudo grub-install /dev/sda2, (ou sda5) il renvoie la même chose :" error: failed to get canonical path of 'overlay'

C'est désespérant...
J'en suis déjà à la quatrième réinstallation; j'avais essayé avec boot repair et aussi la LMDE 4, mais c'était pareil.
LMDE 6 Faye base, Cinnamon 5.8.4, noyau 6.1.0-13-amd64, 8Go de ram, processeur Intel Celeron J4125 CPU 2.00GHz × 4, carte graphique Intel Corporation Device 3185; DD 256 Go SSD, en dual boot avec W10

Répondre