Contenu | Rechercher | Menus

Annonce

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

À propos de l'équipe du forum.

#1 Le 03/06/2021, à 17:05

Retienne

Dual-Boot Ubuntu / Windows 10 - Grub

Bonjour,

Je viens d'acquérir un HP Elite Desk.

J'ai suivi les tutoriels suivants pour le mettre en dual-boot Ubuntu 20.04 / Windows 10 :
[*]https://www.astuces-aide-informatique.i … untu-linux[/*]
[*]https://doc.ubuntu-fr.org/cohabitation_ubuntu_windows[/*]

Tout fonctionne correctement, sauf la fenêtre du grub qui s'éteint à peine allumée.

J'étais préférentiellement sur Ubuntu, ce qui m'a permis de modifier le Grub, puis le mettre à jour, mais aucun changement sur la fenêtre qui s'éteint brutalement, puis le boot se lançait sur Ubuntu.

J'ai utilisé Grub Customizer, et prédéfini Windows en entrée par défaut dans les paramètres généraux (2ème onglet), mais je ne peux plus revenir sur Ubuntu.

Merci de vos lumières.

Etienne

Hors ligne

#2 Le 03/06/2021, à 17:09

LukePerp

Re : Dual-Boot Ubuntu / Windows 10 - Grub

Bonjour,
Voyons voir, montres stp :

cat /etc/default/grub
sudo apt install inxi -y && inxi -Fxz

Gamer inside - Ubuntu Mate dernière LTS - Intel i5, 16 Go - Dual boot Windows - Ethereum user

Hors ligne

#3 Le 03/06/2021, à 18:37

lucmars

Re : Dual-Boot Ubuntu / Windows 10 - Grub

LukePerp a écrit :

Bonjour,
Voyons voir, montres stp :

cat /etc/default/grub
sudo apt install inxi -y && inxi -Fxz

Depuis quoi ?


Gaulois Matter !

Hors ligne

#4 Le 03/06/2021, à 19:10

Retienne

Re : Dual-Boot Ubuntu / Windows 10 - Grub

Effectivement, il me me manque l'accès pour entrer les commandes...

Hors ligne

#5 Le 03/06/2021, à 19:30

lucmars

Re : Dual-Boot Ubuntu / Windows 10 - Grub

Retienne a écrit :

Effectivement, il me me manque l'accès pour entrer les commandes...

Vois si tu peux lancer buntu depuis le boot-menu du bios

Sinon juste après le prompt du bios presse la touche maj (ou esc) jusqu'à l'appel du grub (grub loading) qui ne devrait pas etre subreptice par la suite.

Si t'arrives à booter sur ton buntu balances les commandes de Luke

Ta clef/dvd buntu d'installe en dernier recours.


Gaulois Matter !

Hors ligne

#6 Le 04/06/2021, à 08:47

ikewdu

Re : Dual-Boot Ubuntu / Windows 10 - Grub

Salut,

Depuis ton Live d'installation, peux-tu faire un rapport boot-info ?

C'est sûrement grub-customizer, qui est un ami peu fiable, qui t'a mise le bazar.

Hors ligne

#7 Le 04/06/2021, à 10:58

Retienne

Re : Dual-Boot Ubuntu / Windows 10 - Grub

Bonjour,

@lucmars : j'ai bien modifié dans le Bios en désactivant l'amorce Windows, sans succès (cf https://photos.app.goo.gl/XjY3KqXz1FEhp4Xo6)

@Ikewdu : rapport boot-info à partir du Live USB

Hors ligne

#8 Le 04/06/2021, à 11:47

malbo

Re : Dual-Boot Ubuntu / Windows 10 - Grub

Bonjour,
Je colle ci-dessous le contenu du rapport Boot-info dont tu as donné le lien ( http://paste.ubuntu.com/p/J8wgWNb7Pm/ ) dans le post #7 :

boot-info-4ppa130                                              [20210604_0950]

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

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

nvme0n1p1: _____________________________________________________________________

    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/bootx64.efi /efi/Boot/fbx64.efi 
                       /efi/Boot/mmx64.efi /efi/ubuntu/grubx64.efi 
                       /efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi 
                       /efi/ubuntu/grub.cfg /efi/HP/BiosUpdate/BiosMgmt.efi 
                       /efi/HP/BiosUpdate/CryptRSA.efi 
                       /efi/HP/SystemDiags/CryptRSA.efi 
                       /efi/HP/SystemDiags/SysDiags.efi 
                       /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi 
                       /efi/Microsoft/Boot/memtest.efi

nvme0n1p2: _____________________________________________________________________

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

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:        /Windows/System32/winload.exe

nvme0n1p4: _____________________________________________________________________

    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:        

nvme0n1p5: _____________________________________________________________________

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

sda: ___________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Unknown
    Boot sector info: 
    Mounting failed:   mount: /mnt/BootInfo/FD/sda: /dev/sda already mounted or mount point busy.


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

OS#1:   Ubuntu 20.04.2 LTS on nvme0n1p5
OS#2:   Windows 10 on nvme0n1p3

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

CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Ubuntu 20.04.2 LTS, focal, x86_64)


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

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

efibootmgr -v
BootCurrent: 0003
Timeout: 0 seconds
BootOrder: 0004,0000,0003,0001,0002
Boot0000* Windows Boot Manager	HD(1,GPT,ab9d8fc4-4c26-4475-941c-c4fc8d7505b3,0x800,0x82000)/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.}...)....................ISPH
Boot0001* IPV4 Network - Intel(R) Ethernet Connection (11) I219-LM	PciRoot(0x0)/Pci(0x1f,0x6)/MAC(6c02e09b4fa5,0)/IPv4(0.0.0.00.0.0.0,0,0)N.....YM....R,Y.....ISPH
Boot0002* IPV6 Network - Intel(R) Ethernet Connection (11) I219-LM	PciRoot(0x0)/Pci(0x1f,0x6)/MAC(6c02e09b4fa5,0)/IPv6([::]:<->[::]:,0,0)N.....YM....R,Y.....ISPH
Boot0003* Generic Mass Storage 	PciRoot(0x0)/Pci(0x14,0x0)/USB(4,0)N.....YM....R,Y.....ISPH
Boot0004* ubuntu	HD(1,GPT,ab9d8fc4-4c26-4475-941c-c4fc8d7505b3,0x800,0x82000)/File(\EFI\ubuntu\shimx64.efi)
This session has been detected as 'live' because df -Th / contains overlay

