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 09/07/2020, à 19:19

Boby349

Grub ne s'affiche pas toujours

Bonjour,

J'ai installé ubuntu en dual boot avec windows8 sur un portable Dell (inspiron 15).
Dans la section  boot du bios , si je met ubuntu en 1er position, le pc démarre ubuntu sans afficher grub. Si je met windows, le pc démarre windows correctement.
Maintenant si au démarrage je vais dans le "boot menu" (touche F12 sans passer par setup du bios), et que je choisi ubuntu, grub s'affiche bien et je peux choisir quel système je veux lancer.

(Pour info si je met windows en choix par défaut du grub et que je démarre l'ordinateur avec ubuntu en 1er position dans la section boot du bios l'ordinateur démarre sur windows).

Comment faire pour que grub s'affiche à chaque démarrage (sans devoir passer par "boot menu"?

J'ai fait des réparations avec boot-repait mais ça n'a rien donné.

Voici un rapport de boot-repair.
https://paste.ubuntu.com/p/XZs4bmVbmZ/

Merci pour l'aide apportée.

Hors ligne

#2 Le 09/07/2020, à 19:50

Poun64

Re : Grub ne s'affiche pas toujours

Bonjour toul'monde !

En commentant la ligne "GRUB_TIMEOUT_STYLE=hidden" du fichier "/etc/default/grub" peut-être...

gedit admin:///etc/default/grub

Ajouter un petit " # " à cette entrée pour qu'elle devienne :

# GRUB_TIMEOUT_STYLE=hidden

Puis faire :

sudo update-grub

Amicalement

Dernière modification par Poun64 (Le 09/07/2020, à 19:51)


1) Xubuntu 22.04._LTS + Windows 10 - Gigabyte GA H77M - Intel Core I7 3770K / HD Graphics 4000 - 4 cœurs - 3,5 Ghz - 16 Go de RAM
2) Xubuntu 22.04._LTS + Windows 10 - Gigabyte H610M S2H - Intel I3-12100 / UHD Graphics 730 intégré - 4 cœurs - 3,3 Ghz - 16 Go de RAM
3) Xubuntu 22.04._LTS  - NetBook ACER TravelMate - Intel Celeron N4020 - 2 cœurs - 1,1 Ghz - 4 Go de RAM - Intel UHD Graphics 605

Hors ligne

#3 Le 09/07/2020, à 21:18

Boby349

Re : Grub ne s'affiche pas toujours

Bonsoir,

Merci pour la rapidité de la réponse. Je viens de faire la manip mais cela n'a pas résolu le problème. L'ordinateur démarre sous ubuntu sans afficher le grub.

Hors ligne

#4 Le 09/07/2020, à 22:34

ylag

Re : Grub ne s'affiche pas toujours

Bonsoir,

Tu pourrais essayer avec les valeurs suivantes dans /etc/default/grub:

GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10

Voir cette doc: 1.2.1 paramètres présents par défaut

Hors ligne

#5 Le 10/07/2020, à 16:33

Poun64

Re : Grub ne s'affiche pas toujours

Bonjour toul'monde,

Je n'ai pas l'habitude d'interpréter les "rapports de boot-repair" et je ne vais pas m'aventurer à faire des préconisations.
Il faut laisser faire ceux qui savent...

[Mode taquin ON] Par contre j'y vois une joyeuse pagaille : 8 partitions pour un Windows 8... ça me paraît quelque peu excessif... Heureusement que notre ami n'est pas sous Windows 95  big_smile big_smile big_smile [/Mode taquin OFF]

Si je comprends bien, Windows 7 est installé sur sda5 et Ubuntu 20.04 LTS est installé sur sda9 (une seule partition pour le root et le home)
Windows semble installé en UEFI, mais je ne sais pas pour Ubuntu...
Pour le savoir, lancer Ubuntu et faire dans un terminal :

[ -d /sys/firmware/efi ] && echo "Session EFI" || echo "Session non-EFI"

Dernière modification par Poun64 (Le 10/07/2020, à 16:45)


1) Xubuntu 22.04._LTS + Windows 10 - Gigabyte GA H77M - Intel Core I7 3770K / HD Graphics 4000 - 4 cœurs - 3,5 Ghz - 16 Go de RAM
2) Xubuntu 22.04._LTS + Windows 10 - Gigabyte H610M S2H - Intel I3-12100 / UHD Graphics 730 intégré - 4 cœurs - 3,3 Ghz - 16 Go de RAM
3) Xubuntu 22.04._LTS  - NetBook ACER TravelMate - Intel Celeron N4020 - 2 cœurs - 1,1 Ghz - 4 Go de RAM - Intel UHD Graphics 605

Hors ligne

#6 Le 10/07/2020, à 18:56

lucmars

Re : Grub ne s'affiche pas toujours

Le rapport

boot-repair-4ppa125                                              [20200709_1905]

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

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

sda1: __________________________________________________________________________

    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/Dell/Boot/bootmgfw.efi 
                       /efi/Dell/Boot/bootmgr.efi /efi/Dell/Boot/bootx64.efi 
                       /efi/Dell/Boot/memtest.efi 
                       /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi 
                       /efi/Microsoft/Boot/memtest.efi

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

    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:        

sda5: __________________________________________________________________________

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

sda6: __________________________________________________________________________

    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:        

sda7: __________________________________________________________________________

    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:        

sda8: __________________________________________________________________________

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

sda9: __________________________________________________________________________

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


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

OS#1:   L'OS actuellement utilisé - Ubuntu 20.04 LTS CurrentSession on sda9
OS#2:   Windows 7 on sda5

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

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-40-generic root=UUID=82009bfd-8c13-435f-ab3a-a79c9d472900 ro quiet splash vt.handoff=7


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

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

