Contenu | Rechercher | Menus

Annonce

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

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

À propos de l'équipe du forum.

#1 Le 27/10/2021, à 16:32

louisj7

Erreur au demarrage (DUAL BOOT avec WIN10)

Bonjour,

Je poste ce message un peu désespéré,
j'utilise Ubuntu depuis environ 2 (surtout pour mes études) en dual boot avec windows, je n'ai jamais eu de soucis jusqu'à maintenant,
Je pense avoir fait une mise à jour Windows et depuis impossible de redémarrer Ubuntu,
Le message suivant s'affiche :

failed to open \EFI\ubuntu\grubx64.efi - Not Bound
failed to load image \EFI\ubuntu\Boot\grubx64.efi - Not Bound
start_Image() returned Not Found, falling back to default loader
failed to open \EFI\ubuntu\Boot\grubx64.efi - Not Bound
failed to load image \EFI\ubuntut\Boot\grubx64.efi - Not Bound
start_Image() returned Not Found

et l'ordinateur redémarre continuellement,

j'arrive à accéder à Windows en passant par le BIOS.

J'ai parcouru tous les forum français et anglais et je ne trouve pas de solution à mon problème.

Le résultat du boot-repair est le suivant :
https://pastebin.ubuntu.com/p/ZsbZB9nz86/

j’espère que vous trouverais une solution à mon problème

bonne journée.

Hors ligne

#2 Le 28/10/2021, à 02:33

nany

Re : Erreur au demarrage (DUAL BOOT avec WIN10)

Bonjour,



pastebin.ubuntu.com a écrit :

This paste expires on 2021-11-27.

