#1 Le 09/11/2020, à 16:04
- miir83
[Résolu]20.04.1 boot exactement une fois sur deux et l'autre sur grub>
Bonjour, si quelqu'un peut me mettre sur la voie, ce sera gentil.
1. Mon ordi HP est en dual-boot avec windows 10 et ubuntu 20.04.01. Ci-joint le boot-info mon pc ouvert sur Ubuntu.
2. Exactement une fois sur deux, au lancement il démarre "bien" sur le menu de grub2 avec le choix de l'OS. Le lien vers w10 est parfait et rapide, celui vers Ubuntu est plus lent avec superposition d'abord de l'icone d'HP, puis celui de Ubuntu, mais Ubuntu s'ouvre.
3. Exactement une fois sur deux, au lancement, le menu de grub2 ne s'ouvre pas sur la page de sélection de l'OS, j'arrive sur la console de grub> où j'ai trouvé comme moyen détourné, de saisir : exit et valider et, cette fois, j'ai le menu normal de grub2 qui s'ouvre avec sélection de l'OS, d'où je laisse filer depuis un moment, mais j'aimerais bien configurer mon démarrage plus proprement !
Merci d'avance.
boot-info-4ppa125 [20201109_1003]
============================== Boot Info Summary ===============================
=> No boot loader is installed in the MBR of /dev/sda.
=> No boot loader is installed in the MBR of /dev/sdb.
=> No boot loader is installed in the MBR of /dev/sdc.
sda1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda2: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda3: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 20.04.1 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sda4: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda5: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sdb1: __________________________________________________________________________
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/BiosMgmt32.efi
/efi/HP/BIOSUpdate/BiosMgmt.efi
/efi/HP/BIOSUpdate/CryptRSA32.efi
/efi/HP/BIOSUpdate/CryptRSA.efi
/efi/HP/BIOSUpdate/HpBiosMgmt32.efi
/efi/HP/BIOSUpdate/HpBiosMgmt.efi
/efi/HP/BIOSUpdate/HpBiosUpdate32.efi
/efi/HP/BIOSUpdate/HpBiosUpdate.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
sdb2: __________________________________________________________________________
File system:
Boot sector type: -
Boot sector info:
sdb3: __________________________________________________________________________
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
sdb4: __________________________________________________________________________
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:
sdc1: __________________________________________________________________________
File system: exfat
Boot sector type: Unknown
Boot sector info:
Operating System:
Boot files:
================================ 2 OS detected =================================
OS#1: L'OS actuellement utilisé - Ubuntu 20.04.1 LTS CurrentSession on sda3
OS#2: Windows 8 or 10 on sdb3
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-52-generic root=UUID=e2cbe7f6-f10b-4fe9-8083-929d35720168 ro quiet splash logo.nologo vt.handoff=7
===================================== UEFI =====================================
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot disabled.
efibootmgr -v
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,0000
Boot0000* Windows Boot Manager HD(1,GPT,53877e55-f7d0-4907-8069-d30bc52bacf2,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.}...&................
Boot0001* ubuntu HD(1,GPT,53877e55-f7d0-4907-8069-d30bc52bacf2,0x800,0x82000)/File(\EFI\UBUNTU\SHIMX64.EFI)
78415fb8fb9b909f8029858113f1335f sdb1/Boot/bkpbootx64.efi
78415fb8fb9b909f8029858113f1335f sdb1/Boot/bootx64.efi
2895d47544fd587b26c7e29be1295c27 sdb1/Boot/fbx64.efi
57aa3da585395db1e31f30d515885300 sdb1/Boot/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84 sdb1/Boot/mmx64.efi
d8b4b9ae3018b1f4612611be7f42507a sdb1/ubuntu/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84 sdb1/ubuntu/mmx64.efi
78415fb8fb9b909f8029858113f1335f sdb1/ubuntu/shimx64.efi
8d487ccb5d48e5c1d7c4f55bb9ec19f7 sdb1/HP/BIOSUpdate/BiosMgmt32.efi
b2f1475fdd84872c4fdecd2f84709a36 sdb1/HP/BIOSUpdate/BiosMgmt.efi
1b8c0684ede8539ccc205cf7a750eca3 sdb1/HP/BIOSUpdate/CryptRSA32.efi
6488d391f74263c9da3c3d47dffa6212 sdb1/HP/BIOSUpdate/CryptRSA.efi
f817b97dc6391d5b88b4be9bdd66d93c sdb1/HP/BIOSUpdate/HpBiosMgmt32.efi
cdb55cb9d4065529f72792fd9b54598f sdb1/HP/BIOSUpdate/HpBiosMgmt.efi
70f6ef267a8674cde4241a093ecd17d0 sdb1/HP/BIOSUpdate/HpBiosUpdate32.efi
f87920ec485bebcaf020648e3267a0ea sdb1/HP/BIOSUpdate/HpBiosUpdate.efi
6488d391f74263c9da3c3d47dffa6212 sdb1/HP/SystemDiags/CryptRSA.efi
1b89ce6e6ed9c195d61df80630b0465f sdb1/HP/SystemDiags/SysDiags.efi
15ba29cdd4054fd936a6e6acbd791336 sdb1/Microsoft/Boot/bootmgfw.efi
425b3cd6722f65838d3196ec7c39d9a4 sdb1/Microsoft/Boot/bootmgr.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : is-GPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
sdb : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
sdc : notGPT, no-BIOSboot, has-noESP, usb-disk, not-mmc, no-os, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda3 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, farbios
sdb1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sdb3 : is-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdb4 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda2 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda4 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdc1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
Partitions info (2/3): _________________________________________________________
sda3 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb3 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, no-bmgr, notwinboot
sdb4 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot
sda1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda2 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda4 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdc1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sda3 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, 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
sdb3 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdb
sdb4 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdb
sda1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda2 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda4 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sdc1 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdc
fdisk -l (filtered): ___________________________________________________________
Disk sdb: 119.25 GiB, 128035676160 bytes, 250069680 sectors
Disk identifier: 5B21AB32-7AAC-4B03-B898-85F4F188A297
Start End Sectors Size Type
sdb1 2048 534527 532480 260M EFI System
sdb2 534528 567295 32768 16M Microsoft reserved
sdb3 567296 248049663 247482368 118G Microsoft basic data
sdb4 248049664 250056703 2007040 980M Windows recovery environment
Disk sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: EECCDB98-A09E-4105-8B25-42687F5BDD94
Start End Sectors Size Type
sda1 2048 710346104 710344057 338.7G Microsoft basic data
sda2 726730752 766025727 39294976 18.8G Microsoft basic data
sda3 766025728 824619007 58593280 28G Linux filesystem
sda4 824619008 1953523711 1128904704 538.3G Linux filesystem
sda5 710346752 726730751 16384000 7.8G Linux swap
Partition table entries are not in disk order.
Disk sdc: 119.9 GiB, 127865454592 bytes, 249737216 sectors
Disk identifier: 0x00000000
Boot Start End Sectors Size Id Type
sdc1 32768 249737215 249704448 119.1G 7 HPFS/NTFS/exFAT
parted -lm (filtered): _________________________________________________________
sda:1000GB:scsi:512:4096:gpt:ATA ST1000DM003-1SB1:;
1:1049kB:364GB:364GB:ntfs:Basic data partition:msftdata;
5:364GB:372GB:8389MB:linux-swap(v1)::swap;
2:372GB:392GB:20.1GB:fat32::msftdata;
3:392GB:422GB:30.0GB:ext4::;
4:422GB:1000GB:578GB:ext4::;
sdb:128GB:scsi:512:4096:gpt:ATA LITEON CV8-8E128:;
1:1049kB:274MB:273MB:fat32:EFI system partition:boot, esp;
2:274MB:290MB:16.8MB::Microsoft reserved partition:msftres;
3:290MB:127GB:127GB:ntfs:Basic data partition:msftdata;
4:127GB:128GB:1028MB:ntfs:Basic data partition:hidden, diag;
sdc:128GB:scsi:512:512:msdos:Generic- SD/MMC/MS PRO:;
1:16.8MB:128GB:128GB:::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 ntfs 1A98B9C398B99DA7 f64040b2-b5fc-4863-a2be-3c53e702f702 DATA Basic data partition
├─sda2 vfat 962B-295C 64c1e566-dc95-48f6-9077-09ba15e75603 COMMUN
├─sda3 ext4 e2cbe7f6-f10b-4fe9-8083-929d35720168 74b76b15-282f-401e-b4ad-9e21cddc74fe
├─sda4 ext4 8d6ec83c-f569-4281-8a64-8993dc78c1e8 8299f47a-f713-4a0c-8480-5a15798c1810
└─sda5 swap e1c16844-b01f-46bc-92dd-1354be95e034 9c9e7c77-1304-4715-867a-dc7ec5f05e99
sdb
├─sdb1 vfat 10C2-9684 53877e55-f7d0-4907-8069-d30bc52bacf2 SYSTEM EFI system partition
├─sdb2 870179bf-6156-4064-aab6-fa9ef726887f Microsoft reserved partition
├─sdb3 ntfs 44504CDE504CD876 c15643c1-8d7f-4082-a033-9b882ad4725e Windows Basic data partition
└─sdb4 ntfs 126634C86634ADFB f76f270c-ddbd-4a81-bdef-6feda3767a91 Windows RE tools Basic data partition
sdc
└─sdc1 exfat 3865-3631
df (filtered): _________________________________________________________________
Avail Use% Mounted on
sda1 338.6G 0% /mnt/boot-sav/sda1
sda2 18.6G 1% /mnt/boot-sav/sda2
sda3 9.5G 60% /
sda4 416.1G 16% /home
sdb3 65.3G 45% /mnt/boot-sav/sdb3
sdb4 531.7M 46% /mnt/boot-sav/sdb4
sdc1 79.6G 33% /media/autre/3865-3631
Mount options: __________________________________________________________________
sda1 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda2 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sda3 rw,relatime,errors=remount-ro
sda4 rw,relatime
sdb3 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdb4 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdc1 rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096
====================== sda3/boot/grub/grub.cfg (filtered) ======================
Ubuntu e2cbe7f6-f10b-4fe9-8083-929d35720168
Ubuntu, avec Linux 5.4.0-52-generic e2cbe7f6-f10b-4fe9-8083-929d35720168
Ubuntu, avec Linux 5.4.0-51-generic e2cbe7f6-f10b-4fe9-8083-929d35720168
Windows Boot Manager (sur sdb1) osprober-efi-10C2-9684
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
========================== sda3/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda3 during installation
UUID=e2cbe7f6-f10b-4fe9-8083-929d35720168 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sdb1 during installation
UUID=10C2-9684 /boot/efi vfat umask=0077 0 1
# /home was on /dev/sda4 during installation
UUID=8d6ec83c-f569-4281-8a64-8993dc78c1e8 /home ext4 defaults 0 2
# swap was on /dev/sda5 during installation
UUID=e1c16844-b01f-46bc-92dd-1354be95e034 none swap sw 0 0
/dev/disk/by-id/usb-Generic-_SD_MMC_MS_PRO_20121112761000000-0:0 /mnt/usb-Generic-_SD_MMC_MS_PRO_20121112761000000-0:0 auto nosuid,nodev,nofail,x-gvfs-show 0 0
======================= sda3/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=3
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash logo.nologo"
GRUB_CMDLINE_LINUX=""
==================== sda3: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
383,240371704 = 411,501215744 boot/grub/grub.cfg 2
372,842906952 = 400,337022976 boot/vmlinuz 1
382,053844452 = 410,227191808 boot/vmlinuz-5.4.0-51-generic 1
372,842906952 = 400,337022976 boot/vmlinuz-5.4.0-52-generic 1
382,053844452 = 410,227191808 boot/vmlinuz.old 1
376,526622772 = 404,292382720 boot/initrd.img 6
377,995365143 = 405,869432832 boot/initrd.img-5.4.0-51-generic 4
376,526622772 = 404,292382720 boot/initrd.img-5.4.0-52-generic 6
377,995365143 = 405,869432832 boot/initrd.img.old 4
===================== sda3: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 17622 sept. 8 12:24 10_linux
-rwxr-xr-x 1 root root 42359 sept. 8 12:24 10_linux_zfs
-rwxr-xr-x 1 root root 12894 juil. 31 02:34 20_linux_xen
-rwxr-xr-x 1 root root 12059 juil. 31 02:34 30_os-prober
-rwxr-xr-x 1 root root 1424 juil. 31 02:34 30_uefi-firmware
-rwxr-xr-x 1 root root 214 juil. 31 02:34 40_custom
-rwxr-xr-x 1 root root 216 juil. 31 02:34 41_custom
===================== sdb1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid e2cbe7f6-f10b-4fe9-8083-929d35720168 root hd0,gpt3
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
======================== Unknown MBRs/Boot Sectors/etc =========================
/dev/sdb1: unknown GPT attributes
8000000000000000
/dev/sdb2: unknown GPT attributes
8000000000000000
/dev/sdb4: unknown GPT attributes
8000000000000001
Unknown BootLoader on sdc1
00000000 eb 76 90 45 58 46 41 54 20 20 20 00 00 00 00 00 |.v.EXFAT .....|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000040 00 80 00 00 00 00 00 00 00 30 e2 0e 00 00 00 00 |.........0......|
00000050 00 40 00 00 00 40 00 00 00 80 00 00 b0 e1 0e 00 |.@...@..........|
00000060 04 00 00 00 31 36 65 38 00 01 02 00 09 08 01 80 |....16e8........|
00000070 21 00 00 00 00 00 00 00 f4 f4 f4 f4 f4 f4 f4 f4 |!...............|
00000080 f4 f4 f4 f4 f4 f4 f4 f4 f4 f4 f4 f4 f4 f4 f4 f4 |................|
*
000001f0 f4 f4 f4 f4 f4 f4 f4 f4 f4 f4 f4 f4 f4 f4 55 aa |..............U.|
00000200
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of
sda3,
using the following options: sdb1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix use-standard-efi-file restore-efi-backups
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.1 LTS CurrentSession entry (sdb1/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 miir83 (Le 10/11/2020, à 08:33)
Hors ligne
#2 Le 09/11/2020, à 16:56
- geole
Re : [Résolu]20.04.1 boot exactement une fois sur deux et l'autre sur grub>
Bonjour
Depuis quelque temps, grub pose des problèmes
Acceptes-tu de tester cela
1) Ouvrir le fichier /etc/default/grub avec ton éditeur favori.
2) rechercher cette ligne
#GRUB_TERMINAL=console
3) Lui enlever le premier caractère
4) Sauver et quitter l'éditeur
5) Faire prendre en compte la modification avec cette commande
sudo update-grub
NOTA. c'est une modification testée pour les grub qui ne sont pas en dual-boot.
J'ai noté
===================================== UEFI =====================================
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot disabled.
Si grub ne fonctionne pas très bien, tu pourrais regarder du coté de refind, il suffit de faire cette commande
sudo apt install refind
Dernière modification par geole (Le 09/11/2020, à 16:58)
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit, utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#3 Le 09/11/2020, à 17:20
- miir83
Re : [Résolu]20.04.1 boot exactement une fois sur deux et l'autre sur grub>
Merci beaucoup pour cette réponse même si la première partie (console décommentée) n'a pas eu d'effet.
J'attends encore un peu d'éventuelles autres suggestions avant de tenter de remplacer grub par refind.
Dernière modification par miir83 (Le 09/11/2020, à 17:21)
Hors ligne
#4 Le 10/11/2020, à 07:22
- miir83
Re : [Résolu]20.04.1 boot exactement une fois sur deux et l'autre sur grub>
Mystère ? Est-ce :
- après avoir changé des paramètres du bios ?
- avoir réinstallé nvidia-driver 450 alors que ma nvidia gtx 1050 n'était plus reconnue suite aux modifications des paramètres du BIOS ?
- est-ce après une mise à jour ?
mon menu de grub2 apparaît maintenant à chaque lancement.
J'en ai profité pour updater mon bios HP pavillon Desktop Gamin 690-00nf35 de F31 à F41 et cela marche toujours.
- voici le boot-info maintenant que cela marche (je retirerai le démarrage rapide mais il ne semble pas poser de problème)
boot-info-4ppa125 [20201110_0735]
============================== Boot Info Summary ===============================
=> No boot loader is installed in the MBR of /dev/sda.
=> No boot loader is installed in the MBR of /dev/sdb.
=> No boot loader is installed in the MBR of /dev/sdc.
sda1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda2: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda3: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 20.04.1 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sda4: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda5: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sdb1: __________________________________________________________________________
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/BiosMgmt32.efi
/efi/HP/BIOSUpdate/BiosMgmt.efi
/efi/HP/BIOSUpdate/CryptRSA32.efi
/efi/HP/BIOSUpdate/CryptRSA.efi
/efi/HP/BIOSUpdate/HpBiosMgmt32.efi
/efi/HP/BIOSUpdate/HpBiosMgmt.efi
/efi/HP/BIOSUpdate/HpBiosUpdate32.efi
/efi/HP/BIOSUpdate/HpBiosUpdate.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
sdb2: __________________________________________________________________________
File system:
Boot sector type: -
Boot sector info:
sdb3: __________________________________________________________________________
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
sdb4: __________________________________________________________________________
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:
sdc1: __________________________________________________________________________
File system: exfat
Boot sector type: Unknown
Boot sector info:
Operating System:
Boot files:
================================ 2 OS detected =================================
OS#1: L'OS actuellement utilisé - Ubuntu 20.04.1 LTS CurrentSession on sda3
OS#2: Windows 8 or 10 on sdb3
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-52-generic root=UUID=e2cbe7f6-f10b-4fe9-8083-929d35720168 ro quiet splash logo.nologo vt.handoff=7
===================================== UEFI =====================================
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot enabled.
efibootmgr -v
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,0000
Boot0000* Windows Boot Manager HD(1,GPT,53877e55-f7d0-4907-8069-d30bc52bacf2,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.}...&................
Boot0001* ubuntu HD(1,GPT,53877e55-f7d0-4907-8069-d30bc52bacf2,0x800,0x82000)/File(\EFI\UBUNTU\SHIMX64.EFI)
78415fb8fb9b909f8029858113f1335f sdb1/Boot/bkpbootx64.efi
78415fb8fb9b909f8029858113f1335f sdb1/Boot/bootx64.efi
2895d47544fd587b26c7e29be1295c27 sdb1/Boot/fbx64.efi
57aa3da585395db1e31f30d515885300 sdb1/Boot/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84 sdb1/Boot/mmx64.efi
d8b4b9ae3018b1f4612611be7f42507a sdb1/ubuntu/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84 sdb1/ubuntu/mmx64.efi
78415fb8fb9b909f8029858113f1335f sdb1/ubuntu/shimx64.efi
8d487ccb5d48e5c1d7c4f55bb9ec19f7 sdb1/HP/BIOSUpdate/BiosMgmt32.efi
b2f1475fdd84872c4fdecd2f84709a36 sdb1/HP/BIOSUpdate/BiosMgmt.efi
1b8c0684ede8539ccc205cf7a750eca3 sdb1/HP/BIOSUpdate/CryptRSA32.efi
6488d391f74263c9da3c3d47dffa6212 sdb1/HP/BIOSUpdate/CryptRSA.efi
f817b97dc6391d5b88b4be9bdd66d93c sdb1/HP/BIOSUpdate/HpBiosMgmt32.efi
cdb55cb9d4065529f72792fd9b54598f sdb1/HP/BIOSUpdate/HpBiosMgmt.efi
70f6ef267a8674cde4241a093ecd17d0 sdb1/HP/BIOSUpdate/HpBiosUpdate32.efi
f87920ec485bebcaf020648e3267a0ea sdb1/HP/BIOSUpdate/HpBiosUpdate.efi
6488d391f74263c9da3c3d47dffa6212 sdb1/HP/SystemDiags/CryptRSA.efi
1b89ce6e6ed9c195d61df80630b0465f sdb1/HP/SystemDiags/SysDiags.efi
15ba29cdd4054fd936a6e6acbd791336 sdb1/Microsoft/Boot/bootmgfw.efi
425b3cd6722f65838d3196ec7c39d9a4 sdb1/Microsoft/Boot/bootmgr.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : is-GPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
sdb : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
sdc : notGPT, no-BIOSboot, has-noESP, usb-disk, not-mmc, no-os, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda3 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, farbios
sdb1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sdb3 : is-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdb4 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda2 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda4 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdc1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
Partitions info (2/3): _________________________________________________________
sda3 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb3 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, no-bmgr, notwinboot
sdb4 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot
sda1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda2 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda4 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdc1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sda3 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, 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
sdb3 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdb
sdb4 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdb
sda1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda2 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda4 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sdc1 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdc
fdisk -l (filtered): ___________________________________________________________
Disk sdb: 119.25 GiB, 128035676160 bytes, 250069680 sectors
Disk identifier: 5B21AB32-7AAC-4B03-B898-85F4F188A297
Start End Sectors Size Type
sdb1 2048 534527 532480 260M EFI System
sdb2 534528 567295 32768 16M Microsoft reserved
sdb3 567296 248049663 247482368 118G Microsoft basic data
sdb4 248049664 250056703 2007040 980M Windows recovery environment
Disk sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: EECCDB98-A09E-4105-8B25-42687F5BDD94
Start End Sectors Size Type
sda1 2048 710346104 710344057 338.7G Microsoft basic data
sda2 726730752 766025727 39294976 18.8G Microsoft basic data
sda3 766025728 824619007 58593280 28G Linux filesystem
sda4 824619008 1953523711 1128904704 538.3G Linux filesystem
sda5 710346752 726730751 16384000 7.8G Linux swap
Partition table entries are not in disk order.
Disk sdc: 119.9 GiB, 127865454592 bytes, 249737216 sectors
Disk identifier: 0x00000000
Boot Start End Sectors Size Id Type
sdc1 32768 249737215 249704448 119.1G 7 HPFS/NTFS/exFAT
parted -lm (filtered): _________________________________________________________
sda:1000GB:scsi:512:4096:gpt:ATA ST1000DM003-1SB1:;
1:1049kB:364GB:364GB:ntfs:Basic data partition:msftdata;
5:364GB:372GB:8389MB:linux-swap(v1)::swap;
2:372GB:392GB:20.1GB:fat32::msftdata;
3:392GB:422GB:30.0GB:ext4::;
4:422GB:1000GB:578GB:ext4::;
sdb:128GB:scsi:512:4096:gpt:ATA LITEON CV8-8E128:;
1:1049kB:274MB:273MB:fat32:EFI system partition:boot, esp;
2:274MB:290MB:16.8MB::Microsoft reserved partition:msftres;
3:290MB:127GB:127GB:ntfs:Basic data partition:msftdata;
4:127GB:128GB:1028MB:ntfs:Basic data partition:hidden, diag;
sdc:128GB:scsi:512:512:msdos:Generic- SD/MMC/MS PRO:;
1:16.8MB:128GB:128GB:::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 ntfs 1A98B9C398B99DA7 f64040b2-b5fc-4863-a2be-3c53e702f702 DATA Basic data partition
├─sda2 vfat 962B-295C 64c1e566-dc95-48f6-9077-09ba15e75603 COMMUN
├─sda3 ext4 e2cbe7f6-f10b-4fe9-8083-929d35720168 74b76b15-282f-401e-b4ad-9e21cddc74fe
├─sda4 ext4 8d6ec83c-f569-4281-8a64-8993dc78c1e8 8299f47a-f713-4a0c-8480-5a15798c1810
└─sda5 swap e1c16844-b01f-46bc-92dd-1354be95e034 9c9e7c77-1304-4715-867a-dc7ec5f05e99
sdb
├─sdb1 vfat 10C2-9684 53877e55-f7d0-4907-8069-d30bc52bacf2 SYSTEM EFI system partition
├─sdb2 870179bf-6156-4064-aab6-fa9ef726887f Microsoft reserved partition
├─sdb3 ntfs 44504CDE504CD876 c15643c1-8d7f-4082-a033-9b882ad4725e Windows Basic data partition
└─sdb4 ntfs 126634C86634ADFB f76f270c-ddbd-4a81-bdef-6feda3767a91 Windows RE tools Basic data partition
sdc
└─sdc1 exfat 3865-3631
df (filtered): _________________________________________________________________
Avail Use% Mounted on
sda1 338.6G 0% /mnt/boot-sav/sda1
sda2 18.6G 1% /mnt/boot-sav/sda2
sda3 9G 62% /
sda4 416.1G 16% /home
sdb3 65.4G 45% /mnt/boot-sav/sdb3
sdb4 531.7M 46% /mnt/boot-sav/sdb4
sdc1 79.5G 33% /media/autre/3865-3631
Mount options: __________________________________________________________________
sda1 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda2 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sda3 rw,relatime,errors=remount-ro
sda4 rw,relatime
sdb3 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdb4 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdc1 rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096
====================== sda3/boot/grub/grub.cfg (filtered) ======================
Ubuntu e2cbe7f6-f10b-4fe9-8083-929d35720168
Ubuntu, avec Linux 5.4.0-52-generic e2cbe7f6-f10b-4fe9-8083-929d35720168
Ubuntu, avec Linux 5.4.0-51-generic e2cbe7f6-f10b-4fe9-8083-929d35720168
Windows Boot Manager (sur sdb1) osprober-efi-10C2-9684
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
========================== sda3/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda3 during installation
UUID=e2cbe7f6-f10b-4fe9-8083-929d35720168 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sdb1 during installation
UUID=10C2-9684 /boot/efi vfat umask=0077 0 1
# /home was on /dev/sda4 during installation
UUID=8d6ec83c-f569-4281-8a64-8993dc78c1e8 /home ext4 defaults 0 2
# swap was on /dev/sda5 during installation
UUID=e1c16844-b01f-46bc-92dd-1354be95e034 none swap sw 0 0
/dev/disk/by-id/usb-Generic-_SD_MMC_MS_PRO_20121112761000000-0:0 /mnt/usb-Generic-_SD_MMC_MS_PRO_20121112761000000-0:0 auto nosuid,nodev,nofail,x-gvfs-show 0 0
======================= sda3/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=3
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash logo.nologo"
GRUB_CMDLINE_LINUX=""
==================== sda3: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
382,730468750 = 410,953711616 boot/grub/grub.cfg 2
372,842906952 = 400,337022976 boot/vmlinuz 1
382,053844452 = 410,227191808 boot/vmlinuz-5.4.0-51-generic 1
372,842906952 = 400,337022976 boot/vmlinuz-5.4.0-52-generic 1
382,053844452 = 410,227191808 boot/vmlinuz.old 1
376,819591522 = 404,606955520 boot/initrd.img 1
373,985603333 = 401,563983872 boot/initrd.img-5.4.0-51-generic 1
376,819591522 = 404,606955520 boot/initrd.img-5.4.0-52-generic 1
373,985603333 = 401,563983872 boot/initrd.img.old 1
===================== sda3: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 17622 sept. 8 12:24 10_linux
-rwxr-xr-x 1 root root 42359 sept. 8 12:24 10_linux_zfs
-rwxr-xr-x 1 root root 12894 juil. 31 02:34 20_linux_xen
-rwxr-xr-x 1 root root 12059 juil. 31 02:34 30_os-prober
-rwxr-xr-x 1 root root 1424 juil. 31 02:34 30_uefi-firmware
-rwxr-xr-x 1 root root 214 juil. 31 02:34 40_custom
-rwxr-xr-x 1 root root 216 juil. 31 02:34 41_custom
===================== sdb1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid e2cbe7f6-f10b-4fe9-8083-929d35720168 root hd0,gpt3
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
======================== Unknown MBRs/Boot Sectors/etc =========================
/dev/sdb1: unknown GPT attributes
8000000000000000
/dev/sdb2: unknown GPT attributes
8000000000000000
/dev/sdb4: unknown GPT attributes
8000000000000001
Unknown BootLoader on sdc1
00000000 eb 76 90 45 58 46 41 54 20 20 20 00 00 00 00 00 |.v.EXFAT .....|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000040 00 80 00 00 00 00 00 00 00 30 e2 0e 00 00 00 00 |.........0......|
00000050 00 40 00 00 00 40 00 00 00 80 00 00 b0 e1 0e 00 |.@...@..........|
00000060 04 00 00 00 31 36 65 38 00 01 02 00 09 08 01 80 |....16e8........|
00000070 21 00 00 00 00 00 00 00 f4 f4 f4 f4 f4 f4 f4 f4 |!...............|
00000080 f4 f4 f4 f4 f4 f4 f4 f4 f4 f4 f4 f4 f4 f4 f4 f4 |................|
*
000001f0 f4 f4 f4 f4 f4 f4 f4 f4 f4 f4 f4 f4 f4 f4 55 aa |..............U.|
00000200
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of
sda3,
using the following options: sdb1/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.1 LTS CurrentSession entry (sdb1/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 miir83 (Le 10/11/2020, à 08:38)
Hors ligne
#5 Le 10/11/2020, à 07:48
- ar barzh paour
Re : [Résolu]20.04.1 boot exactement une fois sur deux et l'autre sur grub>
profite pour passer en Résolu ton post #1 (cliquer sur modifier)
et ajouter [Résolu]
20.04.1 boot exactement une fois sur deux et l'autre sur grub>
devient
[Résolu] 20.04.1 boot exactement une fois sur deux et l'autre sur grub>
PC : B760M DS3H DDR4, 12th Gen Intel(R) Core(TM) i3-12100, RAM DDR4 8GiB -2400 Ubuntu 20.04, 22.04, 24.04 (en test )
Portable1 : ThinkPad P50 I7-6820HQ, 16G0 Ram Ubuntu 22.04 Ubuntu 24.04 , W10-PRO( en voyage )
Portable2 : T5750 @ 2.00GHz RAM 1GiB DDR2 667 Mhz Ubuntu 20.04 ( batterie HS )
stourm a ran war bep tachenn (Angela Duval) ( Je combats sur tous les fronts )
Hors ligne