efibootmgr -v
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0001,0016,0013,0014,0015,0012,0010,0011,0019,001A,001B,0017,0018
Boot0000* ubuntu	HD(1,GPT,819bf2b9-a48b-4b73-af28-50620e64d21c,0x800,0xfa000)/File(\EFI\ubuntu\shimx64.efi)
Boot0001* Windows Boot Manager	HD(1,GPT,819bf2b9-a48b-4b73-af28-50620e64d21c,0x800,0xfa000)/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.}...H................
Boot0010  Setup	FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0011  Boot Menu	FvFile(86488440-41bb-42c7-93ac-450fbf7766bf)
Boot0012* Removable Drive	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,20699b27e1a34f488e97534d40523c1d)
Boot0013* Hard Drive	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,f5b01cc8ce8e9841b3a8fb94b6dfefee)
Boot0014* USB Storage Device	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6895f49a99882e4bb0da03ec784d2828)
Boot0015* CD/DVD/CD-RW Drive	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,3750dce1249e1748876bee5d3f25ebfb)
Boot0016* Network	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6567de8ee595634d842b325e6a43510b)
Boot0017* Onboard NIC	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,1b7f7356e3475744a9a6ed8e91832083)
Boot0018* Onboard NIC	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,b4a054dda1fa7043abf832c5a88367a6)
Boot0019  Diagnostics	FvFile(be77e3c1-eb5a-4a5d-897f-536e8b3c74c0)
Boot001A  Peripheral Device setting (OPROM setting)	FvFile(be77e3c1-eb5a-4a5d-897f-536e8b3c74c0)
Boot001B  Change boot mode setting	FvFile(be77e3c1-eb5a-4a5d-897f-536e8b3c74c0)

f7a57b08bc7c1c85417ae4cea582d1d4   sda1/Boot/bkpbootx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4   sda1/Boot/bootx64.efi
bed45d1c9554cea09924d3814cb7c446   sda1/Boot/fbx64.efi
5c14b2158486ded02655f86386b249e2   sda1/Boot/grubx64.efi
4487628005555bfd4a4c0a47211e0700   sda1/Boot/mmx64.efi
5c14b2158486ded02655f86386b249e2   sda1/ubuntu/grubx64.efi
4487628005555bfd4a4c0a47211e0700   sda1/ubuntu/mmx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4   sda1/ubuntu/shimx64.efi
87b6d22295a16073d8d456fc574441a8   sda1/Dell/Boot/bootmgfw.efi
75d0032ae18e04a1254448f3fef14a6a   sda1/Dell/Boot/bootmgr.efi
87b6d22295a16073d8d456fc574441a8   sda1/Dell/Boot/bootx64.efi
958ceee3668f4eff01fb29d03518b49e   sda1/Microsoft/Boot/bootmgfw.efi
2db5c324bad6a5740ca6d5b69d8feaf9   sda1/Microsoft/Boot/bootmgr.efi


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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

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

Partitions info (2/3): _________________________________________________________

sda9	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda1	: is---ESP,	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,	recovery-or-hidden,	no-bmgr,	notwinboot
sda4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sda5	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	notwinboot
sda6	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	bootmgr,	notwinboot
sda7	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda8	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

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

fdisk -l (filtered): ___________________________________________________________

Disk sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 49C7CDB5-F7A1-466B-9E2A-96A7BD19419D
           Start        End    Sectors   Size Type
sda1        2048    1026047    1024000   500M EFI System
sda2     1026048    1107967      81920    40M unknown
sda3     1107968    1370111     262144   128M Microsoft reserved
sda4     1370112    2373631    1003520   490M Windows recovery environment
sda5     2373632 1025656831 1023283200   488G Microsoft basic data
sda6  1230456832 1231173631     716800   350M Windows recovery environment
sda7  1231173632 1927876607  696702976 332.2G Microsoft basic data
sda8  1927878656 1953523119   25644464  12.2G Windows recovery environment
sda9  1025656832 1230456831  204800000  97.7G Linux filesystem
Partition table entries are not in disk order.

parted -lm (filtered): _________________________________________________________

sda:1000GB:scsi:512:512:gpt:ATA Samsung SSD 860:;
1:1049kB:525MB:524MB:fat32:EFI system partition:boot, esp;
2:525MB:567MB:41.9MB:fat32:Basic data partition:hidden;
3:567MB:701MB:134MB::Microsoft reserved partition:msftres;
4:701MB:1215MB:514MB:ntfs:Basic data partition:hidden, diag;
5:1215MB:525GB:524GB:ntfs:Basic data partition:msftdata;
9:525GB:630GB:105GB:ext4::;
6:630GB:630GB:367MB:ntfs::hidden, diag;
7:630GB:987GB:357GB:ntfs:Basic data partition:msftdata;
8:987GB:1000GB:13.1GB:ntfs:Microsoft recovery partition:hidden, diag;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL      PARTLABEL
sda                                                                                                  
├─sda1 vfat     A4D6-004B                            819bf2b9-a48b-4b73-af28-50620e64d21c ESP        EFI system partition
├─sda2 vfat     3024-5E87                            2f2e3fb1-108a-4aaa-aef9-3b0609aa1822 DIAGS      Basic data partition
├─sda3                                               ae08afd0-5fc8-4fe4-a578-53df6cb0c005            Microsoft reserved partition
├─sda4 ntfs     C470256570255F82                     415e0386-8f35-4ff2-8b05-4beac19e8440 WINRETOOLS Basic data partition
├─sda5 ntfs     C0F22961F2295CC2                     12b21eed-8716-40e6-bce6-596f92ef1231 OS         Basic data partition
├─sda6 ntfs     BE9A15E89A159DC9                     9e920cb5-fdc0-4ddd-a355-8b767654965b            
├─sda7 ntfs     4C08972B089712D6                     29a0c121-6399-4d19-8ab4-e791e7683554 Donnees    Basic data partition
├─sda8 ntfs     B2DE36E7DE36A38F                     7566065c-c484-48fb-93d7-0aa7e579ebf8 PBR Image  Microsoft recovery partition
└─sda9 ext4     82009bfd-8c13-435f-ab3a-a79c9d472900 881677ed-128f-46ca-a5d1-e306dc69934a            