Je recopie donc ci dessous le rapport pour la pérénité.

     1	boot-repair-4ppa130                                              [20211027_1509]
     2	
     3	============================== Boot Info Summary ===============================
     4	
     5	 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of 
     6	    the same hard drive for core.img. core.img is at this location and looks 
     7	    for /boot/grub. It also embeds following components:
     8	    
     9	    modules
    10	    ---------------------------------------------------------------------------
    11	    fshelp fat biosdisk search_fs_uuid
    12	    ---------------------------------------------------------------------------
    13	    
    14	    config script
    15	    ---------------------------------------------------------------------------
    16	    search.fs_uuid A0A5-4ED2 root 
    17	    set prefix=($root)'/boot/grub'
    18	    
    19	    ---------------------------------------------------------------------------
    20	 => Windows 7/8/2012 is installed in the MBR of /dev/sdb.
    21	 => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdc.
    22	
    23	sda1: __________________________________________________________________________
    24	
    25	    File system:       ext4
    26	    Boot sector type:  -
    27	    Boot sector info: 
    28	    Operating System:  Ubuntu 18.04.6 LTS
    29	    Boot files:        /boot/grub/grub.cfg /etc/fstab 
    30	                       /boot/grub/i386-pc/core.img
    31	
    32	sda2: __________________________________________________________________________
    33	
    34	    File system:       ntfs
    35	    Boot sector type:  Windows 8/2012: NTFS
    36	    Boot sector info:  No errors found in the Boot Parameter Block.
    37	    Operating System:  
    38	    Boot files:        
    39	
    40	sda3: __________________________________________________________________________
    41	
    42	    File system:       ntfs
    43	    Boot sector type:  Windows 8/2012: NTFS
    44	    Boot sector info:  No errors found in the Boot Parameter Block.
    45	    Operating System:  
    46	    Boot files:        
    47	
    48	sdb1: __________________________________________________________________________
    49	
    50	    File system:       ntfs
    51	    Boot sector type:  Windows 8/2012: NTFS
    52	    Boot sector info:  No errors found in the Boot Parameter Block.
    53	    Operating System:  
    54	    Boot files:        
    55	
    56	sdb2: __________________________________________________________________________
    57	
    58	    File system:       vfat
    59	    Boot sector type:  Windows 8/2012: FAT32
    60	    Boot sector info:  No errors found in the Boot Parameter Block.
    61	    Operating System:  
    62	    Boot files:        /EFI/refind/refind.conf /efi/Boot/bootx64.efi 
    63	                       /efi/Boot/fbx64.efi /efi/refind/refind_x64.efi 
    64	                       /efi/ubuntu/fwupx64.efi /efi/ubuntu/mmx64.efi 
    65	                       /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg 
    66	                       /efi/Microsoft/Boot/bootmgfw.efi 
    67	                       /efi/Microsoft/Boot/bootmgr.efi 
    68	                       /efi/Microsoft/Boot/memtest.efi
    69	
    70	sdb3: __________________________________________________________________________
    71	
    72	    File system:       
    73	    Boot sector type:  -
    74	    Boot sector info: 
    75	
    76	sdb4: __________________________________________________________________________
    77	
    78	    File system:       ntfs
    79	    Boot sector type:  Windows 8/2012: NTFS
    80	    Boot sector info:  No errors found in the Boot Parameter Block.
    81	    Operating System:  Windows 8 or 10
    82	    Boot files:        /Windows/System32/winload.exe
    83	
    84	sdb5: __________________________________________________________________________
    85	
    86	    File system:       ntfs
    87	    Boot sector type:  Windows 8/2012: NTFS
    88	    Boot sector info:  No errors found in the Boot Parameter Block.
    89	    Operating System:  
    90	    Boot files:        
    91	
    92	sdc1: __________________________________________________________________________
    93	
    94	    File system:       vfat
    95	    Boot sector type:  SYSLINUX 6.03
    96	    Boot sector info:  Syslinux looks at sector 32832 of /dev/sdc1 for its 
    97	                       second stage. The integrity check of Syslinux failed. 
    98	                       No errors found in the Boot Parameter Block.
    99	    Operating System:  
   100	    Boot files:        /boot/grub/grub.cfg /syslinux.cfg 
   101	                       /efi/BOOT/grubx64.efi /ldlinux.sys
   102	
   103	
   104	================================ 2 OS detected =================================
   105	
   106	OS#1:   Ubuntu 18.04.6 LTS on sda1
   107	OS#2:   Windows 8 or 10 on sdb4
   108	
   109	============================ Architecture/Host Info ============================
   110	
   111	CPU architecture: 64-bit
   112	Live-session OS is Ubuntu 64-bit (Ubuntu 18.04.3 LTS, bionic, x86_64)
   113	
   114	
   115	===================================== UEFI =====================================
   116	
   117	BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
   118	SecureBoot disabled.
   119	
   120	efibootmgr -v
   121	BootCurrent: 0002
   122	Timeout: 0 seconds
   123	BootOrder: 0002,0000,0004,0001,0003,2001,2002,2003
   124	Boot0000* ubuntu	HD(2,GPT,c776335a-1c55-448e-a553-476da33454ce,0xfa000,0x31800)/File(\EFI\ubuntu\shimx64.efi)
   125	Boot0001* Windows Boot Manager	HD(2,GPT,c776335a-1c55-448e-a553-476da33454ce,0xfa000,0x31800)/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.}...a................
   126	Boot0002* rEFInd Boot Manager	HD(2,GPT,c776335a-1c55-448e-a553-476da33454ce,0xfa000,0x31800)/File(\EFI\refind\refind_x64.efi)
   127	Boot0003* Linpus lite	HD(1,MBR,0x103dd6,0x800,0x1ce1800)/File(\EFI\Boot\grubx64.efi)RC
   128	Boot0004  rEFInd Boot Manager	HD(2,GPT,c776335a-1c55-448e-a553-476da33454ce,0xfa000,0x31800)/File(\EFI\refind\refind_x64.efi)
   129	Boot2001* EFI USB Device	RC
   130	Boot2002* EFI DVD/CDROM	RC
   131	Boot2003* EFI Network	RC
   132	This session has been detected as 'live' because /proc/cmdline contains (boot=casper)
   133	This session has been detected as 'live' because df -Th / contains overlay
   134	
   135	728124f6ec8e22fbdbe7034812c81b95   sdb2/Boot/bootx64.efi
   136	5dabe049a4dad758d975dc2e60a7f00e   sdb2/Boot/fbx64.efi
   137	2722292f3d63ce40b45f43a3608e8380   sdb2/refind/refind_x64.efi
   138	256fe27540b54b71cf38110338247688   sdb2/ubuntu/fwupx64.efi
   139	f243a42f3bd3164872e792dbc2610270   sdb2/ubuntu/mmx64.efi
   140	728124f6ec8e22fbdbe7034812c81b95   sdb2/ubuntu/shimx64.efi
   141	3ff213addd49e6515922de34952223ad   sdb2/Microsoft/Boot/bootmgfw.efi
   142	b8736f6dbf1baf951d389be5a519fb32   sdb2/Microsoft/Boot/bootmgr.efi
   143	
   144	
   145	============================= Drive/Partition Info =============================
   146	
   147	Disks info: ____________________________________________________________________
   148	
   149	sda	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes
   150	sdb	: is-GPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes
   151	
   152	Partitions info (1/3): _________________________________________________________
   153	
   154	sda1	: is-os,	64, apt-get,	signed grub-efi ,	grub1,	grub-install,	grubenv-ok,	update-grub,	not-far
   155	sda2	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
   156	sda3	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
   157	sdb1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
   158	sdb2	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
   159	sdb4	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
   160	sdb5	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
   161	
   162	Partitions info (2/3): _________________________________________________________
   163	
   164	sda1	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
   165	sda2	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
   166	sda3	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
   167	sdb1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
   168	sdb2	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
   169	sdb4	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
   170	sdb5	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
   171	
   172	Partitions info (3/3): _________________________________________________________
   173	
   174	sda1	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	customized,	sda
   175	sda2	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
   176	sda3	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
   177	sdb1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb
   178	sdb2	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb
   179	sdb4	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb
   180	sdb5	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb
   181	
   182	fdisk -l (filtered): ___________________________________________________________
   183	
   184	Disk sda: 447.1 GiB, 480103981056 bytes, 937703088 sectors
   185	Disk identifier: 0x26115dfc
   186	      Boot     Start       End   Sectors   Size Id Type
   187	sda1            2048  97656831  97654784  46.6G 83 Linux
   188	sda2        97656832 117188081  19531250   9.3G  7 HPFS/NTFS/exFAT
   189	sda3       117188608 937699327 820510720 391.3G  7 HPFS/NTFS/exFAT
   190	Disk sdb: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
   191	Disk identifier: 95912719-F877-4AE4-A1E0-9D3C891AA4A3
   192	           Start        End    Sectors  Size Type
   193	sdb1        2048    1023999    1021952  499M Windows recovery environment
   194	sdb2     1024000    1226751     202752   99M EFI System
   195	sdb3     1226752    1259519      32768   16M Microsoft reserved
   196	sdb4     1259520 3905901044 3904641525  1.8T Microsoft basic data
   197	sdb5  3905902592 3907026943    1124352  549M Windows recovery environment
   198	Disk sdc: 14.5 GiB, 15506341888 bytes, 30285824 sectors
   199	Disk identifier: 0x00103dd6
   200	      Boot Start      End  Sectors  Size Id Type
   201	sdc1  *     2048 30285823 30283776 14.5G  c W95 FAT32 (LBA)
   202	
   203	parted -lm (filtered): _________________________________________________________
   204	
   205	sda:480GB:scsi:512:512:msdos:ATA LDLC F6+M.2 480:;
   206	1:1049kB:50.0GB:50.0GB:ext4::;
   207	2:50.0GB:60.0GB:10.0GB:ntfs::;
   208	3:60.0GB:480GB:420GB:ntfs::;
   209	sdb:2000GB:scsi:512:512:gpt:ATA Samsung SSD 860:;
   210	1:1049kB:524MB:523MB:ntfs:Basic data partition:hidden, diag;
   211	2:524MB:628MB:104MB:fat32:EFI system partition:boot, esp;
   212	3:628MB:645MB:16.8MB::Microsoft reserved partition:msftres;
   213	4:645MB:2000GB:1999GB:ntfs:Basic data partition:msftdata;
   214	5:2000GB:2000GB:576MB:ntfs::hidden, diag;
   215	sdc:15.5GB:scsi:512:512:msdos: USB DISK 2.0:;
   216	1:1049kB:15.5GB:15.5GB:fat32::boot, lba;
   217	
   218	blkid (filtered): ______________________________________________________________
   219	
   220	NAME   FSTYPE   UUID                                 PARTUUID                             LABEL        PARTLABEL
   221	sda                                                                                                    
   222	├─sda1 ext4     96d13b42-b24d-4b9c-8700-f846f8b146e4 26115dfc-01                                       
   223	├─sda2 ntfs     0C6CA03A6CA02086                     26115dfc-02                          Ubuntu       
   224	└─sda3 ntfs     CE68FDA268FD898B                     26115dfc-03                          Nouveau nom  
   225	sdb                                                                                                    
   226	├─sdb1 ntfs     F606ED6006ED21FB                     e1306e16-5d04-43fc-89a5-bae1bb6db38e Récupération Basic data partition
   227	├─sdb2 vfat     3AEE-4EE5                            c776335a-1c55-448e-a553-476da33454ce              EFI system partition
   228	├─sdb3                                               6957dab4-361e-469d-8d38-728b6e778d5c              Microsoft reserved partition
   229	├─sdb4 ntfs     A666F1C266F192F3                     ef8cef49-925e-40ad-a6da-a14563e573d6              Basic data partition
   230	└─sdb5 ntfs     FC7C44A17C445912                     67dd29e6-9c04-45f5-9a31-df34ba231b61              
   231	sdc                                                                                                    
   232	└─sdc1 vfat     D6EC-D366                            00103dd6-01                          UBUNTU 18_0  
   233	
   234	df (filtered): _________________________________________________________________
   235	
   236	       Avail Use% Mounted on
   237	sda1    15.4G  61% /mnt/boot-sav/sda1
   238	sda2     9.2G   1% /mnt/boot-sav/sda2
   239	sda3   391.1G   0% /mnt/boot-sav/sda3
   240	sdb1   488.8M   2% /mnt/boot-sav/sdb1
   241	sdb2    66.3M  30% /mnt/boot-sav/sdb2
   242	sdb4   307.8G  83% /mnt/boot-sav/sdb4
   243	sdb5    88.2M  84% /mnt/boot-sav/sdb5
   244	sdc1    12.5G  14% /cdrom
   245	
   246	Mount options: __________________________________________________________________
   247	
   248	sda1   rw,relatime
   249	sda2   ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
   250	sda3   ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
   251	sdb1   ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
   252	sdb2   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
   253	sdb4   ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
   254	sdb5   ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
   255	sdc1   ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
   256	
   257	====================== sda1/boot/grub/grub.cfg (filtered) ======================
   258	
   259	GNU/Linux   96d13b42-b24d-4b9c-8700-f846f8b146e4
   260	GNU/Linux, with Linux 5.4.0-89-generic   96d13b42-b24d-4b9c-8700-f846f8b146e4
   261	GNU/Linux, with Linux 5.4.0-77-generic   96d13b42-b24d-4b9c-8700-f846f8b146e4
   262	GNU/Linux, with Linux 5.4.0-74-generic   96d13b42-b24d-4b9c-8700-f846f8b146e4
   263	### END /etc/grub.d/30_os-prober_proxy ###
   264	System setup   uefi-firmware
   265	
   266	========================== sda1/etc/fstab (filtered) ===========================
   267	
   268	# <file system> <mount point>   <type>  <options>       <dump>  <pass>
   269	# / was on /dev/sda1 during installation
   270	UUID=96d13b42-b24d-4b9c-8700-f846f8b146e4 /               ext4    errors=remount-ro 0       1
   271	# /boot/efi was on /dev/sdb2 during installation
   272	/swapfile                                 none            swap    sw              0       0
   273	UUID=3AEE-4EE5  /boot/efi       vfat    defaults      0       1
   274	
   275	==================== sda1: Location of files loaded by Grub ====================
   276	
   277	           GiB - GB             File                                 Fragment(s)
   278	  40.262813568 = 43.231866880   boot/grub/grub.cfg                             2
   279	  21.479515076 = 23.063453696   boot/grub/i386-pc/core.img                     1
   280	  13.884777069 = 14.908665856   boot/vmlinuz-5.4.0-74-generic                  1
   281	  27.337902069 = 29.353848832   boot/vmlinuz-5.4.0-77-generic                  1
   282	  44.478538513 = 47.758467072   boot/vmlinuz-5.4.0-89-generic                  1
   283	  44.478538513 = 47.758467072   vmlinuz                                        1
   284	  27.337902069 = 29.353848832   vmlinuz.old                                    1
   285	  27.916278839 = 29.974876160   boot/initrd.img-5.4.0-74-generic               3
   286	  45.377220154 = 48.723419136   boot/initrd.img-5.4.0-77-generic               1
   287	  44.995601654 = 48.313659392   boot/initrd.img-5.4.0-89-generic               2
   288	  44.995601654 = 48.313659392   initrd.img                                     2
   289	  45.377220154 = 48.723419136   initrd.img.old                                 1
   290	
   291	===================== sda1: ls -l /etc/grub.d/ (filtered) ======================
   292	
   293	-rwxr-xr-x 1 root root 12808 Jan  7  2021 10_linux
   294	-rwxr-xr-x 1 root root   198 Jan 20  2020 30_os-prober_proxy
   295	-rwxr-xr-x 1 root root 11298 Mar 18  2019 31_linux_xen
   296	-rwxr-xr-x 1 root root  1992 Jan 28  2016 32_memtest86+
   297	-rwxr-xr-x 1 root root   198 Jan 20  2020 33_os-prober_proxy
   298	-rwxr-xr-x 1 root root  1418 Mar 18  2019 34_uefi-firmware
   299	-rwxr-xr-x 1 root root   214 Mar 18  2019 40_custom
   300	-rwxr-xr-x 1 root root   216 Mar 18  2019 41_custom
   301	drwxr-xr-x 4 root root  4096 Jan 20  2020 backup
   302	drwxr-xr-x 2 root root  4096 Jan 20  2020 bin
   303	drwxr-xr-x 2 root root  4096 Jan 20  2020 proxifiedScripts
   304	
   305	========================= sda1/etc/grub.d/31_linux_xen =========================
   306	
   307	#! /bin/sh
   308	set -e
   309	# grub-mkconfig helper script.
   310	# Copyright (C) 2006,2007,2008,2009,2010  Free Software Foundation, Inc.
   311	#
   312	# GRUB is free software: you can redistribute it and/or modify
   313	# it under the terms of the GNU General Public License as published by
   314	# the Free Software Foundation, either version 3 of the License, or
   315	# (at your option) any later version.
   316	#
   317	# GRUB is distributed in the hope that it will be useful,
   318	# but WITHOUT ANY WARRANTY; without even the implied warranty of
   319	# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   320	# GNU General Public License for more details.
   321	#
   322	# You should have received a copy of the GNU General Public License
   323	# along with GRUB.  If not, see <http://www.gnu.org/licenses/>.
   324	prefix="/usr"
   325	exec_prefix="/usr"
   326	datarootdir="/usr/share"
   327	. "$pkgdatadir/grub-mkconfig_lib"
   328	export TEXTDOMAIN=grub
   329	export TEXTDOMAINDIR="${datarootdir}/locale"
   330	CLASS="--class gnu-linux --class gnu --class os --class xen"
   331	SUPPORTED_INITS="sysvinit:/lib/sysvinit/init systemd:/lib/systemd/systemd upstart:/sbin/upstart"
   332	if [ "x${GRUB_DISTRIBUTOR}" = "x" ] ; then
   333	  OS=GNU/Linux
   334	else
   335	  OS="${GRUB_DISTRIBUTOR} GNU/Linux"
   336	  CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr 'A-Z' 'a-z' | cut -d' ' -f1|LC_ALL=C sed 's,[^[:alnum:]_],_,g') ${CLASS}"
   337	fi
   338	# loop-AES arranges things so that /dev/loop/X can be our root device, but
   339	# the initrds that Linux uses don't like that.
   340	case ${GRUB_DEVICE} in
   341	  /dev/loop/*|/dev/loop[0-9])
   342	    GRUB_DEVICE=`losetup ${GRUB_DEVICE} | sed -e "s/^[^(]*(\([^)]\+\)).*/\1/"`
   343	    # We can't cope with devices loop-mounted from files here.
   344	    case ${GRUB_DEVICE} in
   345	      /dev/*) ;;
   346	      *) exit 0 ;;
   347	    esac
   348	  ;;
   349	esac
   350	# btrfs may reside on multiple devices. We cannot pass them as value of root= parameter
   351	# and mounting btrfs requires user space scanning, so force UUID in this case.
   352	if [ "x${GRUB_DEVICE_UUID}" = "x" ] || [ "x${GRUB_DISABLE_LINUX_UUID}" = "xtrue" ] \
   353	    || ! test -e "/dev/disk/by-uuid/${GRUB_DEVICE_UUID}" \
   354	    || ( test -e "${GRUB_DEVICE}" && uses_abstraction "${GRUB_DEVICE}" lvm ); then
   355	  LINUX_ROOT_DEVICE=${GRUB_DEVICE}
   356	else
   357	  LINUX_ROOT_DEVICE=UUID=${GRUB_DEVICE_UUID}
   358	fi
   359	# Allow overriding GRUB_CMDLINE_LINUX and GRUB_CMDLINE_LINUX_DEFAULT.
   360	if [ "${GRUB_CMDLINE_LINUX_XEN_REPLACE}" ]; then
   361	  GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX_XEN_REPLACE}"
   362	fi
   363	if [ "${GRUB_CMDLINE_LINUX_XEN_REPLACE_DEFAULT}" ]; then
   364	  GRUB_CMDLINE_LINUX_DEFAULT="${GRUB_CMDLINE_LINUX_XEN_REPLACE_DEFAULT}"
   365	fi
   366	case x"$GRUB_FS" in
   367	    xbtrfs)
   368		rootsubvol="`make_system_path_relative_to_its_root /`"
   369		rootsubvol="${rootsubvol#/}"
   370		if [ "x${rootsubvol}" != x ]; then
   371		    GRUB_CMDLINE_LINUX="rootflags=subvol=${rootsubvol} ${GRUB_CMDLINE_LINUX}"
   372		fi;;
   373	    xzfs)
   374		rpool=`${grub_probe} --device ${GRUB_DEVICE} --target=fs_label 2>/dev/null || true`
   375		bootfs="`make_system_path_relative_to_its_root / | sed -e "s,@$,,"`"
   376		LINUX_ROOT_DEVICE="ZFS=${rpool}${bootfs}"
   377		;;
   378	esac
   379	title_correction_code=
   380	linux_entry ()
   381	{
   382	  os="$1"
   383	  version="$2"
   384	  xen_version="$3"
   385	  type="$4"
   386	  args="$5"
   387	  xen_args="$6"
   388	  if [ -z "$boot_device_id" ]; then
   389	      boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")"
   390	  fi
   391	  if [ x$type != xsimple ] ; then
   392	      if [ x$type = xrecovery ] ; then
   393		  title="$(gettext_printf "%s, with Xen %s and Linux %s (%s)" "${os}" "${xen_version}" "${version}" "$(gettext "${GRUB_RECOVERY_TITLE}")")"
   394	      elif [ "${type#init-}" != "$type" ] ; then
   395		  title="$(gettext_printf "%s, with Xen %s and Linux %s (%s)" "${os}" "${xen_version}" "${version}" "${type#init-}")"
   396	      else
   397		  title="$(gettext_printf "%s, with Xen %s and Linux %s" "${os}" "${xen_version}" "${version}")"
   398	      fi
   399	      replacement_title="$(echo "Advanced options for ${OS}" | sed 's,>,>>,g')>$(echo "$title" | sed 's,>,>>,g')"
   400	      if [ x"Xen ${xen_version}>$title" = x"$GRUB_ACTUAL_DEFAULT" ]; then
   401	         quoted="$(echo "$GRUB_ACTUAL_DEFAULT" | grub_quote)"
   402	         title_correction_code="${title_correction_code}if [ \"x\$default\" = '$quoted' ]; then default='$(echo "$replacement_title" | grub_quote)'; fi;"
   403	         grub_warn "$(gettext_printf "Please don't use old title \`%s' for GRUB_DEFAULT, use \`%s' (for versions before 2.00) or \`%s' (for 2.00 or later)" "$GRUB_ACTUAL_DEFAULT" "$replacement_title" "gnulinux-advanced-$boot_device_id>gnulinux-$version-$type-$boot_device_id")"
   404	      fi
   405	      echo "menuentry '$(echo "$title" | grub_quote)' ${CLASS} \$menuentry_id_option 'xen-gnulinux-$version-$type-$boot_device_id' {" | sed "s/^/$submenu_indentation/"
   406	  else
   407	      title="$(gettext_printf "%s, with Xen hypervisor" "${os}")"
   408	      echo "menuentry '$(echo "$title" | grub_quote)' ${CLASS} \$menuentry_id_option 'xen-gnulinux-simple-$boot_device_id' {" | sed "s/^/$submenu_indentation/"
   409	  fi
   410	  if [ x$type != xrecovery ] ; then
   411	      save_default_entry | grub_add_tab | sed "s/^/$submenu_indentation/"
   412	  fi
   413	  if [ -z "${prepare_boot_cache}" ]; then
   414	    prepare_boot_cache="$(prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | grub_add_tab)"
   415	  fi
   416	  printf '%s\n' "${prepare_boot_cache}" | sed "s/^/$submenu_indentation/"
   417	  xmessage="$(gettext_printf "Loading Xen %s ..." ${xen_version})"
   418	  lmessage="$(gettext_printf "Loading Linux %s ..." ${version})"
   419	  sed "s/^/$submenu_indentation/" << EOF
   420		echo	'$(echo "$xmessage" | grub_quote)'
   421	        if [ "\$grub_platform" = "pc" -o "\$grub_platform" = "" ]; then
   422	            xen_rm_opts=
   423	        else
   424	            xen_rm_opts="no-real-mode edd=off"
   425	        fi
   426		multiboot	${rel_xen_dirname}/${xen_basename} placeholder ${xen_args} \${xen_rm_opts}
   427		echo	'$(echo "$lmessage" | grub_quote)'
   428		module	${rel_dirname}/${basename} placeholder root=${linux_root_device_thisversion} ro ${args}
   429	EOF
   430	  if test -n "${initrd}" ; then
   431	    # TRANSLATORS: ramdisk isn't identifier. Should be translated.
   432	    message="$(gettext_printf "Loading initial ramdisk ...")"
   433	    sed "s/^/$submenu_indentation/" << EOF
   434		echo	'$(echo "$message" | grub_quote)'
   435		module	--nounzip   ${rel_dirname}/${initrd}
   436	EOF
   437	  fi
   438	  sed "s/^/$submenu_indentation/" << EOF
   439	}
   440	EOF
   441	}
   442	linux_list=
   443	for i in /boot/vmlinu[xz]-* /vmlinu[xz]-* /boot/kernel-*; do
   444	    if grub_file_is_not_garbage "$i"; then
   445	    	basename=$(basename $i)
   446		version=$(echo $basename | sed -e "s,^[^0-9]*-,,g")
   447		dirname=$(dirname $i)
   448		config=
   449		for j in "${dirname}/config-${version}" "${dirname}/config-${alt_version}" "/etc/kernels/kernel-config-${version}" ; do
   450		    if test -e "${j}" ; then
   451			config="${j}"
   452			break
   453		    fi
   454		done
   455	        if (grep -qx "CONFIG_XEN_DOM0=y" "${config}" 2> /dev/null || grep -qx "CONFIG_XEN_PRIVILEGED_GUEST=y" "${config}" 2> /dev/null); then linux_list="$linux_list $i" ; fi
   456	    fi
   457	done
   458	if [ "x${linux_list}" = "x" ] ; then
   459	    exit 0
   460	fi
   461	file_is_not_sym () {
   462	    case "$1" in
   463		*/xen-syms-*)
   464		    return 1;;
   465		*)
   466		    return 0;;
   467	    esac
   468	}
   469	xen_list=
   470	for i in /boot/xen*; do
   471	    if grub_file_is_not_garbage "$i" && file_is_not_sym "$i" ; then xen_list="$xen_list $i" ; fi
   472	done
   473	prepare_boot_cache=
   474	boot_device_id=
   475	title_correction_code=
   476	machine=`uname -m`
   477	case "$machine" in
   478	    i?86) GENKERNEL_ARCH="x86" ;;
   479	    mips|mips64) GENKERNEL_ARCH="mips" ;;
   480	    mipsel|mips64el) GENKERNEL_ARCH="mipsel" ;;
   481	    arm*) GENKERNEL_ARCH="arm" ;;
   482	    *) GENKERNEL_ARCH="$machine" ;;
   483	esac
   484	# Extra indentation to add to menu entries in a submenu. We're not in a submenu
   485	# yet, so it's empty. In a submenu it will be equal to '\t' (one tab).
   486	submenu_indentation=""
   487	is_top_level=true
   488	while [ "x${xen_list}" != "x" ] ; do
   489	    list="${linux_list}"
   490	    current_xen=`version_find_latest $xen_list`
   491	    xen_basename=`basename ${current_xen}`
   492	    xen_dirname=`dirname ${current_xen}`
   493	    rel_xen_dirname=`make_system_path_relative_to_its_root $xen_dirname`
   494	    xen_version=`echo $xen_basename | sed -e "s,.gz$,,g;s,^xen-,,g"`
   495	    if [ -z "$boot_device_id" ]; then
   496		boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")"
   497	    fi
   498	    if [ "x$is_top_level" != xtrue ]; then
   499		echo "	submenu '$(gettext_printf "Xen hypervisor, version %s" "${xen_version}" | grub_quote)' \$menuentry_id_option 'xen-hypervisor-$xen_version-$boot_device_id' {"
   500	    fi
   501	    while [ "x$list" != "x" ] ; do
   502		linux=`version_find_latest $list`
   503		gettext_printf "Found linux image: %s\n" "$linux" >&2
   504		basename=`basename $linux`
   505		dirname=`dirname $linux`
   506		rel_dirname=`make_system_path_relative_to_its_root $dirname`
   507		version=`echo $basename | sed -e "s,^[^0-9]*-,,g"`
   508		alt_version=`echo $version | sed -e "s,\.old$,,g"`
   509		linux_root_device_thisversion="${LINUX_ROOT_DEVICE}"
   510		initrd=
   511		for i in "initrd.img-${version}" "initrd-${version}.img" "initrd-${version}.gz" \
   512		   "initrd-${version}" "initramfs-${version}.img" \
   513		   "initrd.img-${alt_version}" "initrd-${alt_version}.img" \
   514		   "initrd-${alt_version}" "initramfs-${alt_version}.img" \
   515		   "initramfs-genkernel-${version}" \
   516		   "initramfs-genkernel-${alt_version}" \
   517		   "initramfs-genkernel-${GENKERNEL_ARCH}-${version}" \
   518		   "initramfs-genkernel-${GENKERNEL_ARCH}-${alt_version}" ; do
   519		    if test -e "${dirname}/${i}" ; then
   520			initrd="$i"
   521			break
   522		    fi
   523		done
   524		if test -n "${initrd}" ; then
   525		    gettext_printf "Found initrd image: %s\n" "${dirname}/${initrd}" >&2
   526		else
   527	    # "UUID=" magic is parsed by initrds.  Since there's no initrd, it can't work here.
   528		    linux_root_device_thisversion=${GRUB_DEVICE}
   529		fi
   530		if [ "x$is_top_level" = xtrue ] && [ "x${GRUB_DISABLE_SUBMENU}" != xy ]; then
   531		    linux_entry "${OS}" "${version}" "${xen_version}" simple \
   532			"${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}" "${GRUB_CMDLINE_XEN} ${GRUB_CMDLINE_XEN_DEFAULT}"
   533		    submenu_indentation="$grub_tab$grub_tab"
   534	    
   535		    if [ -z "$boot_device_id" ]; then
   536			boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")"
   537		    fi
   538	            # TRANSLATORS: %s is replaced with an OS name
   539		    echo "submenu '$(gettext_printf "Advanced options for %s (with Xen hypervisor)" "${OS}" | grub_quote)' \$menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"
   540		echo "	submenu '$(gettext_printf "Xen hypervisor, version %s" "${xen_version}" | grub_quote)' \$menuentry_id_option 'xen-hypervisor-$xen_version-$boot_device_id' {"
   541		   is_top_level=false
   542		fi
   543		linux_entry "${OS}" "${version}" "${xen_version}" advanced \
   544		    "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}" "${GRUB_CMDLINE_XEN} ${GRUB_CMDLINE_XEN_DEFAULT}"
   545		for supported_init in ${SUPPORTED_INITS}; do
   546		    init_path="${supported_init#*:}"
   547		    if [ -x "${init_path}" ] && [ "$(readlink -f /sbin/init)" != "$(readlink -f "${init_path}")" ]; then
   548			linux_entry "${OS}" "${version}" "${xen_version}" "init-${supported_init%%:*}" \
   549			    "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT} init=${init_path}" "${GRUB_CMDLINE_XEN} ${GRUB_CMDLINE_XEN_DEFAULT}"
   550		    fi
   551		done
   552		if [ "x${GRUB_DISABLE_RECOVERY}" != "xtrue" ]; then
   553		    linux_entry "${OS}" "${version}" "${xen_version}" recovery \
   554			"single ${GRUB_CMDLINE_LINUX}" "${GRUB_CMDLINE_XEN}"
   555		fi
   556		list=`echo $list | tr ' ' '\n' | fgrep -vx "$linux" | tr '\n' ' '`
   557	    done
   558	    if [ x"$is_top_level" != xtrue ]; then
   559		echo '	}'
   560	    fi
   561	    xen_list=`echo $xen_list | tr ' ' '\n' | fgrep -vx "$current_xen" | tr '\n' ' '`
   562	done
   563	# If at least one kernel was found, then we need to
   564	# add a closing '}' for the submenu command.
   565	if [ x"$is_top_level" != xtrue ]; then
   566	  echo '}'
   567	fi
   568	echo "$title_correction_code"
   569	
   570	====================== sda1/etc/grub.d/33_os-prober_proxy ======================
   571	
   572	#!/bin/sh
   573	#THIS IS A GRUB PROXY SCRIPT
   574	'/etc/grub.d/proxifiedScripts/os-prober' | /etc/grub.d/bin/grubcfg_proxy "-'Windows Boot Manager (sur /dev/sdb2)'~cecc1711e853af3f17cb52087378c09f~
   575	+*
   576	+#text
   577	"
   578	
   579	======================= sda1/etc/grub.d/34_uefi-firmware =======================
   580	
   581	#! /bin/sh
   582	set -e
   583	# grub-mkconfig helper script.
   584	# Copyright (C) 2012  Free Software Foundation, Inc.
   585	#
   586	# GRUB is free software: you can redistribute it and/or modify
   587	# it under the terms of the GNU General Public License as published by
   588	# the Free Software Foundation, either version 3 of the License, or
   589	# (at your option) any later version.
   590	#
   591	# GRUB is distributed in the hope that it will be useful,
   592	# but WITHOUT ANY WARRANTY; without even the implied warranty of
   593	# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   594	# GNU General Public License for more details.
   595	#
   596	# You should have received a copy of the GNU General Public License
   597	# along with GRUB.  If not, see <http://www.gnu.org/licenses/>.
   598	prefix="/usr"
   599	exec_prefix="/usr"
   600	datarootdir="/usr/share"
   601	export TEXTDOMAIN=grub
   602	export TEXTDOMAINDIR="${datarootdir}/locale"
   603	. "${datarootdir}/grub/grub-mkconfig_lib"
   604	efi_vars_dir=/sys/firmware/efi/vars
   605	EFI_GLOBAL_VARIABLE=8be4df61-93ca-11d2-aa0d-00e098032b8c
   606	OsIndications="$efi_vars_dir/OsIndicationsSupported-$EFI_GLOBAL_VARIABLE/data"
   607	if [ -e "$OsIndications" ] && \
   608	   [ "$(( $(printf 0x%x \'"$(cat $OsIndications | cut -b1)") & 1 ))" = 1 ]; then
   609	  LABEL="System setup"
   610	  gettext_printf "Adding boot menu entry for EFI firmware configuration\n" >&2
   611	  onstr="$(gettext_printf "(on %s)" "${DEVICE}")"
   612	  cat << EOF
   613	menuentry '$LABEL' \$menuentry_id_option 'uefi-firmware' {
   614		fwsetup
   615	}
   616	EOF
   617	fi
   618	
   619	==================== sdb2/EFI/refind/refind.conf (filtered) ====================
   620	
   621	timeout 20
   622	use_nvram false
   623	menuentry Linux {
   624	    icon EFI/refind/icons/os_linux.png
   625	    volume 904404F8-B481-440C-A1E3-11A5A954E601
   626	    loader bzImage-3.3.0-rc7
   627	    initrd initrd-3.3.0.img
   628	    options "ro root=UUID=5f96cafa-e0a7-4057-b18f-fa709db5b837"
   629	    disabled
   630	}
   631	menuentry "Arch Linux" {
   632	    icon     /EFI/refind/icons/os_arch.png
   633	    volume   "Arch Linux"
   634	    loader   /boot/vmlinuz-linux
   635	    initrd   /boot/initramfs-linux.img
   636	    options  "root=PARTUUID=5028fa50-0079-4c40-b240-abfaf28693ea rw add_efi_memmap"
   637	    submenuentry "Boot using fallback initramfs" {
   638	        initrd /boot/initramfs-linux-fallback.img
   639	    }
   640	    submenuentry "Boot to terminal" {
   641	        add_options "systemd.unit=multi-user.target"
   642	    }
   643	    disabled
   644	}
   645	menuentry Ubuntu {
   646	    loader /EFI/ubuntu/grubx64.efi
   647	    icon /EFI/refind/icons/os_linux.png
   648	    disabled
   649	}
   650	menuentry "ELILO" {
   651	    loader \EFI\elilo\elilo.efi
   652	    disabled
   653	}
   654	menuentry "Windows 7" {
   655	    loader \EFI\Microsoft\Boot\bootmgfw.efi
   656	    disabled
   657	}
   658	menuentry "Windows via shell script" {
   659	    icon \EFI\refind\icons\os_win.png
   660	    loader \EFI\tools\shell.efi
   661	    options "fs0:\EFI\tools\launch_windows.nsh"
   662	    disabled
   663	}
   664	menuentry "My macOS" {
   665	    icon \EFI\refind\icons\os_mac.png
   666	    volume "macOS boot"
   667	    loader \System\Library\CoreServices\boot.efi
   668	    disabled
   669	}
   670	menuentry "macOS via BootNext" {
   671	    icon /EFI/refind/icons/os_mac.png
   672	    firmware_bootnum 80
   673	    disabled
   674	}
   675	
   676	===================== sdb2/efi/ubuntu/grub.cfg (filtered) ======================
   677	
   678	search.fs_uuid 96d13b42-b24d-4b9c-8700-f846f8b146e4 root hd0,msdos1 
   679	set prefix=($root)'/boot/grub'
   680	configfile $prefix/grub.cfg
   681	
   682	====================== sdc1/boot/grub/grub.cfg (filtered) ======================
   683	
   684	Try Ubuntu without installing
   685	Install Ubuntu
   686	OEM install (for manufacturers)
   687	Check disc for defects
   688	
   689	========================= sdc1/syslinux.cfg (filtered) =========================
   690	
   691	DEFAULT loadconfig
   692	
   693	LABEL loadconfig
   694	  CONFIG /isolinux/isolinux.cfg
   695	  APPEND /isolinux/
   696	
   697	==================== sdc1: Location of files loaded by Grub ====================
   698	
   699	           GiB - GB             File                                 Fragment(s)
   700	            ?? = ??             boot/grub/grub.cfg                             1
   701	
   702	================== sdc1: Location of files loaded by Syslinux ==================
   703	
   704	           GiB - GB             File                                 Fragment(s)
   705	            ?? = ??             syslinux.cfg                                   1
   706	            ?? = ??             ldlinux.sys                                    1
   707	
   708	
   709	======================== Unknown MBRs/Boot Sectors/etc =========================
   710	
   711	
   712	/dev/sdb1: unknown GPT attributes
   713	8000000000000001
   714	
   715	/dev/sdb2: unknown GPT attributes
   716	8000000000000000
   717	
   718	/dev/sdb3: unknown GPT attributes
   719	8000000000000000
   720	
   721	/dev/sdb5: unknown GPT attributes
   722	8000000000000001
   723	
   724	=============================== StdErr Messages ================================
   725	
   726	File descriptor 63 (pipe:[89439]) leaked on lvs invocation. Parent PID 6487: /bin/bash
   727	
   728	Suggested repair: ______________________________________________________________
   729	
   730	The default repair of the Boot-Repair utility would purge (in order to sign-grub) and reinstall the grub-efi-amd64-signed of
   731	sda1,
   732	using the following options:        sdb2/boot/efi,
   733	Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix use-standard-efi-file    
   734	
   735	Final advice in case of suggested repair: ______________________________________
   736	
   737	
   738	Please do not forget to make your UEFI firmware boot on the Ubuntu 18.04.6 LTS entry (sdb2/efi/****/shim****.efi (**** will be updated in the final message) file) !
   739	If your computer reboots directly into Windows, try to change the boot order in your UEFI firmware.
   740	
   741	If your UEFI firmware does not allow to change the boot order, change the default boot entry of the Windows bootloader.
   742	For example you can boot into Windows, then type the following command in an admin command prompt:
   743	bcdedit /set {bootmgr} path \EFI\****\shim****.efi (**** will be updated in the final message)

