Bonjour,
Je sais qu'il y a pas mal de sujets là-dessus mais je me perds dans les réponses et tests et rien ne colle exactement à mon problème. J'espère que vous pourrez m'aider, sachant que c'est mon 1er dual boot... Merci !
Tout a commencé avec KDE Neon installée de manière classique.
Avec une clé live usb de KDE, j'ai installé GParted et redimensionner la partition nvme0n1p1 pour accorder environ 150Go à Windows 10.
J'ai ensuite installé Windows 10 sur cette partition. Une fois fait, Windows 10 était le seul OS à démarrer (problème attendu).
J'ai donc rebooté sur la clé live usb de KDE pour installer boot-repair (ppa:yannubuntu/boot-repair) et j'ai lancé la "Réparation recommandée". Une erreur est apparue, voilà le rapport :
boot-repair-4ppa125 [20200716_1229]
============================= Boot Repair Summary ==============================
grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
Recommended repair: ____________________________________________________________
The default repair of the Boot-Repair utility will reinstall the grub2 of
nvme0n1p1 into the MBR of nvme0n1.
Additional repair will be performed: unhide-bootmenu-10s win-legacy-basic-fix
Quantity of real Windows: 1
WinSE in nvme0n1p3
Copied Win boot files from nvme0n1p2 to nvme0n1p3
======================= Reinstall the grub2 of nvme0n1p1 =======================
grub-install --version
grub-install (GRUB) 2.02-2ubuntu8.15
==> Reinstall the GRUB of nvme0n1p1 into the MBR of nvme0n1
grub-install /dev/nvme0n1
Installing for i386-pc platform.
Installation finished. No error reported.
chroot /mnt/boot-sav/nvme0n1p1 update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/99_breeze-grub.cfg'
Generating grub configuration file ...
Found theme: /boot/grub/themes/breeze/theme.txt
Found linux image: /boot/vmlinuz-5.3.0-62-generic
Found initrd image: /boot/initrd.img-5.3.0-62-generic
Found linux image: /boot/vmlinuz-5.3.0-61-generic
Found initrd image: /boot/initrd.img-5.3.0-61-generic
Found linux image: /boot/vmlinuz-5.3.0-59-generic
Found initrd image: /boot/initrd.img-5.3.0-59-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
File descriptor 63 (pipe:[85144]) leaked on lvs invocation. Parent PID 14622: /bin/sh
grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
Found Windows 10 on /dev/nvme0n1p2
Found Windows 10 on /dev/nvme0n1p3
Unhide GRUB boot menu in nvme0n1p1/boot/grub/grub.cfg
An error occurred during the repair.
You can now reboot your computer.
============================ Boot Info After Repair ============================
=> Grub2 (v2.00) is installed in the MBR of /dev/nvme0n1 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
---------------------------------------------------------------------------
nvme0n1p1: _____________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: KDE neon User Edition 5.19
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
nvme0n1p2: _____________________________________________________________________
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
nvme0n1p3: _____________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 10
Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
sda: ___________________________________________________________________________
File system: iso9660
Boot sector type: Unknown
Boot sector info:
Operating System:
Boot files: /boot/grub/grub.cfg
================================ 3 OS detected =================================
OS#1: KDE neon User Edition 5.19 (18.04) on nvme0n1p1
OS#2: Windows 10 (boot) on nvme0n1p2
OS#3: Windows 10 on nvme0n1p3
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
Live-session OS is neon 64-bit (KDE neon User Edition 5.18, bionic, x86_64)
===================================== UEFI =====================================
This live-session is not in EFI-mode.
EFI in dmesg.
[ 0.012489] ACPI: UEFI 0x000000008BD0C000 000236 (v01 LENOVO CB-01 00000001 ACPI 00040000)
[ 0.012497] ACPI: UEFI 0x000000008BD05000 000042 (v01 LENOVO CB-01 00000001 ACPI 00040000)
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
nvme0n1 : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
nvme0n1p1 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, farbios
nvme0n1p2 : is-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
nvme0n1p3 : is-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
Partitions info (2/3): _________________________________________________________
nvme0n1p1 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
nvme0n1p2 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, bootmgr, is-winboot
nvme0n1p3 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
nvme0n1p1 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, nvme0n1
nvme0n1p2 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, nvme0n1
nvme0n1p3 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, nvme0n1
fdisk -l (filtered): ___________________________________________________________
Disk nvme0n1: 477 GiB, 512110190592 bytes, 1000215216 sectors
Disk identifier: 0x9cfdeeed
Boot Start End Sectors Size Id Type
nvme0n1p1 2048 686147583 686145536 327.2G 83 Linux
nvme0n1p2 * 686147584 687271935 1124352 549M 7 HPFS/NTFS/exFAT
nvme0n1p3 687271936 1000212479 312940544 149.2G 7 HPFS/NTFS/exFAT
Disk sda: 7.5 GiB, 8059355136 bytes, 15740928 sectors
Disk identifier: 0x3029ddc5
Boot Start End Sectors Size Id Type
sda1 * 0 3096575 3096576 1.5G 0 Empty
sda2 464 5199 4736 2.3M ef EFI (FAT-12/16/32)
parted -lm (filtered): _________________________________________________________
sda:8059MB:scsi:512:512:msdos: USB Flash Memory:;
2:238kB:2662kB:2425kB:::esp;
nvme0n1:512GB:nvme:512:512:msdos:INTEL SSDPEKNW512G8L:;
1:1049kB:351GB:351GB:ext4::;
2:351GB:352GB:576MB:ntfs::boot;
3:352GB:512GB:160GB:ntfs::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda iso9660 2020-02-13-11-45-49-00 neon user 20200213-11:45
├─sda1 iso9660 2020-02-13-11-45-49-00 3029ddc5-01 neon user 20200213-11:45
└─sda2 vfat B1F5-0A13 3029ddc5-02 neon user 20200213-11:45
nvme0n1
├─nvme0n1p1 ext4 57f04d0f-cc13-44c7-9f9f-a75ac73f173d 9cfdeeed-01
├─nvme0n1p2 ntfs 428CD99D8CD98C33 9cfdeeed-02 Réservé au système
└─nvme0n1p3 ntfs 9CBA692ABA69025E 9cfdeeed-03
df (filtered): _________________________________________________________________
Avail Use% Mounted on
nvme0n1p1 213.1G 29% /mnt/boot-sav/nvme0n1p1
nvme0n1p2 142.2M 74% /mnt/boot-sav/nvme0n1p2
nvme0n1p3 138.7G 7% /mnt/boot-sav/nvme0n1p3
sda 0 100% /cdrom
Mount options: __________________________________________________________________
nvme0n1p1 rw,relatime
nvme0n1p2 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
nvme0n1p3 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda ro,noatime,nojoliet,check=s,map=n,blocksize=2048
=================== nvme0n1p1/boot/grub/grub.cfg (filtered) ====================
neon GNU/Linux 57f04d0f-cc13-44c7-9f9f-a75ac73f173d
neon GNU/Linux, with Linux 5.3.0-62-generic 57f04d0f-cc13-44c7-9f9f-a75ac73f173d
neon GNU/Linux, with Linux 5.3.0-61-generic 57f04d0f-cc13-44c7-9f9f-a75ac73f173d
neon GNU/Linux, with Linux 5.3.0-59-generic 57f04d0f-cc13-44c7-9f9f-a75ac73f173d
Windows 10 (on nvme0n1p2) 428CD99D8CD98C33
Windows 10 (on nvme0n1p3) 9CBA692ABA69025E
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
======================== nvme0n1p1/etc/fstab (filtered) ========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/nvme0n1p1 during installation
UUID=57f04d0f-cc13-44c7-9f9f-a75ac73f173d / ext4 errors=remount-ro 0 1
/swapfile none swap sw 0 0
==================== nvme0n1p1/etc/default/grub (filtered) =====================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
================= nvme0n1p1: Location of files loaded by Grub ==================
GiB - GB File Fragment(s)
0.000984192 = 0.001056768 boot/grub/grub.cfg 1
228.173480988 = 244.999409664 boot/grub/i386-pc/core.img 1
3.672847748 = 3.943690240 boot/vmlinuz-5.3.0-59-generic 2
87.673568726 = 94.138777600 boot/vmlinuz-5.3.0-61-generic 1
142.993881226 = 153.538510848 boot/vmlinuz-5.3.0-62-generic 1
142.993881226 = 153.538510848 vmlinuz 1
87.673568726 = 94.138777600 vmlinuz.old 1
151.601776123 = 162.781167616 boot/initrd.img-5.3.0-59-generic 4
151.508026123 = 162.680504320 boot/initrd.img-5.3.0-61-generic 4
151.435962677 = 162.603126784 boot/initrd.img-5.3.0-62-generic 2
151.435962677 = 162.603126784 initrd.img 2
151.508026123 = 162.680504320 initrd.img.old 4
=================== nvme0n1p1: ls -l /etc/grub.d/ (filtered) ===================
-rwxr-xr-x 1 root root 12693 Mar 11 20:57 10_linux
-rwxr-xr-x 1 root root 11298 Mar 11 20:57 20_linux_xen
-rwxr-xr-x 1 root root 12059 Mar 11 20:57 30_os-prober
-rwxr-xr-x 1 root root 1418 Mar 11 20:57 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Mar 11 20:57 40_custom
-rwxr-xr-x 1 root root 216 Mar 11 20:57 41_custom
====================== sda/boot/grub/grub.cfg (filtered) =======================
Start KDE neon
Start KDE neon (OEM mode)
==================== sda: Location of files loaded by Grub =====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
======================== Unknown MBRs/Boot Sectors/etc =========================
Unknown BootLoader on sda
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 50 14 00 00 00 00 00 00 c5 dd 29 30 00 00 80 00 |P.........)0....|
000001c0 01 00 00 3f e0 ff 00 00 00 00 00 40 2f 00 00 fe |...?.......@/...|
000001d0 ff ff ef fe ff ff d0 01 00 00 80 12 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
=============================== StdErr Messages ================================
File descriptor 63 (pipe:[85144]) leaked on lvs invocation. Parent PID 3589: /bin/bash
paste2.org ko (http://paste2.org/)
Au redémarrage, je peux choisir entre KDE et Windows 10 :
KDE démarre toujours sans problème mais pas Windows :
Windows démarrait très bien avant le lancement de boot-repair.
Voilà où j'en suis.
Merci d'avance pour votre aide.