78415fb8fb9b909f8029858113f1335f   nvme0n1p1/Boot/bootx64.efi
2895d47544fd587b26c7e29be1295c27   nvme0n1p1/Boot/fbx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   nvme0n1p1/Boot/mmx64.efi
e169c84b62cae5d67d21f3412edf807f   nvme0n1p1/ubuntu/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   nvme0n1p1/ubuntu/mmx64.efi
78415fb8fb9b909f8029858113f1335f   nvme0n1p1/ubuntu/shimx64.efi
46c6130c56621dce211421666c58441d   nvme0n1p1/HP/BiosUpdate/BiosMgmt.efi
6488d391f74263c9da3c3d47dffa6212   nvme0n1p1/HP/BiosUpdate/CryptRSA.efi
6488d391f74263c9da3c3d47dffa6212   nvme0n1p1/HP/SystemDiags/CryptRSA.efi
c511816f6da5f7c3a3b81781d5829df8   nvme0n1p1/HP/SystemDiags/SysDiags.efi
65ad5b21d383bf7e929b760c0365e892   nvme0n1p1/Microsoft/Boot/bootmgfw.efi
6ac6140f2977efdbfe2c6b6e8e832495   nvme0n1p1/Microsoft/Boot/bootmgr.efi


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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

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

Partitions info (2/3): _________________________________________________________

nvme0n1p1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p3	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
nvme0n1p5	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

nvme0n1p1	: 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
nvme0n1p4	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	nvme0n1
nvme0n1p5	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	nvme0n1

fdisk -l (filtered): ___________________________________________________________

Disk nvme0n1: 476.96 GiB, 512110190592 bytes, 1000215216 sectors
Disk identifier: 7BF9FB95-BD80-4073-ADC0-02E28F89F2EA
              Start        End   Sectors   Size Type
nvme0n1p1      2048     534527    532480   260M EFI System
nvme0n1p2    534528     567295     32768    16M Microsoft reserved
nvme0n1p3    567296  195659991 195092696    93G Microsoft basic data
nvme0n1p4 998510592 1000204287   1693696   827M Windows recovery environment
nvme0n1p5 195661824  998510591 802848768 382.8G Linux filesystem
Partition table entries are not in disk order.
Disk sda: 3.77 GiB, 4027580416 bytes, 7866368 sectors
Disk identifier: 0x38b1c112
      Boot   Start     End Sectors  Size Id Type
sda1  *          0 5619583 5619584  2.7G  0 Empty
sda2          1700    9699    8000  3.9M ef EFI (FAT-12/16/32)
sda3       5619712 7866367 2246656  1.1G 83 Linux

parted -lm (filtered): _________________________________________________________

sda:4028MB:scsi:512:512:unknown:Generic Flash Disk:;
nvme0n1:512GB:nvme:512:512:gpt:INTEL SSDPEKNW512G8H:;
1:1049kB:274MB:273MB:fat32:EFI system partition:boot, esp;
2:274MB:290MB:16.8MB::Microsoft reserved partition:msftres;
3:290MB:100GB:99.9GB:ntfs:Basic data partition:msftdata;
5:100GB:511GB:411GB:ext4::;
4:511GB:512GB:867MB:ntfs:Basic data partition:hidden, diag;

blkid (filtered): ______________________________________________________________

NAME        FSTYPE   UUID                                 PARTUUID                             LABEL                      PARTLABEL
sda         iso9660  2021-02-09-19-06-26-00                                                    Ubuntu 20.04.2.0 LTS amd64 
├─sda1      iso9660  2021-02-09-19-06-26-00               38b1c112-01                          Ubuntu 20.04.2.0 LTS amd64 
├─sda2      vfat     54C5-9C6C                            38b1c112-02                                                     
└─sda3      ext4     36a15205-564e-4776-bf97-03e4a61ae9a2 38b1c112-03                          writable                   
nvme0n1                                                                                                                   
├─nvme0n1p1 vfat     583B-880B                            ab9d8fc4-4c26-4475-941c-c4fc8d7505b3 SYSTEM                     EFI system partition
├─nvme0n1p2                                               004fc7fa-beab-4dd9-9ce9-70188bbd9126                            Microsoft reserved partition
├─nvme0n1p3 ntfs     96F06880F0686907                     ce26bd02-0733-4967-a594-c577440ca8e7 Windows                    Basic data partition
├─nvme0n1p4 ntfs     62B8F97DB8F95051                     4dfabc9f-45d7-4892-b4c3-8fdbd5d61819 Windows RE Tools           Basic data partition
└─nvme0n1p5 ext4     764b0b68-cdd3-48e6-854f-a15e5185796e 24cdd5d2-6287-45f4-b330-740788d7bf69                            

df (filtered): _________________________________________________________________

                                                          Avail Use% Mounted on