---------------------------------------------------------------------------

louisj7 a écrit :

Le message suivant s'affiche :

failed to open \EFI\ubuntu\grubx64.efi - Not Bound
failed to load image \EFI\ubuntu\Boot\grubx64.efi - Not Bound
start_Image() returned Not Found, falling back to default loader
failed to open \EFI\ubuntu\Boot\grubx64.efi - Not Bound
failed to load image \EFI\ubuntut\Boot\grubx64.efi - Not Bound
start_Image() returned Not Found

Vu les lignes 62 à 68 du rapport, les fichiers sont effectivement manquants.
Tente la réparation recommandée par boot-repair et poste l’url du nouveau rapport généré.

En espérant que cela suffise à régénérer les fichiers.

Dernière modification par nany (Le 28/10/2021, à 02:51)

Hors ligne

#3 Le 28/10/2021, à 02:50

louisj7

Re : Erreur au demarrage (DUAL BOOT avec WIN10)

Bonjour nany,

Merci pour ta réponse

j’ai tenté la procédure du boot repair,

J’ai suivis les instructions, et j’ai écrit les lignes qu’il demande d’écrire dans le terminal,
Mais lorsque je veux faire suivant (même après avoir attendu une dizaine de minutes), j’ai un message d’erreur qui affiche :
- grub is still présent, please try again