df (filtered): _________________________________________________________________

       Avail Use% Mounted on
sda2      36M   0% /mnt/boot-sav/sda2
sda4   214.5M  56% /mnt/boot-sav/sda4
sda5   344.6G  29% /mnt/boot-sav/sda5
sda6      29M  92% /mnt/boot-sav/sda6
sda7   133.6G  60% /mnt/boot-sav/sda7
sda8   737.6M  94% /mnt/boot-sav/sda8
sda9    81.9G   9% /

Mount options: __________________________________________________________________

sda2   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sda4   rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda5   rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda6   rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda7   rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda8   rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda9   rw,relatime,errors=remount-ro

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

search.fs_uuid 82009bfd-8c13-435f-ab3a-a79c9d472900 root hd0,gpt9 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   82009bfd-8c13-435f-ab3a-a79c9d472900
Ubuntu, with Linux 5.4.0-40-generic   82009bfd-8c13-435f-ab3a-a79c9d472900
Ubuntu, with Linux 5.4.0-26-generic   82009bfd-8c13-435f-ab3a-a79c9d472900
Windows Boot Manager (on sda1)   osprober-efi-A4D6-004B
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sda9/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda9 during installation
UUID=82009bfd-8c13-435f-ab3a-a79c9d472900 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
/swapfile                                 none            swap    sw              0       0
UUID=A4D6-004B  /boot/efi       vfat    defaults      0       1

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

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

           GiB - GB             File                                 Fragment(s)
 557,237312317 = 598,329008128  boot/grub/grub.cfg                             1
 495,800899506 = 532,362162176  boot/vmlinuz                                   1
 493,308708191 = 529,686192128  boot/vmlinuz-5.4.0-26-generic                  1
 495,800899506 = 532,362162176  boot/vmlinuz-5.4.0-40-generic                  1
 493,308708191 = 529,686192128  boot/vmlinuz.old                               1
 496,277511597 = 532,873920512  boot/initrd.img                                2
 496,203269958 = 532,794204160  boot/initrd.img-5.4.0-26-generic               2
 496,277511597 = 532,873920512  boot/initrd.img-5.4.0-40-generic               2
 496,203269958 = 532,794204160  boot/initrd.img.old                            2

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

-rwxr-xr-x 1 root root 17123 avril 15 13:31 10_linux
-rwxr-xr-x 1 root root 42128 avril 15 13:31 10_linux_zfs
-rwxr-xr-x 1 root root 12894 avril 15 13:31 20_linux_xen
-rwxr-xr-x 1 root root 12059 avril 15 13:31 30_os-prober
-rwxr-xr-x 1 root root  1424 avril 15 13:31 30_uefi-firmware
-rwxr-xr-x 1 root root   214 avril 15 13:31 40_custom
-rwxr-xr-x 1 root root   216 avril 15 13:31 41_custom


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

Unknown GPT Partiton Type
d3ad6b79bf6b9f4db631466eb71a4965

Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of
sda9,
using the following options:        sda1/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 LTS CurrentSession entry (sda1/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)

Gaulois Matter !

Hors ligne

#7 Le 10/07/2020, à 19:09

lucmars

Re : Grub ne s'affiche pas toujours

Les deux OS sont en efi et c'est correct. Pour ce rapport t'as booté buntu via le boot-order et on y voit que grub est hidden.

Boot buntu via f12, qui donc affiche le grub et donne le retour de

cat /etc/default/grub

Gaulois Matter !

Hors ligne

#8 Le 11/07/2020, à 09:34

Boby349

Re : Grub ne s'affiche pas toujours

Bonjour,

Voici ce que renvoie la commande

# 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=0
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"

Hors ligne

#9 Le 11/07/2020, à 09:35

Boby349

Re : Grub ne s'affiche pas toujours

Poun64 a écrit :

Bonjour toul'monde,

Je n'ai pas l'habitude d'interpréter les "rapports de boot-repair" et je ne vais pas m'aventurer à faire des préconisations.
Il faut laisser faire ceux qui savent...

[Mode taquin ON] Par contre j'y vois une joyeuse pagaille : 8 partitions pour un Windows 8... ça me paraît quelque peu excessif... Heureusement que notre ami n'est pas sous Windows 95  big_smile big_smile big_smile [/Mode taquin OFF]

Si je comprends bien, Windows 7 est installé sur sda5 et Ubuntu 20.04 LTS est installé sur sda9 (une seule partition pour le root et le home)
Windows semble installé en UEFI, mais je ne sais pas pour Ubuntu...
Pour le savoir, lancer Ubuntu et faire dans un terminal :

[ -d /sys/firmware/efi ] && echo "Session EFI" || echo "Session non-EFI"

Ubuntu est bien installé en UEFI

Session EFI

Hors ligne

#10 Le 11/07/2020, à 09:37

Boby349

Re : Grub ne s'affiche pas toujours

ylag a écrit :

Bonsoir,

Tu pourrais essayer avec les valeurs suivantes dans /etc/default/grub:

GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10

Voir cette doc: 1.2.1 paramètres présents par défaut

Bonjour,
J'ai fait la modification mais ça n'a rien changé.

Hors ligne

#11 Le 11/07/2020, à 14:36

lucmars

Re : Grub ne s'affiche pas toujours

C'est très curieux cette histoire, via f12 le fichier grub est bien configuré pour s'afficher.

Rebootes via f12 et fais un boot-info pour comparer avec le précédent boot-info.