disk/by-label/writable[/install-logs-2021-06-04.0/crash] 970.3M   1% /var/crash
disk/by-label/writable[/install-logs-2021-06-04.0/log]   970.3M   1% /var/log
nvme0n1p1                                                173.9M  32% /mnt/boot-sav/nvme0n1p1
nvme0n1p3                                                 34.1G  63% /mnt/boot-sav/nvme0n1p3
nvme0n1p4                                                115.2M  86% /mnt/boot-sav/nvme0n1p4
nvme0n1p5                                                346.5G   3% /mnt/boot-sav/nvme0n1p5
sda1                                                          0 100% /cdrom

Mount options: __________________________________________________________________

disk/by-label/writable[/install-logs-2021-06-04.0/crash] rw,relatime
disk/by-label/writable[/install-logs-2021-06-04.0/log]   rw,relatime
nvme0n1p1                                                rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
nvme0n1p3                                                ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
nvme0n1p4                                                rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
nvme0n1p5                                                rw,relatime
sda1                                                     ro,noatime,nojoliet,check=s,map=n,blocksize=2048

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

search.fs_uuid 764b0b68-cdd3-48e6-854f-a15e5185796e root 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   764b0b68-cdd3-48e6-854f-a15e5185796e
Ubuntu, with Linux 5.8.0-53-generic   764b0b68-cdd3-48e6-854f-a15e5185796e
Ubuntu, with Linux 5.8.0-43-generic   764b0b68-cdd3-48e6-854f-a15e5185796e
Windows Boot Manager (on nvme0n1p1)   osprober-efi-583B-880B
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

======================== nvme0n1p5/etc/fstab (filtered) ========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/nvme0n1p5 during installation
UUID=764b0b68-cdd3-48e6-854f-a15e5185796e /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=583B-880B  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0
UUID=96F06880F0686907 /home/etienne/windows ntfs defaults 0 0

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

GRUB_DEFAULT="Windows Boot Manager (on /dev/nvme0n1p1)"
GRUB_TIMEOUT_STYLE="menu"
GRUB_TIMEOUT="10"
GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_TERMINAL="console"
GRUB_SAVEDEFAULT="false"
================= nvme0n1p5: Location of files loaded by Grub ==================

           GiB - GB             File                                 Fragment(s)
 473.801250458 = 508.740218880  boot/grub/grub.cfg                             3
  99.831382751 = 107.193131008  boot/vmlinuz                                   1
  98.331314087 = 105.582444544  boot/vmlinuz-5.8.0-43-generic                  1
  99.831382751 = 107.193131008  boot/vmlinuz-5.8.0-53-generic                  1
  98.331314087 = 105.582444544  boot/vmlinuz.old                               1
 102.832481384 = 110.415536128  boot/initrd.img                                2
 102.769184113 = 110.347571200  boot/initrd.img-5.8.0-43-generic               1
 102.832481384 = 110.415536128  boot/initrd.img-5.8.0-53-generic               2
 102.769184113 = 110.347571200  boot/initrd.img.old                            1

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

-rwxr-xr-x 1 root root 17622 Jan 13 14:12 10_linux
-rwxr-xr-x 1 root root 42359 Jan 13 14:12 10_linux_zfs
-rwxr-xr-x 1 root root 12894 Jan 13 14:12 20_linux_xen
-rwxr-xr-x 1 root root 12059 Jan 13 14:12 30_os-prober
-rwxr-xr-x 1 root root  1424 Jan 13 14:12 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Jan 13 14:12 40_custom
-rwxr-xr-x 1 root root   216 Jan 13 14:12 41_custom
drwxr-xr-x 4 root root  4096 Jun  3 15:09 backup


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

Unknown BootLoader on sda

00000000  45 52 08 00 00 00 90 90  00 00 00 00 00 00 00 00  |ER..............|
00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
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  80 b6 05 00 00 00 00 00  12 c1 b1 38 00 00 80 00  |...........8....|
000001c0  01 00 00 ab e0 fc 00 00  00 00 80 bf 55 00 00 fe  |............U...|
000001d0  ff ff ef fe ff ff a4 06  00 00 40 1f 00 00 00 ce  |..........@.....|
000001e0  72 5d 83 a7 7e e9 00 c0  55 00 00 48 22 00 00 00  |r]..~...U..H"...|
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:[59327]) leaked on lvs invocation. Parent PID 8338: /bin/bash

Suggested repair: ______________________________________________________________

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

Confirmation request before suggested repair: __________________________________

The boot of your PC is in Secure mode. You may want to retry after changing it to non-Secure mode.
Are you sure you want to continue anyway?

Final advice in case of suggested repair: ______________________________________


Please do not forget to make your UEFI firmware boot on the Ubuntu 20.04.2 LTS entry (nvme0n1p1/efi/****/shim****.efi (**** will be updated in the final message) file) !
If your computer reboots directly into Windows, try to change the boot order in your UEFI firmware.

If your UEFI firmware does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\****\shim****.efi (**** will be updated in the final message)

Dernière modification par malbo (Le 04/06/2021, à 11:47)

Hors ligne

#9 Le 04/06/2021, à 16:09

lucmars

Re : Dual-Boot Ubuntu / Windows 10 - Grub

Le contenu du grub/default

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

GRUB_DEFAULT="Windows Boot Manager (on /dev/nvme0n1p1)"
GRUB_TIMEOUT_STYLE="menu"
GRUB_TIMEOUT="10"
GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_TERMINAL="console"
GRUB_SAVEDEFAULT="false"

Gaulois Matter !

Hors ligne

#10 Le 12/06/2021, à 08:17

Retienne

Re : Dual-Boot Ubuntu / Windows 10 - Grub

Bonjour,

Pour comprendre le problème, j'ai pris en vidéo le démarrage, montrant le temps extrêmement furtif de l'affichage du Grub :

Hors ligne

#11 Le 25/06/2021, à 15:16

Retienne

Re : Dual-Boot Ubuntu / Windows 10 - Grub

Bonjour,

Après un bon entraînement en dextérité, j'ai pu lancer Ubuntu (à 2 reprises pour cause de mises à jour nécessitant un redémarrage)...