J’ai donc un peu de mal à comprendre,

J’ai aussi essayé un update-grub mais le problème ne se résout pas

Hors ligne

#4 Le 28/10/2021, à 02:54

nany

Re : Erreur au demarrage (DUAL BOOT avec WIN10)

louisj7 a écrit :

J’ai suivis les instructions, et j’ai écrit les lignes qu’il demande d’écrire dans le terminal,

Peux-tu nous montrer quelles sont ces lignes ?

Hors ligne

#5 Le 28/10/2021, à 07:54

louisj7

Re : Erreur au demarrage (DUAL BOOT avec WIN10)

Le Boot-Repair me demande d’écrire :

sudo chroot "/mnt/boot-sav/sda1" dpkg --configure -a
sudo chroot "/mnt/boot-sav/sda1" apt-get install -fy
sudo chroot "/mnt/boot-sav/sda1" apt-get purge --allow-remove-essential -y grub*-common shim-signed

Voici ce qui se passe :

 
ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/sda1" dpkg --configure -a

ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/sda1" apt-get install -fy
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libmikmod3 libportmidi0 libsdl-mixer1.2 libsdl-ttf2.0-0 libsmpeg0
  linux-headers-5.4.0-74-generic linux-hwe-5.4-headers-5.4.0-65
  linux-hwe-5.4-headers-5.4.0-73 linux-hwe-5.4-headers-5.4.0-74
  linux-image-5.4.0-74-generic linux-modules-5.4.0-74-generic
  linux-modules-extra-5.4.0-74-generic python-gst-1.0 python-pygame
  python3-gst-1.0 shim
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.

ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/sda1" apt-get purge --allow-remove-essential -y grub*-common shim-signed
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'grub-common' for glob 'grub*-common'
Note, selecting 'grub2-common' for glob 'grub*-common'
Package 'grub-common' is not installed, so not removed. Did you mean 'grub-common:i386'?
Package 'grub2-common' is not installed, so not removed. Did you mean 'grub2-common:i386'?
Package 'shim-signed' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  libmikmod3 libportmidi0 libsdl-mixer1.2 libsdl-ttf2.0-0 libsmpeg0
  linux-headers-5.4.0-74-generic linux-hwe-5.4-headers-5.4.0-65
  linux-hwe-5.4-headers-5.4.0-73 linux-hwe-5.4-headers-5.4.0-74
  linux-image-5.4.0-74-generic linux-modules-5.4.0-74-generic
  linux-modules-extra-5.4.0-74-generic python-gst-1.0 python-pygame
  python3-gst-1.0 shim
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.