Gaulois Matter !

Hors ligne

#12 Le 11/07/2020, à 15:10

ylag

Re : Grub ne s'affiche pas toujours

@lucmars:

Bonjour,

Vu au #6:

Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of
sda9,
using the following options:        sda1/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 LTS CurrentSession entry (sda1/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)

...je me demande si la réparation suggérée ne rétablierait pas les choses ?

A+

Hors ligne

#13 Le 11/07/2020, à 17:06

lucmars

Re : Grub ne s'affiche pas toujours

ylag a écrit :

...je me demande si la réparation suggérée ne rétablierait pas les choses ?

A+

Faire une réparation juste pour afficher le grub, c'est pas le mieux car le boot est fonctionnel dans les deux cas (f12 et boot-order). À tout prendre ce sera en dernier recours.


Gaulois Matter !

Hors ligne

#14 Le 11/07/2020, à 21:48

Boby349

Re : Grub ne s'affiche pas toujours

lucmars a écrit :

C'est très curieux cette histoire, via f12 le fichier grub est bien configuré pour s'afficher.

Rebootes via f12 et fais un boot-info pour comparer avec le précédent boot-info.


sans passer par boot menu (ubuntu en 1ere position dans bios section boot), l'ordinateur démarre sur ubuntu sans afficher le grub.
https://paste.ubuntu.com/p/nJFCjXTMmn/

boot-repair-4ppa125                                              [20200711_2032]

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

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

sda1: __________________________________________________________________________

    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/Dell/Boot/bootmgfw.efi 
                       /efi/Dell/Boot/bootmgr.efi /efi/Dell/Boot/bootx64.efi 
                       /efi/Dell/Boot/memtest.efi 
                       /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi 
                       /efi/Microsoft/Boot/memtest.efi

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

    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:        

sda5: __________________________________________________________________________

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

sda6: __________________________________________________________________________

    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:        

sda7: __________________________________________________________________________

    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:        

sda8: __________________________________________________________________________

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

sda9: __________________________________________________________________________

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


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

OS#1:   L'OS actuellement utilisé - Ubuntu 20.04 LTS CurrentSession on sda9
OS#2:   Windows 7 on sda5

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

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-40-generic root=UUID=82009bfd-8c13-435f-ab3a-a79c9d472900 ro quiet splash vt.handoff=7


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

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

efibootmgr -v
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0001,0016,0013,0014,0015,0012,0010,0011,0019,001A,001B,0017,0018
Boot0000* ubuntu	HD(1,GPT,819bf2b9-a48b-4b73-af28-50620e64d21c,0x800,0xfa000)/File(\EFI\ubuntu\shimx64.efi)
Boot0001* Windows Boot Manager	HD(1,GPT,819bf2b9-a48b-4b73-af28-50620e64d21c,0x800,0xfa000)/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.}...H................
Boot0010  Setup	FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0011  Boot Menu	FvFile(86488440-41bb-42c7-93ac-450fbf7766bf)
Boot0012* Removable Drive	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,20699b27e1a34f488e97534d40523c1d)
Boot0013* Hard Drive	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,f5b01cc8ce8e9841b3a8fb94b6dfefee)
Boot0014* USB Storage Device	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6895f49a99882e4bb0da03ec784d2828)
Boot0015* CD/DVD/CD-RW Drive	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,3750dce1249e1748876bee5d3f25ebfb)
Boot0016* Network	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6567de8ee595634d842b325e6a43510b)
Boot0017* Onboard NIC	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,1b7f7356e3475744a9a6ed8e91832083)
Boot0018* Onboard NIC	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,b4a054dda1fa7043abf832c5a88367a6)
Boot0019  Diagnostics	FvFile(be77e3c1-eb5a-4a5d-897f-536e8b3c74c0)
Boot001A  Peripheral Device setting (OPROM setting)	FvFile(be77e3c1-eb5a-4a5d-897f-536e8b3c74c0)
Boot001B  Change boot mode setting	FvFile(be77e3c1-eb5a-4a5d-897f-536e8b3c74c0)

f7a57b08bc7c1c85417ae4cea582d1d4   sda1/Boot/bkpbootx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4   sda1/Boot/bootx64.efi
bed45d1c9554cea09924d3814cb7c446   sda1/Boot/fbx64.efi
5c14b2158486ded02655f86386b249e2   sda1/Boot/grubx64.efi
4487628005555bfd4a4c0a47211e0700   sda1/Boot/mmx64.efi
5c14b2158486ded02655f86386b249e2   sda1/ubuntu/grubx64.efi
4487628005555bfd4a4c0a47211e0700   sda1/ubuntu/mmx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4   sda1/ubuntu/shimx64.efi
87b6d22295a16073d8d456fc574441a8   sda1/Dell/Boot/bootmgfw.efi
75d0032ae18e04a1254448f3fef14a6a   sda1/Dell/Boot/bootmgr.efi
87b6d22295a16073d8d456fc574441a8   sda1/Dell/Boot/bootx64.efi
958ceee3668f4eff01fb29d03518b49e   sda1/Microsoft/Boot/bootmgfw.efi
2db5c324bad6a5740ca6d5b69d8feaf9   sda1/Microsoft/Boot/bootmgr.efi


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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

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

Partitions info (2/3): _________________________________________________________

sda9	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda1	: is---ESP,	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,	recovery-or-hidden,	no-bmgr,	notwinboot
sda4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sda5	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	notwinboot
sda6	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	bootmgr,	notwinboot
sda7	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda8	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

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

fdisk -l (filtered): ___________________________________________________________

Disk sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 49C7CDB5-F7A1-466B-9E2A-96A7BD19419D
           Start        End    Sectors   Size Type