J'ai désinstallé Grub customizer.

@LukePerp :

Pour la commande cat /etc/default/grub

etienne@hp-elitedesk-800-g6:~$ cat /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT="Advanced options for Ubuntu>Ubuntu, with Linux 5.8.0-59-generic"
GRUB_TIMEOUT_STYLE="menu"
GRUB_TIMEOUT="10"
GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
GRUB_TERMINAL="console"

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE="640x480"

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID="true"

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

GRUB_SAVEDEFAULT="false"etienne@hp-elitedesk-800-g6:~$ 

Pour la commande sudo apt install inxi -y && inxi -Fxz

System:
  Kernel: 5.8.0-59-generic x86_64 bits: 64 compiler: N/A 
  Desktop: Gnome 3.36.9 Distro: Ubuntu 20.04.2 LTS (Focal Fossa) 
Machine:
  Type: Mini-pc System: HP product: HP EliteDesk 800 G6 Desktop Mini PC 
  v: N/A serial: <filter> 
  Mobo: HP model: 8710 v: KBC Version 09.97.00 serial: <filter> UEFI: HP 
  v: S21 Ver. 02.06.02 date: 05/14/2021 
CPU:
  Topology: 8-Core model: Intel Core i7-10700 bits: 64 type: MT MCP 
  arch: N/A L2 cache: 16.0 MiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 92796 
  Speed: 1000 MHz min/max: 800/4800 MHz Core speeds (MHz): 1: 1039 2: 1039 
  3: 1039 4: 1038 5: 1042 6: 1038 7: 1099 8: 1035 9: 1091 10: 1042 11: 1038 
  12: 1047 13: 1036 14: 1096 15: 1032 16: 1043 
Graphics:
  Device-1: Intel vendor: Hewlett-Packard driver: i915 v: kernel 
  bus ID: 00:02.0 
  Display: x11 server: X.Org 1.20.9 driver: i915 resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa Intel UHD Graphics 630 (CML GT2) v: 4.6 Mesa 20.2.6 
  direct render: Yes 
Audio:
  Device-1: Intel Comet Lake PCH cAVS vendor: Hewlett-Packard 
  driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
  Sound Server: ALSA v: k5.8.0-59-generic 
Network:
  Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi v: kernel port: 3000 
  bus ID: 00:14.3 
  IF: wlp0s20f3 state: up mac: <filter> 
  Device-2: Intel Ethernet I219-LM vendor: Hewlett-Packard driver: e1000e 
  v: 3.2.6-k port: efa0 bus ID: 00:1f.6 
  IF: eno1 state: down mac: <filter> 
Drives:
  Local Storage: total: 625.99 GiB used: 428.13 GiB (68.4%) 
  ID-1: /dev/nvme0n1 vendor: Intel model: SSDPEKNW512G8H size: 476.94 GiB 
  ID-2: /dev/sda vendor: Samsung model: HM160HI size: 149.05 GiB 
Partition:
  ID-1: / size: 375.82 GiB used: 11.39 GiB (3.0%) fs: ext4 
  dev: /dev/nvme0n1p5 
Sensors:
  System Temperatures: cpu: 39.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 372 Uptime: 15m Memory: 15.42 GiB used: 2.73 GiB (17.7%) 
  Init: systemd runlevel: 5 Compilers: gcc: N/A Shell: bash v: 5.0.17 
  inxi: 3.0.38 

Merci.

Dernière modification par Retienne (Le 25/06/2021, à 15:22)

Hors ligne

#12 Le 28/06/2021, à 07:04

ikewdu

Re : Dual-Boot Ubuntu / Windows 10 - Grub

Re,

Essaie toujours de passer GRUB_TIMEOUT="10" à 30, et vois si ça change. N'oublie pas de passer avant redémarrage un

sudo update-grub

Hors ligne

#13 Le 06/07/2021, à 10:01

Retienne

Re : Dual-Boot Ubuntu / Windows 10 - Grub

Bonjour,

Après passage de 10 à 30 secondes du GRUB_TIMEOUT, et un update-grub, pas de modification du délai.

J'avais procédé à un boot-info (avant la modification précédente) :

boot-info-4ppa130                                              [20210705_1642]

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

 => No boot loader is installed in the MBR of /dev/nvme0n1.
 => Windows 2000/XP/2003 is installed in the MBR of /dev/sda.
 => Windows 7/8/2012 is installed in the MBR of /dev/sdb.

nvme0n1p1: _____________________________________________________________________

    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/bootx64.efi /efi/Boot/fbx64.efi 
                       /efi/Boot/mmx64.efi /efi/ubuntu/grubx64.efi 
                       /efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi 
                       /efi/ubuntu/grub.cfg /efi/HP/BiosUpdate/BiosMgmt.efi 
                       /efi/HP/BiosUpdate/CryptRSA.efi 
                       /efi/HP/SystemDiags/CryptRSA.efi 
                       /efi/HP/SystemDiags/SysDiags.efi 
                       /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi 
                       /efi/Microsoft/Boot/memtest.efi

nvme0n1p2: _____________________________________________________________________

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

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:        /Windows/System32/winload.exe

nvme0n1p4: _____________________________________________________________________

    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:        

nvme0n1p5: _____________________________________________________________________

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

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 2000/XP: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows XP
    Boot files:        /boot.ini /ntldr /NTDETECT.COM

sdb1: __________________________________________________________________________

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


================================ 3 OS detected =================================

OS#1:   L'OS actuellement utilisé - Ubuntu 20.04.2 LTS CurrentSession on nvme0n1p5
OS#2:   Windows 10 on nvme0n1p3
OS#3:   Windows XP on sda1

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

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.8.0-59-generic root=UUID=764b0b68-cdd3-48e6-854f-a15e5185796e ro quiet splash vt.handoff=7


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

BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot enabled.

efibootmgr -v
BootCurrent: 0004
Timeout: 0 seconds
BootOrder: 0004,0000,0003,0005,0001,0002
Boot0000* Windows Boot Manager	HD(1,GPT,ab9d8fc4-4c26-4475-941c-c4fc8d7505b3,0x800,0x82000)/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.}...)....................ISPH
Boot0001* IPV4 Network - Intel(R) Ethernet Connection (11) I219-LM	PciRoot(0x0)/Pci(0x1f,0x6)/MAC(6c02e09b4fa5,0)/IPv4(0.0.0.00.0.0.0,0,0)N.....YM....R,Y.....ISPH
Boot0002* IPV6 Network - Intel(R) Ethernet Connection (11) I219-LM	PciRoot(0x0)/Pci(0x1f,0x6)/MAC(6c02e09b4fa5,0)/IPv6([::]:<->[::]:,0,0)N.....YM....R,Y.....ISPH
Boot0003* Seagate BUP Slim BK NA9KTPH0	PciRoot(0x0)/Pci(0x14,0x0)/USB(24,0)N.....YM....R,Y.....ISPH
Boot0004* ubuntu	HD(1,GPT,ab9d8fc4-4c26-4475-941c-c4fc8d7505b3,0x800,0x82000)/File(\EFI\ubuntu\shimx64.efi)
Boot0005* SAMSUNG HM160HI 	PciRoot(0x0)/Pci(0x17,0x0)/Sata(0,65535,0)N.....YM....R,Y.....ISPH

78415fb8fb9b909f8029858113f1335f   nvme0n1p1/Boot/bootx64.efi
2895d47544fd587b26c7e29be1295c27   nvme0n1p1/Boot/fbx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   nvme0n1p1/Boot/mmx64.efi
fa1bf1a7f90a852abe0bdbd089b7f1b0   nvme0n1p1/ubuntu/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   nvme0n1p1/ubuntu/mmx64.efi
78415fb8fb9b909f8029858113f1335f   nvme0n1p1/ubuntu/shimx64.efi
46c6130c56621dce211421666c58441d   nvme0n1p1/HP/BiosUpdate/BiosMgmt.efi
6488d391f74263c9da3c3d47dffa6212   nvme0n1p1/HP/BiosUpdate/CryptRSA.efi
6488d391f74263c9da3c3d47dffa6212   nvme0n1p1/HP/SystemDiags/CryptRSA.efi
c511816f6da5f7c3a3b81781d5829df8   nvme0n1p1/HP/SystemDiags/SysDiags.efi
65ad5b21d383bf7e929b760c0365e892   nvme0n1p1/Microsoft/Boot/bootmgfw.efi
6ac6140f2977efdbfe2c6b6e8e832495   nvme0n1p1/Microsoft/Boot/bootmgr.efi


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

Disks info: ____________________________________________________________________

nvme0n1	: is-GPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes
sda	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	63 sectors * 512 bytes
sdb	: notGPT,	no-BIOSboot,	has-noESP, 	usb-disk,	not-mmc, no-os,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

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

Partitions info (2/3): _________________________________________________________

nvme0n1p5	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p3	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sda1	: isnotESP,	part-has-no-fstab,	ntldr,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

nvme0n1p5	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	nvme0n1
nvme0n1p1	: 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
nvme0n1p4	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	nvme0n1
sda1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sdb1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb

fdisk -l (filtered): ___________________________________________________________

Disk nvme0n1: 476.96 GiB, 512110190592 bytes, 1000215216 sectors
Disk identifier: 7BF9FB95-BD80-4073-ADC0-02E28F89F2EA
              Start        End   Sectors   Size Type
nvme0n1p1      2048     534527    532480   260M EFI System
nvme0n1p2    534528     567295     32768    16M Microsoft reserved
nvme0n1p3    567296  195659991 195092696    93G Microsoft basic data
nvme0n1p4 998510592 1000204287   1693696   827M Windows recovery environment
nvme0n1p5 195661824  998510591 802848768 382.8G Linux filesystem
Partition table entries are not in disk order.
Disk sda: 149.5 GiB, 160041885696 bytes, 312581808 sectors
Disk identifier: 0x000b627f
      Boot Start       End   Sectors  Size Id Type
sda1  *       63 312560639 312560577  149G  7 HPFS/NTFS/exFAT
Disk sdb: 1.84 TiB, 2000398933504 bytes, 3907029167 sectors
Disk identifier: 0xa2857e34
      Boot Start        End    Sectors  Size Id Type
sdb1        2048 3907026943 3907024896  1.8T  7 HPFS/NTFS/exFAT

parted -lm (filtered): _________________________________________________________

sda:160GB:scsi:512:512:msdos:ATA SAMSUNG HM160HI:;
1:32.3kB:160GB:160GB:ntfs::boot;
sdb:2000GB:scsi:512:4096:msdos:Seagate BUP Slim BK:;
1:1049kB:2000GB:2000GB:ntfs::;
nvme0n1:512GB:nvme:512:512:gpt:INTEL SSDPEKNW512G8H:;
1:1049kB:274MB:273MB:fat32:EFI system partition:boot, esp;
2:274MB:290MB:16.8MB::Microsoft reserved partition:msftres;
3:290MB:100GB:99.9GB:ntfs:Basic data partition:msftdata;
5:100GB:511GB:411GB:ext4::;
4:511GB:512GB:867MB:ntfs:Basic data partition:hidden, diag;

blkid (filtered): ______________________________________________________________