ubuntu@ubuntu:~$

Les lignes suivantes m'intriguent :

Package 'grub-common' is not installed, so not removed. Did you mean 'grub-common:i386'?
Package 'grub2-common' is not installed, so not removed. Did you mean 'grub2-common:i386'?
Package 'shim-signed' is not installed, so not removed

Mais vu que le Boot-Repair attend la suppression de ces fichiers je suppose que c'est une bonne chose qu'ils ne soient pas présent.

et lorsque clique sur suivant le Boot-Repair me précise que Grub est toujours présent.

Dernière modification par louisj7 (Le 28/10/2021, à 07:57)

Hors ligne

#6 Le 28/10/2021, à 13:20

geole

Re : Erreur au demarrage (DUAL BOOT avec WIN10)

Bonjour
Il me semble qu'il y a un petit bug dans le logiciel, il ne réussit pas à tout supprimer en un seul passage.
Comme il te dit que c'est encore présent, il faut insister et relancer une seconde fois les nouvelles  commandes qu'il propose.

NOTA: J'ai du mal à comprendre pourquoi les fichiers en question ont disparu alors que ceux-ci sont encore présents " /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg "
Mais pourquoi t'embête-tu avec le grub alors que refind est installé?

126	Boot0002* rEFInd Boot Manager	HD(2,GPT,c776335a-1c55-448e-a553-476da33454ce,0xfa000,0x31800)/File(\EFI\refind\refind_x64.efi)