sda1        2048    1026047    1024000   500M EFI System
sda2     1026048    1107967      81920    40M unknown
sda3     1107968    1370111     262144   128M Microsoft reserved
sda4     1370112    2373631    1003520   490M Windows recovery environment
sda5     2373632 1025656831 1023283200   488G Microsoft basic data
sda6  1230456832 1231173631     716800   350M Windows recovery environment
sda7  1231173632 1927876607  696702976 332.2G Microsoft basic data
sda8  1927878656 1953523119   25644464  12.2G Windows recovery environment
sda9  1025656832 1230456831  204800000  97.7G Linux filesystem
Partition table entries are not in disk order.

parted -lm (filtered): _________________________________________________________

sda:1000GB:scsi:512:512:gpt:ATA Samsung SSD 860:;
1:1049kB:525MB:524MB:fat32:EFI system partition:boot, esp;
2:525MB:567MB:41.9MB:fat32:Basic data partition:hidden;
3:567MB:701MB:134MB::Microsoft reserved partition:msftres;
4:701MB:1215MB:514MB:ntfs:Basic data partition:hidden, diag;
5:1215MB:525GB:524GB:ntfs:Basic data partition:msftdata;
9:525GB:630GB:105GB:ext4::;
6:630GB:630GB:367MB:ntfs::hidden, diag;
7:630GB:987GB:357GB:ntfs:Basic data partition:msftdata;
8:987GB:1000GB:13.1GB:ntfs:Microsoft recovery partition:hidden, diag;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL      PARTLABEL
sda                                                                                                  
├─sda1 vfat     A4D6-004B                            819bf2b9-a48b-4b73-af28-50620e64d21c ESP        EFI system partition
├─sda2 vfat     3024-5E87                            2f2e3fb1-108a-4aaa-aef9-3b0609aa1822 DIAGS      Basic data partition
├─sda3                                               ae08afd0-5fc8-4fe4-a578-53df6cb0c005            Microsoft reserved partition
├─sda4 ntfs     C470256570255F82                     415e0386-8f35-4ff2-8b05-4beac19e8440 WINRETOOLS Basic data partition
├─sda5 ntfs     C0F22961F2295CC2                     12b21eed-8716-40e6-bce6-596f92ef1231 OS         Basic data partition
├─sda6 ntfs     BE9A15E89A159DC9                     9e920cb5-fdc0-4ddd-a355-8b767654965b            
├─sda7 ntfs     4C08972B089712D6                     29a0c121-6399-4d19-8ab4-e791e7683554 Donnees    Basic data partition
├─sda8 ntfs     B2DE36E7DE36A38F                     7566065c-c484-48fb-93d7-0aa7e579ebf8 PBR Image  Microsoft recovery partition
└─sda9 ext4     82009bfd-8c13-435f-ab3a-a79c9d472900 881677ed-128f-46ca-a5d1-e306dc69934a            

df (filtered): _________________________________________________________________

                   Avail Use% Mounted on
sda1              436.8M  12% /mnt/boot-sav/sda1
sda2                 36M   0% /mnt/boot-sav/sda2
sda4              214.5M  56% /mnt/boot-sav/sda4
sda5              344.6G  29% /mnt/boot-sav/sda5
sda6                 29M  92% /mnt/boot-sav/sda6
sda7              133.6G  60% /mnt/boot-sav/sda7
sda8              737.6M  94% /mnt/boot-sav/sda8
sda9               81.4G  10% /

Mount options: __________________________________________________________________

sda1              rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sda2              rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sda4              rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda5              rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda6              rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda7              rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda8              rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda9              rw,relatime,errors=remount-ro

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

search.fs_uuid 82009bfd-8c13-435f-ab3a-a79c9d472900 root hd0,gpt9 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   82009bfd-8c13-435f-ab3a-a79c9d472900
Ubuntu, avec Linux 5.4.0-40-generic   82009bfd-8c13-435f-ab3a-a79c9d472900
Ubuntu, avec Linux 5.4.0-26-generic   82009bfd-8c13-435f-ab3a-a79c9d472900
Windows Boot Manager (sur sda1)   osprober-efi-A4D6-004B
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sda9/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda9 during installation
UUID=82009bfd-8c13-435f-ab3a-a79c9d472900 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
/swapfile                                 none            swap    sw              0       0
UUID=A4D6-004B  /boot/efi       vfat    defaults      0       1

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

GRUB_DEFAULT=0
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=""

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

           GiB - GB             File                                 Fragment(s)
 557,212135315 = 598,301974528  boot/grub/grub.cfg                             2
 495,800899506 = 532,362162176  boot/vmlinuz                                   1
 493,308708191 = 529,686192128  boot/vmlinuz-5.4.0-26-generic                  1
 495,800899506 = 532,362162176  boot/vmlinuz-5.4.0-40-generic                  1
 493,308708191 = 529,686192128  boot/vmlinuz.old                               1
 501,953342438 = 538,968297472  boot/initrd.img                                2
 496,203269958 = 532,794204160  boot/initrd.img-5.4.0-26-generic               2
 501,953342438 = 538,968297472  boot/initrd.img-5.4.0-40-generic               2
 496,203269958 = 532,794204160  boot/initrd.img.old                            2

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

-rwxr-xr-x 1 root root 17123 avril 15 13:31 10_linux
-rwxr-xr-x 1 root root 42128 avril 15 13:31 10_linux_zfs
-rwxr-xr-x 1 root root 12894 avril 15 13:31 20_linux_xen
-rwxr-xr-x 1 root root 12059 avril 15 13:31 30_os-prober
-rwxr-xr-x 1 root root  1424 avril 15 13:31 30_uefi-firmware
-rwxr-xr-x 1 root root   214 avril 15 13:31 40_custom
-rwxr-xr-x 1 root root   216 avril 15 13:31 41_custom


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