NAME        FSTYPE   UUID                                 PARTUUID                             LABEL                     PARTLABEL
sda                                                                                                                      
└─sda1      ntfs     2640904440901C9D                     000b627f-01                                                    
sdb                                                                                                                      
└─sdb1      ntfs     60FA561FFA55F1B0                     a2857e34-01                          Seagate Backup Plus Drive 
nvme0n1                                                                                                                  
├─nvme0n1p1 vfat     583B-880B                            ab9d8fc4-4c26-4475-941c-c4fc8d7505b3 SYSTEM                    EFI system partition
├─nvme0n1p2                                               004fc7fa-beab-4dd9-9ce9-70188bbd9126                           Microsoft reserved partition
├─nvme0n1p3 ntfs     96F06880F0686907                     ce26bd02-0733-4967-a594-c577440ca8e7 Windows                   Basic data partition
├─nvme0n1p4 ntfs     62B8F97DB8F95051                     4dfabc9f-45d7-4892-b4c3-8fdbd5d61819 Windows RE Tools          Basic data partition
└─nvme0n1p5 ext4     764b0b68-cdd3-48e6-854f-a15e5185796e 24cdd5d2-6287-45f4-b330-740788d7bf69                           

df (filtered): _________________________________________________________________

                   Avail Use% Mounted on
nvme0n1p3          37.2G  60% /home/etienne/windows
nvme0n1p4         115.2M  86% /mnt/boot-sav/nvme0n1p4
nvme0n1p5          31.5G  87% /
sda1              112.1G  25% /mnt/boot-sav/sda1
sdb1              753.3G  60% /mnt/boot-sav/sdb1

Mount options: __________________________________________________________________

nvme0n1p3         ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
nvme0n1p4         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
nvme0n1p5         rw,relatime,errors=remount-ro
sda1              rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdb1              rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096

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

search.fs_uuid 764b0b68-cdd3-48e6-854f-a15e5185796e root 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   764b0b68-cdd3-48e6-854f-a15e5185796e
Ubuntu, with Linux 5.8.0-59-generic   764b0b68-cdd3-48e6-854f-a15e5185796e
Ubuntu, with Linux 5.8.0-53-generic   764b0b68-cdd3-48e6-854f-a15e5185796e
Windows Boot Manager (on nvme0n1p1)   osprober-efi-583B-880B
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

======================== nvme0n1p5/etc/fstab (filtered) ========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/nvme0n1p5 during installation
UUID=764b0b68-cdd3-48e6-854f-a15e5185796e /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=583B-880B  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0
UUID=96F06880F0686907 /home/etienne/windows ntfs defaults 0 0

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

GRUB_DEFAULT="Advanced options for Ubuntu>Ubuntu, with Linux 5.8.0-59-generic"
GRUB_TIMEOUT_STYLE="menu"
GRUB_TIMEOUT="10"
GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_TERMINAL="console"
GRUB_SAVEDEFAULT="false"
================= nvme0n1p5: Location of files loaded by Grub ==================

           GiB - GB             File                                 Fragment(s)
 461,947704315 = 496,012570624  boot/grub/grub.cfg                             2
 106,839202881 = 114,717720576  boot/vmlinuz                                   1
  99,831382751 = 107,193131008  boot/vmlinuz-5.8.0-53-generic                  1
 106,839202881 = 114,717720576  boot/vmlinuz-5.8.0-59-generic                  1
  99,831382751 = 107,193131008  boot/vmlinuz.old                               1
 120,802310944 = 129,710493696  boot/initrd.img                                3
 100,927524567 = 108,370104320  boot/initrd.img-5.8.0-53-generic               4
 120,802310944 = 129,710493696  boot/initrd.img-5.8.0-59-generic               3
 100,927524567 = 108,370104320  boot/initrd.img.old                            4

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

-rwxr-xr-x 1 root root 17622 janv. 13 15:12 10_linux
-rwxr-xr-x 1 root root 42359 janv. 13 15:12 10_linux_zfs
-rwxr-xr-x 1 root root 12894 janv. 13 15:12 20_linux_xen
-rwxr-xr-x 1 root root 12059 janv. 13 15:12 30_os-prober
-rwxr-xr-x 1 root root  1424 janv. 13 15:12 30_uefi-firmware
-rwxr-xr-x 1 root root   214 janv. 13 15:12 40_custom
-rwxr-xr-x 1 root root   216 janv. 13 15:12 41_custom
drwxr-xr-x 4 root root  4096 juin   3 17:09 backup

=========================== sda1/boot.ini (filtered) ===========================

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professionnel" /noexecute=optin /fastdetect


Unmount sdb1 from /media/dominique/Seagate Backup Plus Drive/ to avoid special characters (& or \ or space) incompatibilities

Suggested repair: ______________________________________________________________

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

Confirmation request before suggested repair: __________________________________

The boot of your PC is in Secure mode. You may want to retry after changing it to non-Secure mode.
Are you sure you want to continue anyway?

Final advice in case of suggested repair: ______________________________________


Please do not forget to make your UEFI firmware boot on the L'OS actuellement utilisé - Ubuntu 20.04.2 LTS CurrentSession entry (nvme0n1p1/efi/****/shim****.efi (**** will be updated in the final message) file) !
If your computer reboots directly into Windows, try to change the boot order in your UEFI firmware.

If your UEFI firmware does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\****\shim****.efi (**** will be updated in the final message)

Dernière modification par Retienne (Le 06/07/2021, à 10:09)

Hors ligne

#14 Le 06/07/2021, à 16:36

Patrac89

Re : Dual-Boot Ubuntu / Windows 10 - Grub

Bonjour,
Peut-être vais-je dire une grÔsse bêtise mais ton grub réagit comme si une touche était enfoncée ou un clic de souris effectué.
Avant l'apparition du grub, rien de cela n'est fait ?
À voir au cas où !

Hors ligne

#15 Le 12/07/2021, à 14:02

Retienne

Re : Dual-Boot Ubuntu / Windows 10 - Grub