62	    Boot files:        /EFI/refind/refind.conf 
63	                       /efi/refind/refind_x64.efi 

Dernière modification par geole (Le 28/10/2021, à 13:29)

En ligne

#7 Le 28/10/2021, à 13:40

louisj7

Re : Erreur au demarrage (DUAL BOOT avec WIN10)

Bonjour geole

Merci pour ta réponse,

J’ai essayé plusieurs fois les manip proposées mais le résultat est toujours le même

Oui je ne comprend pas non plus

En effet j’ai installé refind en parcourant un autre forum pensant que ça résoudrait mon problème mais je n’arrive pas non plus a démarrer ubuntu avec refind.(je peux en revanche démarrer sur Windows avec refind)
Je n’ai pas voulu trop me disperser donc je ne suis pas aller plus loin avec refind

Hors ligne

#8 Le 28/10/2021, à 14:02

nany

Re : Erreur au demarrage (DUAL BOOT avec WIN10)

Bien, puisque boot-repair ne veut pas réparer, je propose de passer en chroot.

Dans une session live, passe ces commandes (qui ne doivent rien retourner) :

sudo mount /dev/sda1 /mnt
sudo mount -t proc /proc /mnt/proc
sudo mount -t sysfs /sys /mnt/sys
sudo mount --bind /dev /mnt/dev
sudo mount --bind /run /mnt/run
sudo mount --bind /sys /mnt/sys
sudo mount --bind /etc/resolv.conf /mnt/etc/resolv.conf
sudo modprobe efivars
sudo chroot /mnt
mount -a