Unknown GPT Partiton Type
d3ad6b79bf6b9f4db631466eb71a4965

Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of
sda9,
using the following options:        sda1/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 LTS CurrentSession entry (sda1/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)


en passant par boot menu (F12) avec ensuite affichage du grub

https://paste.ubuntu.com/p/8kCS7t9pyY/

boot-repair-4ppa125                                              [20200711_2034]

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

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

sda1: __________________________________________________________________________

    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/Dell/Boot/bootmgfw.efi 
                       /efi/Dell/Boot/bootmgr.efi /efi/Dell/Boot/bootx64.efi 
                       /efi/Dell/Boot/memtest.efi 
                       /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi 
                       /efi/Microsoft/Boot/memtest.efi

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

    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:        

sda5: __________________________________________________________________________

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

sda6: __________________________________________________________________________

    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:        

sda7: __________________________________________________________________________

    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:        

sda8: __________________________________________________________________________

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

sda9: __________________________________________________________________________

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


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

OS#1:   L'OS actuellement utilisé - Ubuntu 20.04 LTS CurrentSession on sda9
OS#2:   Windows 7 on sda5

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

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-40-generic root=UUID=82009bfd-8c13-435f-ab3a-a79c9d472900 ro quiet splash vt.handoff=7


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

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

efibootmgr -v
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0001,0016,0013,0014,0015,0012,0010,0011,0019,001A,001B,0017,0018
Boot0000* ubuntu	HD(1,GPT,819bf2b9-a48b-4b73-af28-50620e64d21c,0x800,0xfa000)/File(\EFI\ubuntu\shimx64.efi)
Boot0001* Windows Boot Manager	HD(1,GPT,819bf2b9-a48b-4b73-af28-50620e64d21c,0x800,0xfa000)/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.}...H................
Boot0010  Setup	FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0011  Boot Menu	FvFile(86488440-41bb-42c7-93ac-450fbf7766bf)
Boot0012* Removable Drive	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,20699b27e1a34f488e97534d40523c1d)
Boot0013* Hard Drive	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,f5b01cc8ce8e9841b3a8fb94b6dfefee)
Boot0014* USB Storage Device	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6895f49a99882e4bb0da03ec784d2828)
Boot0015* CD/DVD/CD-RW Drive	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,3750dce1249e1748876bee5d3f25ebfb)
Boot0016* Network	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6567de8ee595634d842b325e6a43510b)
Boot0017* Onboard NIC	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,1b7f7356e3475744a9a6ed8e91832083)
Boot0018* Onboard NIC	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,b4a054dda1fa7043abf832c5a88367a6)
Boot0019  Diagnostics	FvFile(be77e3c1-eb5a-4a5d-897f-536e8b3c74c0)
Boot001A  Peripheral Device setting (OPROM setting)	FvFile(be77e3c1-eb5a-4a5d-897f-536e8b3c74c0)
Boot001B  Change boot mode setting	FvFile(be77e3c1-eb5a-4a5d-897f-536e8b3c74c0)

f7a57b08bc7c1c85417ae4cea582d1d4   sda1/Boot/bkpbootx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4   sda1/Boot/bootx64.efi
bed45d1c9554cea09924d3814cb7c446   sda1/Boot/fbx64.efi
5c14b2158486ded02655f86386b249e2   sda1/Boot/grubx64.efi
4487628005555bfd4a4c0a47211e0700   sda1/Boot/mmx64.efi
5c14b2158486ded02655f86386b249e2   sda1/ubuntu/grubx64.efi
4487628005555bfd4a4c0a47211e0700   sda1/ubuntu/mmx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4   sda1/ubuntu/shimx64.efi
87b6d22295a16073d8d456fc574441a8   sda1/Dell/Boot/bootmgfw.efi
75d0032ae18e04a1254448f3fef14a6a   sda1/Dell/Boot/bootmgr.efi
87b6d22295a16073d8d456fc574441a8   sda1/Dell/Boot/bootx64.efi
958ceee3668f4eff01fb29d03518b49e   sda1/Microsoft/Boot/bootmgfw.efi
2db5c324bad6a5740ca6d5b69d8feaf9   sda1/Microsoft/Boot/bootmgr.efi


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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

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

Partitions info (2/3): _________________________________________________________

sda9	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda1	: is---ESP,	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,	recovery-or-hidden,	no-bmgr,	notwinboot
sda4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sda5	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	notwinboot
sda6	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	bootmgr,	notwinboot
sda7	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda8	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

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

fdisk -l (filtered): ___________________________________________________________

Disk sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 49C7CDB5-F7A1-466B-9E2A-96A7BD19419D
           Start        End    Sectors   Size Type
sda1        2048    1026047    1024000   500M EFI System
sda2     1026048    1107967      81920    40M unknown
sda3     1107968    1370111     262144   128M Microsoft reserved
sda4     1370112    2373631    1003520   490M Windows recovery environment
sda5     2373632 1025656831 1023283200   488G Microsoft basic data
sda6  1230456832 1231173631     716800   350M Windows recovery environment
sda7  1231173632 1927876607  696702976 332.2G Microsoft basic data
sda8  1927878656 1953523119   25644464  12.2G Windows recovery environment
sda9  1025656832 1230456831  204800000  97.7G Linux filesystem
Partition table entries are not in disk order.

parted -lm (filtered): _________________________________________________________