Bonjour,

J'ai rencontré des soucis d'espace sur mon disque, et j'ai donc dû augmenter la taille de la partition ; j'ai préféré réinstaller, mais cela n'a pas changé mon problème de boot.

Je ne sais pas où se voit la touche enfoncée, ou le clic impétueux, et j'ai donc changé de clavier, mais cela n'a rien changé.

Je repasse un boot-info, au cas où des éléments nouveaux seraient apparus :

boot-repair-4ppa130                                              [20210712_1458]

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

 => No boot loader is installed in the MBR of /dev/nvme0n1.
 => Windows 2000/XP/2003 is installed in the MBR of /dev/sda.

nvme0n1p1: _____________________________________________________________________

    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/ubuntu/grubx64.efi 
                       /efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi 
                       /efi/ubuntu/grub.cfg /efi/HP/BiosUpdate/BiosMgmt.efi 
                       /efi/HP/BiosUpdate/CryptRSA.efi 
                       /efi/HP/SystemDiags/CryptRSA.efi 
                       /efi/HP/SystemDiags/SysDiags.efi 
                       /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi 
                       /efi/Microsoft/Boot/memtest.efi

nvme0n1p2: _____________________________________________________________________

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

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 8 or 10
    Boot files:        /Windows/System32/winload.exe

nvme0n1p4: _____________________________________________________________________

    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:        

nvme0n1p5: _____________________________________________________________________

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

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 2000/XP: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows XP
    Boot files:        /boot.ini /ntldr /NTDETECT.COM


================================ 3 OS detected =================================

OS#1:   L'OS actuellement utilisé - Ubuntu 20.04.2 LTS CurrentSession on nvme0n1p5
OS#2:   Windows 8 or 10 on nvme0n1p3
OS#3:   Windows XP on sda1

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

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.8.0-59-generic root=UUID=233d0b2a-1f19-455f-b874-7aca21b0721b ro quiet splash vt.handoff=7


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

BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot enabled.

efibootmgr -v
BootCurrent: 0004
Timeout: 0 seconds
BootOrder: 0004,0000,0003,0005,0001,0002
Boot0000* Windows Boot Manager	HD(1,GPT,ab9d8fc4-4c26-4475-941c-c4fc8d7505b3,0x800,0x82000)/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.}...)....................ISPH
Boot0001* IPV4 Network - Intel(R) Ethernet Connection (11) I219-LM	PciRoot(0x0)/Pci(0x1f,0x6)/MAC(6c02e09b4fa5,0)/IPv4(0.0.0.00.0.0.0,0,0)N.....YM....R,Y.....ISPH
Boot0002* IPV6 Network - Intel(R) Ethernet Connection (11) I219-LM	PciRoot(0x0)/Pci(0x1f,0x6)/MAC(6c02e09b4fa5,0)/IPv6([::]:<->[::]:,0,0)N.....YM....R,Y.....ISPH
Boot0003* Generic Mass Storage 9908A45A	PciRoot(0x0)/Pci(0x14,0x0)/USB(11,0)N.....YM....R,Y.....ISPH
Boot0004* ubuntu	HD(1,GPT,ab9d8fc4-4c26-4475-941c-c4fc8d7505b3,0x800,0x82000)/File(\EFI\ubuntu\shimx64.efi)
Boot0005* SAMSUNG HM160HI 	PciRoot(0x0)/Pci(0x17,0x0)/Sata(0,65535,0)N.....YM....R,Y.....ISPH

78415fb8fb9b909f8029858113f1335f   nvme0n1p1/Boot/bkpbootx64.efi
78415fb8fb9b909f8029858113f1335f   nvme0n1p1/Boot/bootx64.efi
2895d47544fd587b26c7e29be1295c27   nvme0n1p1/Boot/fbx64.efi
fa1bf1a7f90a852abe0bdbd089b7f1b0   nvme0n1p1/Boot/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   nvme0n1p1/Boot/mmx64.efi
fa1bf1a7f90a852abe0bdbd089b7f1b0   nvme0n1p1/ubuntu/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   nvme0n1p1/ubuntu/mmx64.efi
78415fb8fb9b909f8029858113f1335f   nvme0n1p1/ubuntu/shimx64.efi
46c6130c56621dce211421666c58441d   nvme0n1p1/HP/BiosUpdate/BiosMgmt.efi
6488d391f74263c9da3c3d47dffa6212   nvme0n1p1/HP/BiosUpdate/CryptRSA.efi
6488d391f74263c9da3c3d47dffa6212   nvme0n1p1/HP/SystemDiags/CryptRSA.efi
c511816f6da5f7c3a3b81781d5829df8   nvme0n1p1/HP/SystemDiags/SysDiags.efi
9aeccc28d2f36520a9a75c418cb30db6   nvme0n1p1/Microsoft/Boot/bootmgfw.efi
bfba095bab3eb0e778b6914caad7362b   nvme0n1p1/Microsoft/Boot/bootmgr.efi


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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

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

Partitions info (2/3): _________________________________________________________

nvme0n1p5	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p3	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sda1	: isnotESP,	part-has-no-fstab,	ntldr,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

nvme0n1p5	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	nvme0n1
nvme0n1p1	: 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
nvme0n1p4	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	nvme0n1
sda1	: 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 nvme0n1: 476.96 GiB, 512110190592 bytes, 1000215216 sectors
Disk identifier: 7BF9FB95-BD80-4073-ADC0-02E28F89F2EA
              Start        End   Sectors  Size Type