Et donne le retour de :

grub-install -v

Dernière modification par nany (Le 28/10/2021, à 14:16)

Hors ligne

#9 Le 28/10/2021, à 14:19

nany

Re : Erreur au demarrage (DUAL BOOT avec WIN10)

geole a écrit :

Donc ce n'est pas…

Oups ! J’ai corrigé.

geole a écrit :

De plus,  après avoir fait le chroot, il est nécessaire de monter la partition EFI avant de faire l'installation du grub donc

sudo mkdir  -v /boot/efi  ####?????
sudo mount /dev/sdb2 /boot/efi

La commande mount -a est là pour ça.

Hors ligne

#10 Le 28/10/2021, à 14:37

louisj7

Re : Erreur au demarrage (DUAL BOOT avec WIN10)

J'ai effectué ce que propose nany et voici le retour
l

.............
grub-install: info: relocating an R_X86_64_64 entry to 0x4d29 at the offset 0x2bbc.
..........
grub-install: info: adding a relocation entry for 0xe560.
grub-install: info: adding 8 padding fixup entries.
grub-install: info: writing 256 bytes of a fixup block starting at 0xe000.
grub-install: info: reading /usr/lib/grub/x86_64-efi/fshelp.mod.
grub-install: info: reading /usr/lib/grub/x86_64-efi/ext2.mod.
grub-install: info: reading /usr/lib/grub/x86_64-efi/part_msdos.mod.
grub-install: info: reading /usr/lib/grub/x86_64-efi/search_fs_uuid.mod.
grub-install: info: reading /boot/grub/x86_64-efi/load.cfg.
grub-install: info: kernel_img=0x56f88b20, kernel_size=0x1a200.
grub-install: info: the core size is 0x1f4d8.
grub-install: info: writing 0x20800 bytes.
grub-install: info: copying `/usr/lib/grub/x86_64-efi-signed/grubx64.efi.signed' -> `/boot/efi/EFI/grub/grubx64.efi'.
grub-install: info: copying `/boot/grub/x86_64-efi/load.cfg' -> `/boot/efi/EFI/grub/grub.cfg'.
grub-install: info: copying `/usr/lib/grub/x86_64-efi-signed/grubx64.efi.signed' -> `/boot/efi/EFI/Boot/bootx64.efi'.
grub-install: info: copying `/usr/lib/shim/fbx64.efi' -> `/boot/efi/EFI/Boot/fbx64.efi'.
grub-install: info: cannot open `/usr/lib/shim/fbx64.efi': No such file or directory.
grub-install: info: Registering with EFI: distributor = `grub', path = `\EFI\grub\grubx64.efi', ESP at hostdisk//dev/sdb,gpt2.
grub-install: info: executing efibootmgr --version </dev/null >/dev/null.
grub-install: info: executing modprobe -q efivars.
grub-install: info: executing efibootmgr -c -d /dev/sdb -p 2 -w -L grub -l \EFI\grub\grubx64.efi.
BootCurrent: 0003
Timeout: 0 seconds
BootOrder: 0005,0002,0000,0004,0001,0003,2001,2002,2003
Boot0000* ubuntu
Boot0001* Windows Boot Manager
Boot0002* rEFInd Boot Manager
Boot0003* Linpus lite
Boot0004  rEFInd Boot Manager
Boot2001* EFI USB Device
Boot2002* EFI DVD/CDROM
Boot2003* EFI Network
Boot0005* grub
Installation finished. No error reported.