sda:1000GB:scsi:512:512:gpt:ATA Samsung SSD 860:;
1:1049kB:525MB:524MB:fat32:EFI system partition:boot, esp;
2:525MB:567MB:41.9MB:fat32:Basic data partition:hidden;
3:567MB:701MB:134MB::Microsoft reserved partition:msftres;
4:701MB:1215MB:514MB:ntfs:Basic data partition:hidden, diag;
5:1215MB:525GB:524GB:ntfs:Basic data partition:msftdata;
9:525GB:630GB:105GB:ext4::;
6:630GB:630GB:367MB:ntfs::hidden, diag;
7:630GB:987GB:357GB:ntfs:Basic data partition:msftdata;
8:987GB:1000GB:13.1GB:ntfs:Microsoft recovery partition:hidden, diag;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL      PARTLABEL
sda                                                                                                  
├─sda1 vfat     A4D6-004B                            819bf2b9-a48b-4b73-af28-50620e64d21c ESP        EFI system partition
├─sda2 vfat     3024-5E87                            2f2e3fb1-108a-4aaa-aef9-3b0609aa1822 DIAGS      Basic data partition
├─sda3                                               ae08afd0-5fc8-4fe4-a578-53df6cb0c005            Microsoft reserved partition
├─sda4 ntfs     C470256570255F82                     415e0386-8f35-4ff2-8b05-4beac19e8440 WINRETOOLS Basic data partition
├─sda5 ntfs     C0F22961F2295CC2                     12b21eed-8716-40e6-bce6-596f92ef1231 OS         Basic data partition
├─sda6 ntfs     BE9A15E89A159DC9                     9e920cb5-fdc0-4ddd-a355-8b767654965b            
├─sda7 ntfs     4C08972B089712D6                     29a0c121-6399-4d19-8ab4-e791e7683554 Donnees    Basic data partition
├─sda8 ntfs     B2DE36E7DE36A38F                     7566065c-c484-48fb-93d7-0aa7e579ebf8 PBR Image  Microsoft recovery partition
└─sda9 ext4     82009bfd-8c13-435f-ab3a-a79c9d472900 881677ed-128f-46ca-a5d1-e306dc69934a            

df (filtered): _________________________________________________________________

                   Avail Use% Mounted on
sda2                 36M   0% /mnt/boot-sav/sda2
sda4              214.5M  56% /mnt/boot-sav/sda4
sda5              344.6G  29% /mnt/boot-sav/sda5
sda6                 29M  92% /mnt/boot-sav/sda6
sda7              133.6G  60% /mnt/boot-sav/sda7
sda8              737.6M  94% /mnt/boot-sav/sda8
sda9               81.4G  10% /

Mount options: __________________________________________________________________

sda2              rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sda4              rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda5              rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda6              rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda7              rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda8              rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda9              rw,relatime,errors=remount-ro

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

search.fs_uuid 82009bfd-8c13-435f-ab3a-a79c9d472900 root hd0,gpt9 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   82009bfd-8c13-435f-ab3a-a79c9d472900
Ubuntu, avec Linux 5.4.0-40-generic   82009bfd-8c13-435f-ab3a-a79c9d472900
Ubuntu, avec Linux 5.4.0-26-generic   82009bfd-8c13-435f-ab3a-a79c9d472900
Windows Boot Manager (sur sda1)   osprober-efi-A4D6-004B
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sda9/etc/fstab (filtered) ===========================

Je ne sais pas forcement quoi regarder en particulier mais je ne vois pas de différence entre les deux rapports. Je ne sais pas si ça peut aider mais lorsque l'ordinateur s'allume juste avant qu'ubuntu ai démarré il y une page noir avec le logo Dell et celui d'ubuntu.

Hors ligne

#15 Le 11/07/2020, à 22:20

ylag

Re : Grub ne s'affiche pas toujours

Bonsoir,

Dans tous les rapports boot-info de la discussion, on voit cette ligne:

Timeout:  0  seconds

...d'où serait extraite cette donnée?
...ça ne correspondrait pas aux valeurs pour GRUB_TIMEOUT dans le fichier /etc/default/grub; c.f. le commentaire #10.

?

Dernière modification par ylag (Le 11/07/2020, à 22:21)

Hors ligne

#16 Le 11/07/2020, à 23:01

Babdu89

Re : Grub ne s'affiche pas toujours

Bonsoir.

@ylag;

Si tu parles de cette valeur dans; efibootmgr -v .

https://doc.ubuntu-fr.org/efibootmgr

Çà correspond au temps qui s'écoule avant amorçage du système choisi.
Chez moi la valeur est à 2 secondes, le menu grub s'affiche à peut près après ce temps. Mais le menu grub s'affiche.

Je suis aussi à lire ce sujet, et je ne trouve pas de solution.
D'autant plus qu'il y affichage du menu grub en passant par F12. Donc les paramètres du fichier /etc/default/grub conviennent, si il y a affichage de grub.

Comme chez moi, avec un Dell Latitude E4310 .

À tester;
Pour passer le temps qui s'écoule avant amorçage à 10 secondes par exemple. On passe la commande;

sudo efibootmgr -t 10 

Mais je ne pense pas que çà change quelque chose à l'affichage du menu grub ou pas.

Comme on ne peut plus voir le contenu complet des fichier /boot/grub/grub.cfg dans les rapport boot-info.
@ Boby349. Après modif du fichier /default/grub, tu as bien fais une maj de grub;

sudo update-grub

pour que la modif soit prise en compte?.

@+.   Babdu89  .

Dernière modification par Babdu89 (Le 11/07/2020, à 23:56)


J'ai découvert Ubuntu avec la 07.10.... Et alors?!...  Depuis je regarde de temps en temps si Windows marche toujours....

Hors ligne

#17 Le 11/07/2020, à 23:55

Babdu89

Re : Grub ne s'affiche pas toujours

J'ai deux installations Ubuntu 20.04.
Une en mode UEFI , une autre en mode Bios_Legacy.
Au démarrage des deux systèmes, il y a affichage du menu grub.
Le contenu de /etc/default/grub est identique dans les deux systèmes.

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

C'est ce que l'on retrouve dans le boot info du post#1 de ce sujet...

Je donne ma langue au chat!!!.


J'ai découvert Ubuntu avec la 07.10.... Et alors?!...  Depuis je regarde de temps en temps si Windows marche toujours....