nvme0n1p1      2048     534527    532480  260M EFI System
nvme0n1p2    534528     567295     32768   16M Microsoft reserved
nvme0n1p3    567296  134389975 133822680 63.8G Microsoft basic data
nvme0n1p4 998510592 1000204287   1693696  827M Windows recovery environment
nvme0n1p5 134391808  998510591 864118784  412G Linux filesystem
Partition table entries are not in disk order.
Disk sda: 149.5 GiB, 160041885696 bytes, 312581808 sectors
Disk identifier: 0x000b627f
      Boot Start       End   Sectors  Size Id Type
sda1  *       63 312560639 312560577  149G  7 HPFS/NTFS/exFAT

parted -lm (filtered): _________________________________________________________

sda:160GB:scsi:512:512:msdos:ATA SAMSUNG HM160HI:;
1:32.3kB:160GB:160GB:ntfs::boot;
nvme0n1:512GB:nvme:512:512:gpt:INTEL SSDPEKNW512G8H:;
1:1049kB:274MB:273MB:fat32:EFI system partition:boot, esp;
2:274MB:290MB:16.8MB::Microsoft reserved partition:msftres;
3:290MB:68.8GB:68.5GB:ntfs:Basic data partition:msftdata;
5:68.8GB:511GB:442GB:ext4::;
4:511GB:512GB:867MB:ntfs:Basic data partition:hidden, diag;

blkid (filtered): ______________________________________________________________

NAME        FSTYPE   UUID                                 PARTUUID                             LABEL            PARTLABEL
sda                                                                                                             
└─sda1      ntfs     2640904440901C9D                     000b627f-01                                           
nvme0n1                                                                                                         
├─nvme0n1p1 vfat     583B-880B                            ab9d8fc4-4c26-4475-941c-c4fc8d7505b3 SYSTEM           EFI system partition
├─nvme0n1p2                                               004fc7fa-beab-4dd9-9ce9-70188bbd9126                  Microsoft reserved partition
├─nvme0n1p3 ntfs     96F06880F0686907                     ce26bd02-0733-4967-a594-c577440ca8e7 Windows          Basic data partition
├─nvme0n1p4 ntfs     62B8F97DB8F95051                     4dfabc9f-45d7-4892-b4c3-8fdbd5d61819 Windows RE Tools Basic data partition
└─nvme0n1p5 ext4     233d0b2a-1f19-455f-b874-7aca21b0721b aed5df13-96d6-459c-b0ac-37f7adb35d4c                  

df (filtered): _________________________________________________________________

                   Avail Use% Mounted on
nvme0n1p3           8.3G  87% /mnt/boot-sav/nvme0n1p3
nvme0n1p4         115.2M  86% /mnt/boot-sav/nvme0n1p4
nvme0n1p5         346.3G   9% /
sda1              112.1G  25% /mnt/boot-sav/sda1

Mount options: __________________________________________________________________

nvme0n1p3         ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
nvme0n1p4         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
nvme0n1p5         rw,relatime,errors=remount-ro
sda1              rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096

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

search.fs_uuid 233d0b2a-1f19-455f-b874-7aca21b0721b root 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   233d0b2a-1f19-455f-b874-7aca21b0721b
Ubuntu, avec Linux 5.8.0-59-generic   233d0b2a-1f19-455f-b874-7aca21b0721b
Ubuntu, avec Linux 5.8.0-43-generic   233d0b2a-1f19-455f-b874-7aca21b0721b
Windows Boot Manager (sur nvme0n1p1)   osprober-efi-583B-880B
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

======================== nvme0n1p5/etc/fstab (filtered) ========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/nvme0n1p5 during installation
UUID=233d0b2a-1f19-455f-b874-7aca21b0721b /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=583B-880B  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

==================== nvme0n1p5/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=""

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

           GiB - GB             File                                 Fragment(s)
 376,333957672 = 404,085510144  boot/grub/grub.cfg                             3
 219,662445068 = 235,860754432  boot/vmlinuz                                   1
  68,716163635 = 73,783418880   boot/vmlinuz-5.8.0-43-generic                  2
 219,662445068 = 235,860754432  boot/vmlinuz-5.8.0-59-generic                  1
  68,716163635 = 73,783418880   boot/vmlinuz.old                               2
 220,711490631 = 236,987158528  boot/initrd.img                                4
 220,534896851 = 236,797542400  boot/initrd.img-5.8.0-43-generic               1
 220,711490631 = 236,987158528  boot/initrd.img-5.8.0-59-generic               4
 220,534896851 = 236,797542400  boot/initrd.img.old                            1

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

-rwxr-xr-x 1 root root 17622 janv. 13 15:12 10_linux
-rwxr-xr-x 1 root root 42359 janv. 13 15:12 10_linux_zfs
-rwxr-xr-x 1 root root 12894 janv. 13 15:12 20_linux_xen
-rwxr-xr-x 1 root root 12059 janv. 13 15:12 30_os-prober
-rwxr-xr-x 1 root root  1424 janv. 13 15:12 30_uefi-firmware
-rwxr-xr-x 1 root root   214 janv. 13 15:12 40_custom
-rwxr-xr-x 1 root root   216 janv. 13 15:12 41_custom

=========================== sda1/boot.ini (filtered) ===========================

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professionnel" /noexecute=optin /fastdetect


Suggested repair: ______________________________________________________________

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

Confirmation request before suggested repair: __________________________________

The boot of your PC is in Secure mode. You may want to retry after changing it to non-Secure mode.
Are you sure you want to continue anyway?

Final advice in case of suggested repair: ______________________________________


Please do not forget to make your UEFI firmware boot on the L'OS actuellement utilisé - Ubuntu 20.04.2 LTS CurrentSession entry (nvme0n1p1/efi/****/shim****.efi (**** will be updated in the final message) file) !
If your computer reboots directly into Windows, try to change the boot order in your UEFI firmware.

If your UEFI firmware does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\****\shim****.efi (**** will be updated in the final message)

Etienne

Dernière modification par Retienne (Le 12/07/2021, à 14:04)

Hors ligne