Hors ligne

#11 Le 28/10/2021, à 14:43

nany

Re : Erreur au demarrage (DUAL BOOT avec WIN10)

Bien, sors du chroot :

exit

Quitte le terminal :

exit

Et redémarre pour voir.

Hors ligne

#12 Le 28/10/2021, à 15:18

louisj7

Re : Erreur au demarrage (DUAL BOOT avec WIN10)

Super ça Fonctionne !!!!! big_smile big_smile big_smile

Seul petit hic :  Grub ne me proposait plus Windows,
je suis allé dans Grub Customizer et je l'ai remis.

Un grand MERCI à vous deux !!

Si j'ai bien compris Nany tu m'a fait deplacer les fichiers qui venaient du dossier mnt ? (en quelque sorte les fichiers étaient présent mais pas au bon endroit ?)

Merci en tout cas smile

Hors ligne

#13 Le 28/10/2021, à 15:36

nany

Re : Erreur au demarrage (DUAL BOOT avec WIN10)

louisj7 a écrit :

Si j'ai bien compris Nany tu m'a fait deplacer les fichiers qui venaient du dossier mnt ? (en quelque sorte les fichiers étaient présent mais pas au bon endroit ?)

C’est un peu plus compliqué mais c’est à peu près ça.

En fait, mnt à servi à faire le chroot (d’ailleurs je ne connais pas par cœur les commandes et je pompe à chaque fois que j’en ai besoin (c’est à dire rarement) dans le §1.2 de cette page de la documentation).
Un fois en chroot, la commande grub-install a (entre autres) recopié un fichier du système pour recréer le fichier grubx64.efi :

grub-install: info: copying `/usr/lib/grub/x86_64-efi-signed/grubx64.efi.signed' -> `/boot/efi/EFI/grub/grubx64.efi'.

Hors ligne