Hors ligne

#18 Le 12/07/2020, à 11:47

lucmars

Re : Grub ne s'affiche pas toujours

Bon c'est pas tout de pouvoir afficher le grub, encore faut-il qu'il offre aussi l'entrée windows. On va faire plus classique:

Boby, tu boot buntu en boot-order, depuis cette session tu passes la commande

sudo os-prober

si elle te retourne windows, alors tu fais

sudo update-grub

cela va configurer le grub pour s'afficher avec le choix des OS

Si la premiere commande ne retourne pas win, alors ce sera un grand mystere.


Gaulois Matter !

Hors ligne

#19 Le 12/07/2020, à 12:31

ylag

Re : Grub ne s'affiche pas toujours

@Babdu89:

Bonjour,

Babdu89 au#17 a écrit :

GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10

...en théorie, le menu ne devrait pas s'afficher avec la valeur «hidden» ? hmm
Y aurait-il une autre configuration ayant préséance sur le contenu du fichier /etc/default/grub (on suppose que sudo update-grub est passé après chaque modif du fichier)?

A+

Dernière modification par ylag (Le 12/07/2020, à 12:32)

Hors ligne

#20 Le 12/07/2020, à 13:23

Babdu89

Re : Grub ne s'affiche pas toujours

Bonjour.

lucmars a écrit;
Bon c'est pas tout de pouvoir afficher le grub, encore faut-il qu'il offre aussi l'entrée windows. On va faire plus classique:

Post#1, il est écrit;

Maintenant si au démarrage je vais dans le "boot menu" (touche F12 sans passer par setup du bios), et que je choisi ubuntu, grub s'affiche bien et je peux choisir quel système je veux lancer.

Il y a donc bien une entrée pour lancer Windows depuis le menu grub de Ubuntu lorsqu'il s'affiche.

Dans les boot-info, on voit;

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

OS#1:   L'OS actuellement utilisé - Ubuntu 20.04 LTS CurrentSession on sda9
OS#2:   Windows 7 on sda5

C'est le résultat de os-prober.


ylag a écrit;
...en théorie, le menu ne devrait pas s'afficher avec la valeur «hidden» ?

Et bien oui!. C'est ce qui m'interpelle, mais j'ai la même chose chez moi dans mes deux 20.04. Çà démarre en affichant le menu grub aussi bien en Bios_Legacy ou je peux lancer Ubuntu ou Windows, qu'en UEFI, ou je ne peux démarrer que Ubuntu, ce qui est normal, Windows étant installé en Bios_Legacy.
Va comprendre?...

Édit;
Je viens de regarder dans mes hdd externes, tous les 20.04 ont le même paramétrage dans /etc/default/grub, et aussi dans les 18.04.

Le paramétrage de l'affichage ou non du menu grub depuis ces Os , ne se ferait-il pas maintenant à l'installation, depuis de nouveaux paramètres de grub lors de l'installation?.
Installation en Os seul sur la machine, pas d'affichage du menu grub.
Installation en dual ou multi boot, affichage du menu grub, avec un nouveau paramètre que l'on ne connaît pas? . Je suis bien incapable de le dire. Et je ne peux même pas tester une installation Os seul dans la config. Mes machines étant multi disques multi boot.
À l'installation de grub, Os-prober cherchera et trouvera les autres systèmes installés sur le config.

@+.   Babdu89  .

Dernière modification par Babdu89 (Le 12/07/2020, à 13:58)


J'ai découvert Ubuntu avec la 07.10.... Et alors?!...  Depuis je regarde de temps en temps si Windows marche toujours....

Hors ligne

#21 Le 12/07/2020, à 14:02

lucmars

Re : Grub ne s'affiche pas toujours

@Babdu je sais bien et on le voit également dans les 2 boot-info; ça ne coute rien d'essayer


Gaulois Matter !

Hors ligne

#22 Le 12/07/2020, à 17:39

Boby349

Re : Grub ne s'affiche pas toujours

lucmars a écrit :

Bon c'est pas tout de pouvoir afficher le grub, encore faut-il qu'il offre aussi l'entrée windows. On va faire plus classique:

Boby, tu boot buntu en boot-order, depuis cette session tu passes la commande

sudo os-prober

si elle te retourne windows, alors tu fais

sudo update-grub

cela va configurer le grub pour s'afficher avec le choix des OS

Si la premiere commande ne retourne pas win, alors ce sera un grand mystere.


Alors j'ai essayé la manip d'écrite.
- J'ai booté ubuntu en passant par boot order (F12)
- lancé la commande sudo os-prober, elle renvoie

/dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi

- ensuite j'ai fait sudo update-grub

Après redémarrage le grub ne s'affiche toujours pas. Ubuntu se boot directement.

Hors ligne

#23 Le 12/07/2020, à 21:06

lucmars

Re : Grub ne s'affiche pas toujours

Pas f12, priorité de boot dans le bios !


Gaulois Matter !

Hors ligne

#24 Le 12/07/2020, à 22:44

Boby349

Re : Grub ne s'affiche pas toujours

lucmars a écrit :

Pas f12, priorité de boot dans le bios !

J'avais un doute, avec ubuntu en priorité dans le bios la commande renvoie

/dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi

[edit] l'ordinateur boot directement ubuntu sans afficher le menu grub

Dernière modification par Boby349 (Le 13/07/2020, à 10:13)

Hors ligne

#25 Le 12/07/2020, à 23:48

Babdu89

Re : Grub ne s'affiche pas toujours

Bonsoir.

Et au redémarrage, il y a affichage du menu grub?.

@+.   Babdu89   .


J'ai découvert Ubuntu avec la 07.10.... Et alors?!...  Depuis je regarde de temps en temps si Windows marche toujours....

Hors ligne