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 10/11/2022, à 18:31

Wargral

[abandon] Le GRUB n'apparait pas au démarrage

Bonjour,
Suite à des problèmes avec Ubuntu 22,04, j’ai voulu revenir à Ubuntu 20,04. Mais ça ne s’est pas bien passé et je me suis retrouvé où l’ordinateur au démarrage n’affichait qu’un tiret clignotant.
J’ai réinstallé Windows 10 (heureusement, j’avais le DVD). Ça a marché. Ensuite j’ai installé Ubuntu 20,04 avec la clé Ventoy. Mais malgré plusieurs installations, l’ordi ne démarre que sur Windows. Pas de choix au départ.
Mon ordi c’est un HP Laptop 15-bw055nf avec disque dur 1 TO, 4096 Mo de SDRAM .
J’ai fait plusieurs fois boot-repair, mais ça n’a rien changé, mais j’ai le message :

http//paste.ubuntu.com/p/HcvbdwdyjH/

J'ai aussi suivi les conseils sur la page:

https://lecrabeinfo.net/reparer-restaurer-ou-reinstaller-grub-quand-linux-ne-demarre-plus.html#google_vignette

Comment faire apparaître Ubuntu au choix du démarrage ?
Merci

Dernière modification par Wargral (Le 20/11/2022, à 19:50)

Hors ligne

#2 Le 10/11/2022, à 19:55

geole

Re : [abandon] Le GRUB n'apparait pas au démarrage

Bonjour.
Il semble que tu aies mal fait le copier/coller du lien boot-info.

documentation recovery mode a écrit :

Pour forcer l'affichage de ce menu lorsque votre système Ubuntu est configuré de telle sorte qu'aucun menu ne s'affiche au démarrage, appuyez sur la touche [Échap] (ou [ESC]) ou sur la touche [⇧ Maj] (ou [⇧ Shift]) et maintenez-la enfoncée jusqu'à ce que le menu d'amorçage s'affiche. La durée pendant laquelle vous pouvez utiliser ces touches étant relativement courte, il vous faudra peut-être plusieurs essais.

Dernière modification par geole (Le 10/11/2022, à 19:57)


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

En ligne

#3 Le 10/11/2022, à 20:38

Wargral

Re : [abandon] Le GRUB n'apparait pas au démarrage

Désolé, c'était un C majuscule

http//paste.ubuntu.com/p/HCvbdwdyjH/

avec mes excuses

J'avais essayé de modifier le bios, muis chaque fois, ça revient sur windows voir photo

https://zupimages.net/viewer.php?id=22/45/jpia.jpg

Dernière modification par Wargral (Le 10/11/2022, à 20:43)

Hors ligne

#4 Le 10/11/2022, à 20:42

malbo

Re : [abandon] Le GRUB n'apparait pas au démarrage

Bonjour,
Je colle le contenu du Boot-repair dont tu as donné le lien dans le post #3 :

boot-repair-4ppa200                                              [20221110_1525]

============================= Boot Repair Summary ==============================






Recommended repair: ____________________________________________________________

The default repair of the Boot-Repair utility will reinstall the grub-efi of
sdb6,
using the following options:  sdb2/boot/efi
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups


rm /mnt/boot-sav/sdb2/efi/Boot/bootx64.efi
mv /mnt/boot-sav/sdb2/efi/Boot/bkpbootx64.efi /mnt/boot-sav/sdb2/efi/Boot/bootx64.efi
Mount sdb2 on /mnt/boot-sav/sdb6/boot/efi

Unhide GRUB boot menu in sdb6/etc/default/grub

======================== Reinstall the grub-efi of sdb6 ========================

chroot /mnt/boot-sav/sdb6 grub-install --version
grub-install (GRUB) 2.02-2ubuntu8.23
modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/5.3.0-28-generic/modules.dep.bin'
modprobe: FATAL: Module efivars not found in directory /lib/modules/5.3.0-28-generic
chroot /mnt/boot-sav/sdb6 modprobe efivars

chroot /mnt/boot-sav/sdb6 efibootmgr -v before grub install
BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 2001,0001,3001,0003,0006,0000,2002,2004
Boot0000* Disque dur USB - General USB Flash Disk	BBS(7,Disque dur USB - General USB Flash Disk,0x500)............................................................................A.................................
Boot0001* Windows Boot Manager	HD(2,GPT,95fc86b9-64f7-4d0c-8bc3-d7331a1676ca,0xfa000,0x32000)/File(EFIMicrosoftBootbootmgfw.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.}...1................
Boot0002* Disque dur USB (UEFI) - General USB Flash Disk (General USB Flash Disk)	PciRoot(0x0)/Pci(0x12,0x0)/USB(0,0)/USB(0,0)/USB(1,0)/HD(2,MBR,0x10dd1ca2,0x732c000,0x10000)RC
Boot0003* ubuntu	HD(2,GPT,95fc86b9-64f7-4d0c-8bc3-d7331a1676ca,0xfa000,0x32000)/File(EFIubuntushimx64.efi)
Boot0006* Disque dur portable - ST1000LM035-1RK172	BBS(HD,Disque dur portable - ST1000LM035-1RK172,0x500)................-.R.......R.A.R...................................F.........A.......................
Boot2001* EFI USB Device	RC
Boot2002* EFI DVD/CDROM	RC
Boot3001* Internal Hard Disk or Solid State Disk	RC

chroot /mnt/boot-sav/sdb6 uname -r
5.3.0-28-generic

chroot /mnt/boot-sav/sdb6 grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
Installation finished. No error reported.
df /dev/sdb2
mv /mnt/boot-sav/sdb6/boot/efi/EFI/Boot/bootx64.efi /mnt/boot-sav/sdb6/boot/efi/EFI/Boot/bkpbootx64.efi
cp /mnt/boot-sav/sdb6/boot/efi/efi/ubuntu/grubx64.efi /mnt/boot-sav/sdb6/boot/efi/EFI/Boot/bootx64.efi

chroot /mnt/boot-sav/sdb6 grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
Installation finished. No error reported.

chroot /mnt/boot-sav/sdb6 efibootmgr -v after grub install
BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 0003,2001,0001,3001,0006,0000,2002,2004
Boot0000* Disque dur USB - General USB Flash Disk	BBS(7,Disque dur USB - General USB Flash Disk,0x500)............................................................................A.................................
Boot0001* Windows Boot Manager	HD(2,GPT,95fc86b9-64f7-4d0c-8bc3-d7331a1676ca,0xfa000,0x32000)/File(EFIMicrosoftBootbootmgfw.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.}...1................
Boot0002* Disque dur USB (UEFI) - General USB Flash Disk (General USB Flash Disk)	PciRoot(0x0)/Pci(0x12,0x0)/USB(0,0)/USB(0,0)/USB(1,0)/HD(2,MBR,0x10dd1ca2,0x732c000,0x10000)RC
Boot0003* ubuntu	HD(2,GPT,95fc86b9-64f7-4d0c-8bc3-d7331a1676ca,0xfa000,0x32000)/File(EFIubuntushimx64.efi)
Boot0006* Disque dur portable - ST1000LM035-1RK172	BBS(HD,Disque dur portable - ST1000LM035-1RK172,0x500)................-.R.......R.A.R...................................F.........A.......................
Boot2001* EFI USB Device	RC
Boot2002* EFI DVD/CDROM	RC
Boot3001* Internal Hard Disk or Solid State Disk	RC

chroot /mnt/boot-sav/sdb6 update-grub
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.15.0-196-generic
Found initrd image: /boot/initrd.img-4.15.0-196-generic
Found linux image: /boot/vmlinuz-4.15.0-29-generic
Found initrd image: /boot/initrd.img-4.15.0-29-generic
grub-probe: error: cannot find a GRUB drive for /dev/sda2.  Check your device.map.
Found Windows Boot Manager on /dev/sdb2@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration

Unhide GRUB boot menu in sdb6/boot/grub/grub.cfg

Boot successfully repaired.

You can now reboot your computer.
Please do not forget to make your UEFI firmware boot on the Ubuntu 18.04.1 LTS entry (sdb2/efi/ubuntu/grubx64.efi 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\ubuntu\grubx64.efi


============================ Boot Info After Repair ============================

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (,2)/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    offsetio extcmd macho elf file setkey gettext boot bufio verifiers crypto 
    terminal normal datetime date mmap drivemap blocklist regexp archelp newc 
    vga_text relocator video chain ntldr search_label search_fs_file 
    search_fs_uuid search keylayouts at_keyboard pci usb usb_keyboard gcry_md5 
    hashsum gcry_crc gzio xzio lzopio lspci fshelp ext2 xfs acpi iso9660 
    gcry_sha1 div udf exfat font diskfilter raid6rec zstd btrfs ventoy read 
    halt video_fb vbe linux linux16 test true sleep reboot echo bitmap 
    bitmap_scale gfxterm trig video_colors gfxmenu videotest videoinfo 
    functional_test videotest_checksum video_cirrus video_bochs vga minicmd 
    help configfile tr biosdisk disk ls tar zfs squash4 pbkdf2 gcry_sha512 
    password_pbkdf2 all_video png jpeg part_gpt part_msdos fat ntfs loopback 
    gfxterm_background procfs gfxterm_menu smbios
    ---------------------------------------------------------------------------
 => No boot loader is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    File system:       exfat
    Boot sector type:  -
    Boot sector info: 
    Mounting failed:   fuse: mount failed: Device or resource busy

sda2: __________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Unknown
    Boot sector info: 
    Operating System:  
    Boot files:        /boot/grub/grub.cfg

sdb1: __________________________________________________________________________

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

sdb2: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/10/11/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/fwupx64.efi 
                       /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi 
                       /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg 
                       /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi

sdb3: __________________________________________________________________________

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

sdb4: __________________________________________________________________________

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

sdb5: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Unknown
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdb6: __________________________________________________________________________

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


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

OS#1:   Ubuntu 18.04.1 LTS on sdb6
OS#2:   Windows 10 or 11 on sdb4

================================ Host/Hardware =================================

CPU architecture: 64-bit
Video: Stoney [Radeon R2/R3/R4/R5 Graphics] from Advanced Micro Devices, Inc. [AMD/ATI]
Live-session OS is Ubuntu 64-bit (Boot-Repair-Disk 64bit 20200604, bionic, x86_64)

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

BIOS/UEFI firmware: F.20 from Insyde
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled - SecureBoot disabled - Please report this message to boot.repair@gmail.com.
BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 0003,2001,0001,3001,0006,0000,2002,2004
Boot0000* Disque dur USB - General USB Flash Disk	BBS(7,Disque dur USB - General USB Flash Disk,0x500)............................................................................A.................................
Boot0001* Windows Boot Manager	HD(2,GPT,95fc86b9-64f7-4d0c-8bc3-d7331a1676ca,0xfa000,0x32000)/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.}...1................
Boot0002* Disque dur USB (UEFI) - General USB Flash Disk (General USB Flash Disk)	PciRoot(0x0)/Pci(0x12,0x0)/USB(0,0)/USB(0,0)/USB(1,0)/HD(2,MBR,0x10dd1ca2,0x732c000,0x10000)RC
Boot0003* ubuntu	HD(2,GPT,95fc86b9-64f7-4d0c-8bc3-d7331a1676ca,0xfa000,0x32000)/File(\EFI\ubuntu\shimx64.efi)
Boot0006* Disque dur portable - ST1000LM035-1RK172	BBS(HD,Disque dur portable - ST1000LM035-1RK172,0x500)................-.R.......R.A.R...................................F.........A.......................
Boot2001* EFI USB Device	RC
Boot2002* EFI DVD/CDROM	RC
Boot3001* Internal Hard Disk or Solid State Disk	RC

728124f6ec8e22fbdbe7034812c81b95   sdb2/Boot/bkpbootx64.efi
728124f6ec8e22fbdbe7034812c81b95   sdb2/Boot/bootx64.efi
5dabe049a4dad758d975dc2e60a7f00e   sdb2/Boot/fbx64.efi
51cfb66bc06dfbc97be2a010ebef52f3   sdb2/Boot/grubx64.efi
469e608783843a701d172242f016c79c   sdb2/Boot/mmx64.efi
b5698f2f88c3917bdf0c9f0f2a45d469   sdb2/ubuntu/fwupx64.efi
6c168a33842e0b683118cd53ff8a12e0   sdb2/ubuntu/grubx64.efi
f243a42f3bd3164872e792dbc2610270   sdb2/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95   sdb2/ubuntu/shimx64.efi
584614d0797179256e4eaccec722c29b   sdb2/Microsoft/Boot/bootmgfw.efi
a70151f52540ca357092a96cadbc647c   sdb2/Microsoft/Boot/bootmgr.efi

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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

sdb1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sdb2	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sdb4	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sdb5	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sdb6	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios

Partitions info (2/3): _________________________________________________________

sdb1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sdb2	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb4	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb5	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb6	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sdb1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdb
sdb2	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdb
sdb4	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdb
sdb5	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdb
sdb6	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sdb

fdisk -l (filtered): ___________________________________________________________

Disk sda: 57.6 GiB, 61865984000 bytes, 120832000 sectors
Disk identifier: 0x10dd1ca2
      Boot     Start       End   Sectors  Size Id Type
sda1  *         2048 120766463 120764416 57.6G  7 HPFS/NTFS/exFAT
sda2       120766464 120831999     65536   32M ef EFI (FAT-12/16/32)
Disk sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: B823BA15-09B1-4C59-B6D6-2C53751DDC41
           Start        End   Sectors   Size Type
sdb1        2048    1023999   1021952   499M Windows recovery environment
sdb2     1024000    1228799    204800   100M EFI System
sdb3     1228800    1261567     32768    16M Microsoft reserved
sdb4     1261568  581723731 580462164 276.8G Microsoft basic data
sdb5  1134323712 1953523711 819200000 390.6G Linux filesystem
sdb6   581724160 1134323711 552599552 263.5G Linux filesystem
Partition table entries are not in disk order.
Disk dm-0: 880 MiB, 922746880 bytes, 1802240 sectors
Disk identifier: 0x2c534026
       Boot Start     End Sectors  Size Id Type
dm-0p1 *        0 1802239 1802240  880M  0 Empty
dm-0p2        964    5891    4928  2.4M ef EFI (FAT-12/16/32)
Disk zram0: 971.6 MiB, 1018744832 bytes, 248717 sectors
Disk zram1: 971.6 MiB, 1018744832 bytes, 248717 sectors

parted -lm (filtered): _________________________________________________________

sda:61.9GB:scsi:512:512:msdos:General USB Flash Disk:;
1:1049kB:61.8GB:61.8GB:::boot;
2:61.8GB:61.9GB:33.6MB:fat16::esp;
sdb:1000GB:scsi:512:4096:gpt:ATA ST1000LM035-1RK1:;
1:1049kB:524MB:523MB:ntfs:Basic data partition:hidden, diag;
2:524MB:629MB:105MB:fat32:EFI system partition:boot, esp;
3:629MB:646MB:16.8MB::Microsoft reserved partition:msftres;
4:646MB:298GB:297GB:ntfs:Basic data partition:msftdata;
6:298GB:581GB:283GB:ext4::;
5:581GB:1000GB:419GB:ntfs::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL                  PARTLABEL
sda                                                                                                              
├─sda1 exfat    F32A-AB19                            10dd1ca2-01                          Ventoy                 
└─sda2 iso9660  2020-06-13-00-42-55-00                                                    Boot-Repair-Disk 64bit 
sdb                                                                                                              
├─sdb1 ntfs     FC6267176266D644                     08100f63-1c43-470f-a7fb-ff51c0abc95b Récupération           Basic data partition
├─sdb2 vfat     BA68-4D4F                            95fc86b9-64f7-4d0c-8bc3-d7331a1676ca                        EFI system partition
├─sdb3                                               cf622afd-531d-4486-972a-e586664b552d                        Microsoft reserved partition
├─sdb4 ntfs     D83E6D523E6D2AA8                     651bfec6-af81-4cb3-ac5a-9b3fbc9bc5cd Windows                Basic data partition
├─sdb5 ntfs     3C0AE75073467DA7                     e6f14166-7140-498c-9012-9f01bd72db11                        
└─sdb6 ext4     be55ca46-e7ff-4409-8fd7-499256da919f a7cc537b-60fb-4dc5-858a-8d632b2c05e4                        

Mount points (filtered): _______________________________________________________

                    Avail Use% Mounted on
/dev/mapper/ventoy      0 100% /cdrom
/dev/sda2               0 100% /media/lubuntu/Boot-Repair-Disk 64bit
/dev/sdb1          486.8M   2% /mnt/boot-sav/sdb1
/dev/sdb2           63.8M  34% /mnt/boot-sav/sdb2
/dev/sdb4          242.2G  12% /mnt/boot-sav/sdb4
/dev/sdb5          390.5G   0% /mnt/boot-sav/sdb5
/dev/sdb6          238.1G   3% /mnt/boot-sav/sdb6

Mount options (filtered): ______________________________________________________

/dev/mapper/ventoy iso9660         ro,noatime,nojoliet,check=s,map=n,blocksize=2048
/dev/sda2          iso9660         ro,nosuid,nodev,relatime,nojoliet,check=s,map=n,blocksize=2048
/dev/sdb1          fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdb2          vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sdb4          fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdb5          fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdb6          ext4            rw,relatime

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


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

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1

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

search.fs_uuid be55ca46-e7ff-4409-8fd7-499256da919f root hd1,gpt6 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   be55ca46-e7ff-4409-8fd7-499256da919f
Ubuntu, with Linux 4.15.0-196-generic   be55ca46-e7ff-4409-8fd7-499256da919f
Ubuntu, with Linux 4.15.0-29-generic   be55ca46-e7ff-4409-8fd7-499256da919f
Windows Boot Manager (on sdb2)   osprober-efi-BA68-4D4F
### END /etc/grub.d/30_os-prober ###
System setup   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sdb6/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda6 during installation
UUID=be55ca46-e7ff-4409-8fd7-499256da919f /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda2 during installation
UUID=BA68-4D4F  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

======================= sdb6/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=""
GRUB_DISABLE_OS_PROBER=false

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

           GiB - GB             File                                 Fragment(s)
 277.387702942 = 297.842778112  boot/grub/grub.cfg                             1
 406.794010162 = 436.791742464  boot/vmlinuz-4.15.0-196-generic                1
 289.582881927 = 310.937251840  boot/vmlinuz-4.15.0-29-generic                 1
 289.582881927 = 310.937251840  vmlinuz                                        1
 407.260223389 = 437.292335104  boot/initrd.img-4.15.0-196-generic             3
 407.252437592 = 437.283975168  boot/initrd.img-4.15.0-29-generic              2
 407.252437592 = 437.283975168  initrd.img                                     2
 407.252437592 = 437.283975168  initrd.img.old                                 2

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

-rwxr-xr-x 1 root root 12808 Feb 24  2021 10_linux
-rwxr-xr-x 1 root root 11298 Jul 17  2018 20_linux_xen
-rwxr-xr-x 1 root root 12059 Jul 17  2018 30_os-prober
-rwxr-xr-x 1 root root  1418 Jul 17  2018 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Jul 17  2018 40_custom
-rwxr-xr-x 1 root root   216 Jul 17  2018 41_custom

Hors ligne

#5 Le 10/11/2022, à 20:46

Wargral

Re : [abandon] Le GRUB n'apparait pas au démarrage

merci Malbo,
mais hélas, je ne suis pas plus avancé, je ne vois pas quoi faire

Hors ligne

#6 Le 11/11/2022, à 00:31

geole

Re : [abandon] Le GRUB n'apparait pas au démarrage

Désolé, c'était
http://paste.ubuntu.com/p/HCvbdwdyjH/

Il semble que cela ne soit ni la version 22.04 ni la version 20.04

======== 2 OS detected =================================
OS#1:   Ubuntu 18.04.1 LTS on sdb6
OS#2:   Windows 10 or 11 on sdb4

Je ne vois rien d'anormal.

==================== sdb2/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid be55ca46-e7ff-4409-8fd7-499256da919f root hd1,gpt6 
...
blkid (filtered): ______________________________________________________________
NAME   FSTYPE   UUID                                 PARTUUID                    
└─sdb6 ext4     be55ca46-e7ff-4409-8fd7-499256da919f a7cc537b-60fb-4dc5-858a-8d632b2c05e4                        
...
====================== sdb6/boot/grub/grub.cfg (filtered) ======================
Ubuntu   be55ca46-e7ff-4409-8fd7-499256da919f
Ubuntu, with Linux 4.15.0-196-generic   be55ca46-e7ff-4409-8fd7-499256da919f
Ubuntu, with Linux 4.15.0-29-generic   be55ca46-e7ff-4409-8fd7-499256da919f
...
========================== sdb6/etc/fstab (filtered) ===========================
UUID=be55ca46-e7ff-4409-8fd7-499256da919f /               ext4    errors=remount-ro 0       1
...
Mount points (filtered): _______________________________________________________
                    Avail Use% Mounted on
/dev/sdb6          238.1G   3% /mnt/boot-sav/sdb6

Pourrais-tu essayer de booter avec le vieux noyau.

Documentation recovery mode a écrit :

Pour forcer l'affichage de ce menu lorsque votre système Ubuntu est configuré de telle sorte qu'aucun menu ne s'affiche au démarrage, appuyez sur la touche [Échap] (ou [ESC]) ou sur la touche [⇧ Maj] (ou [⇧ Shift]) et maintenez-la enfoncée jusqu'à ce que le menu d'amorçage s'affiche. La durée pendant laquelle vous pouvez utiliser ces touches étant relativement courte, il vous faudra peut-être plusieurs essais.

Dernière modification par geole (Le 11/11/2022, à 01:03)


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

En ligne

#7 Le 11/11/2022, à 22:44

Wargral

Re : [abandon] Le GRUB n'apparait pas au démarrage

Bonsoir
Je ne sais pas comment " booster avec le vieux noyau."
J'ai refais une instal d'ubuntu avec Ventoy j'ai ensuite fait boot info:

http://paste.ubuntu.com/p/jRRkggqRB9/

mais toujours pas de grub

Hors ligne

#8 Le 11/11/2022, à 22:45

Wargral

Re : [abandon] Le GRUB n'apparait pas au démarrage

est-ce qu'il existe un boot-repair en français?

Hors ligne

#9 Le 11/11/2022, à 22:49

xubu1957

Re : [abandon] Le GRUB n'apparait pas au démarrage

Bonjour,

Collage du Boot-info :

boot-info-4ppa200                                              [20221111_2007]

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

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (,2)/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    offsetio extcmd macho elf file setkey gettext boot bufio verifiers crypto 
    terminal normal datetime date mmap drivemap blocklist regexp archelp newc 
    vga_text relocator video chain ntldr search_label search_fs_file 
    search_fs_uuid search keylayouts at_keyboard pci usb usb_keyboard gcry_md5 
    hashsum gcry_crc gzio xzio lzopio lspci fshelp ext2 xfs acpi iso9660 
    gcry_sha1 div udf exfat font diskfilter raid6rec zstd btrfs ventoy read 
    halt video_fb vbe linux linux16 test true sleep reboot echo bitmap 
    bitmap_scale gfxterm trig video_colors gfxmenu videotest videoinfo 
    functional_test videotest_checksum video_cirrus video_bochs vga minicmd 
    help configfile tr biosdisk disk ls tar zfs squash4 pbkdf2 gcry_sha512 
    password_pbkdf2 all_video png jpeg part_gpt part_msdos fat ntfs loopback 
    gfxterm_background procfs gfxterm_menu smbios
    ---------------------------------------------------------------------------
 => No boot loader is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    File system:       exfat
    Boot sector type:  -
    Boot sector info: 
    Mounting failed:   fuse: mount failed: Device or resource busy

sda2: __________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Unknown
    Boot sector info: 
    Operating System:  
    Boot files:        /boot/grub/grub.cfg

sdb1: __________________________________________________________________________

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

sdb2: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/10/11/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/fwupx64.efi 
                       /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi 
                       /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg 
                       /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi

sdb3: __________________________________________________________________________

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

sdb4: __________________________________________________________________________

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

sdb5: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Unknown
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdb6: __________________________________________________________________________

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


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

OS#1:   Ubuntu 20.04.5 LTS on sdb6
OS#2:   Windows 10 or 11 on sdb4

================================ Host/Hardware =================================

CPU architecture: 64-bit
Video: Stoney [Radeon R2/R3/R4/R5 Graphics] from Advanced Micro Devices, Inc. [AMD/ATI]
Live-session OS is Ubuntu 64-bit (Boot-Repair-Disk 64bit 20200604, bionic, x86_64)

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

BIOS/UEFI firmware: F.20 from Insyde
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled - SecureBoot disabled - Please report this message to boot.repair@gmail.com.
BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 0003,2001,0001,3001,0006,0000,2002,2004
Boot0000* Disque dur USB - General USB Flash Disk	BBS(7,Disque dur USB - General USB Flash Disk,0x500)............................................................................A.................................
Boot0001* Windows Boot Manager	HD(2,GPT,95fc86b9-64f7-4d0c-8bc3-d7331a1676ca,0xfa000,0x32000)/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.}...1................
Boot0002* Disque dur USB (UEFI) - General USB Flash Disk (General USB Flash Disk)	PciRoot(0x0)/Pci(0x12,0x0)/USB(0,0)/USB(0,0)/USB(1,0)/HD(2,MBR,0x10dd1ca2,0x732c000,0x10000)RC
Boot0003* ubuntu	HD(2,GPT,95fc86b9-64f7-4d0c-8bc3-d7331a1676ca,0xfa000,0x32000)/File(\EFI\ubuntu\shimx64.efi)
Boot0006* Disque dur portable - ST1000LM035-1RK172	BBS(HD,Disque dur portable - ST1000LM035-1RK172,0x500)................-.R.......R.A.R...................................F.........A.......................
Boot2001* EFI USB Device	RC
Boot2002* EFI DVD/CDROM	RC
Boot3001* Internal Hard Disk or Solid State Disk	RC

728124f6ec8e22fbdbe7034812c81b95   sdb2/Boot/bkpbootx64.efi
728124f6ec8e22fbdbe7034812c81b95   sdb2/Boot/bootx64.efi
85fa9d77b929ec4231aba29476574eb6   sdb2/Boot/fbx64.efi
51cfb66bc06dfbc97be2a010ebef52f3   sdb2/Boot/grubx64.efi
469e608783843a701d172242f016c79c   sdb2/Boot/mmx64.efi
b5698f2f88c3917bdf0c9f0f2a45d469   sdb2/ubuntu/fwupx64.efi
51cfb66bc06dfbc97be2a010ebef52f3   sdb2/ubuntu/grubx64.efi
469e608783843a701d172242f016c79c   sdb2/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95   sdb2/ubuntu/shimx64.efi
584614d0797179256e4eaccec722c29b   sdb2/Microsoft/Boot/bootmgfw.efi
a70151f52540ca357092a96cadbc647c   sdb2/Microsoft/Boot/bootmgr.efi

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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

sdb1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sdb2	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sdb4	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sdb5	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sdb6	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios

Partitions info (2/3): _________________________________________________________

sdb1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sdb2	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb4	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb5	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb6	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sdb1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdb
sdb2	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdb
sdb4	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdb
sdb5	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdb
sdb6	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sdb

fdisk -l (filtered): ___________________________________________________________

Disk sda: 57.6 GiB, 61865984000 bytes, 120832000 sectors
Disk identifier: 0x10dd1ca2
      Boot     Start       End   Sectors  Size Id Type
sda1  *         2048 120766463 120764416 57.6G  7 HPFS/NTFS/exFAT
sda2       120766464 120831999     65536   32M ef EFI (FAT-12/16/32)
Disk sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: B823BA15-09B1-4C59-B6D6-2C53751DDC41
           Start        End   Sectors   Size Type
sdb1        2048    1023999   1021952   499M Windows recovery environment
sdb2     1024000    1228799    204800   100M EFI System
sdb3     1228800    1261567     32768    16M Microsoft reserved
sdb4     1261568  581723731 580462164 276.8G Microsoft basic data
sdb5  1134323712 1953523711 819200000 390.6G Linux filesystem
sdb6   581724160 1134323711 552599552 263.5G Linux filesystem
Partition table entries are not in disk order.
Disk mapper/ventoy: 880 MiB, 922746880 bytes, 1802240 sectors
Disk identifier: 0x2c534026
                    Boot Start     End Sectors  Size Id Type
mapper/ventoy-part1 *        0 1802239 1802240  880M  0 Empty
mapper/ventoy-part2        964    5891    4928  2.4M ef EFI (FAT-12/16/32)
Disk zram0: 971.6 MiB, 1018744832 bytes, 248717 sectors
Disk zram1: 971.6 MiB, 1018744832 bytes, 248717 sectors

parted -lm (filtered): _________________________________________________________

sda:61.9GB:scsi:512:512:msdos:General USB Flash Disk:;
1:1049kB:61.8GB:61.8GB:::boot;
2:61.8GB:61.9GB:33.6MB:fat16::esp;
sdb:1000GB:scsi:512:4096:gpt:ATA ST1000LM035-1RK1:;
1:1049kB:524MB:523MB:ntfs:Basic data partition:hidden, diag;
2:524MB:629MB:105MB:fat32:EFI system partition:boot, esp;
3:629MB:646MB:16.8MB::Microsoft reserved partition:msftres;
4:646MB:298GB:297GB:ntfs:Basic data partition:msftdata;
6:298GB:581GB:283GB:ext4::;
5:581GB:1000GB:419GB:ntfs::;

blkid (filtered): ______________________________________________________________

NAME       FSTYPE   UUID                                 PARTUUID                             LABEL                  PARTLABEL
sda                                                                                                                  
├─sda1     exfat    F32A-AB19                            10dd1ca2-01                          Ventoy                 
│ └─ventoy                                                                                                           
└─sda2     iso9660  2020-06-13-00-42-55-00                                                    Boot-Repair-Disk 64bit 
sdb                                                                                                                  
├─sdb1     ntfs     FC6267176266D644                     08100f63-1c43-470f-a7fb-ff51c0abc95b Récupération           Basic data partition
├─sdb2     vfat     BA68-4D4F                            95fc86b9-64f7-4d0c-8bc3-d7331a1676ca                        EFI system partition
├─sdb3                                                   cf622afd-531d-4486-972a-e586664b552d                        Microsoft reserved partition
├─sdb4     ntfs     D83E6D523E6D2AA8                     651bfec6-af81-4cb3-ac5a-9b3fbc9bc5cd Windows                Basic data partition
├─sdb5     ntfs     3C0AE75073467DA7                     e6f14166-7140-498c-9012-9f01bd72db11                        
└─sdb6     ext4     17f79cf6-239a-42af-8cd8-bbf5d20abe5f 04214624-177b-4582-90db-9e100afe12ef                        

Mount points (filtered): _______________________________________________________

                    Avail Use% Mounted on
/dev/mapper/ventoy      0 100% /cdrom
/dev/sda2               0 100% /media/lubuntu/Boot-Repair-Disk 64bit
/dev/sda2               0 100% /media/lubuntu/Boot-Repair-Disk 64bit1
/dev/sda2               0 100% /media/lubuntu/Boot-Repair-Disk 64bit2
/dev/sdb1          486.8M   2% /mnt/boot-sav/sdb1
/dev/sdb2           63.8M  34% /mnt/boot-sav/sdb2
/dev/sdb4            229G  17% /media/lubuntu/Windows
/dev/sdb5          390.5G   0% /media/lubuntu/3C0AE75073467DA7
/dev/sdb6          235.6G   4% /media/lubuntu/17f79cf6-239a-42af-8cd8-bbf5d20abe5f

Mount options (filtered): ______________________________________________________

/dev/mapper/ventoy iso9660         ro,noatime,nojoliet,check=s,map=n,blocksize=2048
/dev/sda2          iso9660         ro,nosuid,nodev,relatime,nojoliet,check=s,map=n,blocksize=2048
/dev/sda2          iso9660         ro,nosuid,nodev,relatime,nojoliet,check=s,map=n,blocksize=2048
/dev/sda2          iso9660         ro,nosuid,nodev,relatime,nojoliet,check=s,map=n,blocksize=2048
/dev/sdb1          fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdb2          vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sdb4          fuseblk         rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096
/dev/sdb5          fuseblk         rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096
/dev/sdb6          ext4            rw,nosuid,nodev,relatime

============================== ls -R /dev/mapper/ ==============================

/dev/mapper:
control
ventoy

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


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

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1

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

search.fs_uuid 17f79cf6-239a-42af-8cd8-bbf5d20abe5f root hd1,gpt6 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   17f79cf6-239a-42af-8cd8-bbf5d20abe5f
Ubuntu, with Linux 5.15.0-52-generic   17f79cf6-239a-42af-8cd8-bbf5d20abe5f
Ubuntu, with Linux 5.15.0-46-generic   17f79cf6-239a-42af-8cd8-bbf5d20abe5f
Windows Boot Manager (on sdb2)   osprober-efi-BA68-4D4F
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sdb6/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda6 during installation
UUID=17f79cf6-239a-42af-8cd8-bbf5d20abe5f /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda2 during installation
UUID=BA68-4D4F  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

======================= sdb6/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=""
GRUB_DISABLE_OS_PROBER=false

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

           GiB - GB             File                                 Fragment(s)
 305.532787323 = 328.063332352  boot/grub/grub.cfg                             1
 494.781162262 = 531.267227648  boot/vmlinuz                                   1
 283.293941498 = 304.184553472  boot/vmlinuz-5.15.0-46-generic                 2
 494.781162262 = 531.267227648  boot/vmlinuz-5.15.0-52-generic                 1
 283.293941498 = 304.184553472  boot/vmlinuz.old                               2
 495.253479004 = 531.774373888  boot/initrd.img                                1
 495.187057495 = 531.703054336  boot/initrd.img-5.15.0-46-generic              2
 495.253479004 = 531.774373888  boot/initrd.img-5.15.0-52-generic              1
 495.187057495 = 531.703054336  boot/initrd.img.old                            2

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

-rwxr-xr-x 1 root root 18224 Jan 11  2022 10_linux
-rwxr-xr-x 1 root root 42359 Jan 11  2022 10_linux_zfs
-rwxr-xr-x 1 root root 12894 Jan 11  2022 20_linux_xen
-rwxr-xr-x 1 root root 12059 Jan 11  2022 30_os-prober
-rwxr-xr-x 1 root root  1424 Jan 11  2022 30_uefi-firmware
-rwxr-xr-x 1 root root   700 Feb 21  2022 35_fwupd
-rwxr-xr-x 1 root root   214 Jan 11  2022 40_custom
-rwxr-xr-x 1 root root   216 Jan 11  2022 41_custom

=========================== sdb6/etc/grub.d/35_fwupd ===========================

#! /bin/sh
# SPDX-License-Identifier: LGPL-2.1+
set -e
[ -d ${pkgdatadir:?} ]
# shellcheck source=/dev/null
. "$pkgdatadir/grub-mkconfig_lib"
if [ -f /var/lib/fwupd/uefi_capsule.conf ] &&
   ls /sys/firmware/efi/efivars/fwupd-*-0abba7dc-e516-4167-bbf5-4d9d1c739416 1>/dev/null 2>&1; then
      . /var/lib/fwupd/uefi_capsule.conf
      if [ "${EFI_PATH}" != "" ] && [ "${ESP}" != "" ]; then
      echo "Adding Linux Firmware Updater entry" >&2
cat << EOF
menuentry 'Linux Firmware Updater' \$menuentry_id_option 'fwupd' {
EOF
      ${grub_probe:?}
      prepare_grub_to_access_device '`${grub_probe} --target=device \${ESP}` | sed -e "s/^/\t/"'
cat << EOF
	chainloader ${EFI_PATH}
}
EOF
      fi
fi



Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi of
sdb6,
using the following options:  sdb2/boot/efi
Additional repair would be performed: unhide-bootmenu-10s 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 Ubuntu 20.04.5 LTS entry (sdb2/efi/****/grub****.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\****\grub****.efi (**** will be updated in the final message)

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne

#10 Le 11/11/2022, à 23:58

geole

Re : [abandon] Le GRUB n'apparait pas au démarrage

Bonsoir
Si tu ne sais pas faire apparaitre le grub, en faisant la manipulation décrite.
installe boot-repair. https://doc.ubuntu-fr.org/boot-repair
Normalement, il y a une phrase française  'réparation recommandée'
sur laquelle tu devras cliquer.
puis au boot, le menu grub devrait apparaitre
tu choisiras la seconde ligne 'mode avancé ´
tu choisiras une ligne avec ´recovery' puis la  ligne ´resume ´
https://doc.ubuntu-fr.org/recovery_mode

Dernière modification par geole (Le 12/11/2022, à 00:00)


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

En ligne

#11 Le 12/11/2022, à 07:33

malbo

Re : [abandon] Le GRUB n'apparait pas au démarrage

Bonjour,
Le Bios de ton ordi est verrouillé volontairement par le fabricant HP : bien que Ubuntu soit en priorité de démarrage (*) comme on peut voir dans le Boot-info du post #9, le démarrage se fait toujours sur Windows. Tu as déjà rencontré le même problème en 2018 puisque j'ai retrouvé cette discussion créée par toi à l'époque : https://forum.ubuntu-fr.org/viewtopic.php?pid=21856560
La solution t'a été donnée dans le post #3 de cette ancienne discussion : "Appuie sur la touche F9 en même temps que tu mets sous tension pour pouvoir choisir". Peux-tu confirmer que cette solution fonctionne toujours et te permet de démarrer ton Ubuntu installé ?

(*) c'est dans la partie "UEFI" du Boot-info : on peut voir que BootOrder commence par 0003 :

BootOrder: 0003,2001,0001,3001,0006,0000,2002,2004

Et cette entrée 0003, c'est bien Ubuntu :

Boot0003* ubuntu	HD(2,GPT,95fc86b9-64f7-4d0c-8bc3-d7331a1676ca,0xfa000,0x32000)/File(\EFI\ubuntu\shimx64.efi)

Dernière modification par malbo (Le 12/11/2022, à 07:41)

Hors ligne

#12 Le 12/11/2022, à 09:41

FrancisFDZ

Re : [abandon] Le GRUB n'apparait pas au démarrage

Bonjour,
Accessoirement, n'y aurait-il pas lieu de modifier /etc/default/grub afin d'affiner les options d'affichage de grub au démarrage ?


-- On peut avoir des raisons de se plaindre et n'avoir pas raison de se plaindre --
[Victor Hugo]

Hors ligne

#13 Le 12/11/2022, à 22:39

Wargral

Re : [abandon] Le GRUB n'apparait pas au démarrage

Bonsoir Malbo
En appuyant sur la touche F9 l'ordi démarre bien sur Ubuntu. Mais au redémarrage, le grub n'apparait pas, et c'est windows.
J'aimerais malgré tout retrouver la possibilité de choix au départ...
Mais après avoir installé 16.04, j'avais installé 18.04 et j'avais le choix au démarrage ensuite j'ai installé 20.04 avec toujours le choix.
Maintenant après avoir installé 22.04 c'est là que ça a foiré...

Dernière modification par Wargral (Le 12/11/2022, à 22:42)

Hors ligne

#14 Le 13/11/2022, à 10:22

malbo

Re : [abandon] Le GRUB n'apparait pas au démarrage

Bonjour,
Extrait du Boot-info du post #9 :

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

Ubuntu   17f79cf6-239a-42af-8cd8-bbf5d20abe5f
Ubuntu, with Linux 5.15.0-52-generic   17f79cf6-239a-42af-8cd8-bbf5d20abe5f
Ubuntu, with Linux 5.15.0-46-generic   17f79cf6-239a-42af-8cd8-bbf5d20abe5f
Windows Boot Manager (on sdb2)   osprober-efi-BA68-4D4F
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

On voit qu'il y a une entrée "Windows Boot Manager (on sdb2) " par conséquent, lorsque tu passes par la touche F9 au démarrage de l'ordi, cela doit faire apparaître le menu Grub dans lequel tu as la possibilité de sélectionner cette entrée "Windows Boot Manager (on sdb2)". Peux-tu confirmer ?

Dernière modification par malbo (Le 13/11/2022, à 10:23)

Hors ligne

#15 Le 13/11/2022, à 12:28

geole

Re : [abandon] Le GRUB n'apparait pas au démarrage

Bonjour
Peut-être que tu avais fait cette manipulation
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\ubuntu\grubx64.efi

et qu'une mise à jour de windows l'a supprimée. Elle serait alors à refaire.

Dernière modification par geole (Le 13/11/2022, à 12:31)


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

En ligne

#16 Le 13/11/2022, à 19:54

Wargral

Re : [abandon] Le GRUB n'apparait pas au démarrage

Bonjour Malbo,
réponse à la question #14 :
oui, en appuyant sur F9, j'ai bien un fenêtre "gestionnaire d'amorçage avec:

Menu des options d'amorçage

Gestionnaire de démarrage du SE(UEFI) - Windows Boot Manager (ST1000LMO35-1RK172)
Gestionnaire de démarrage du SE (UEFI) - ubuntu (ST1000LMO35-1RK172)
Démarrage depuis le fichier UEFI
Disque dur portable - ST1000LH035-1RK172

Donc je peux utiliser ubuntu
faut pas que je traine pour appuyer sur la touche F9 !
Mais ça va comme ça
Merci

Dernière modification par Wargral (Le 13/11/2022, à 19:55)

Hors ligne

#17 Le 13/11/2022, à 19:57

Wargral

Re : [abandon] Le GRUB n'apparait pas au démarrage

Bonjour Geole
pour taper une "admin command" c'est sur le terminal?

Hors ligne

#18 Le 13/11/2022, à 20:41

geole

Re : [abandon] Le GRUB n'apparait pas au démarrage

C'est une commande windows
j'utilise l'application windows powershell (admin)
Elle ouvre un terminal

Dernière modification par geole (Le 13/11/2022, à 20:41)


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

En ligne

#19 Le 13/11/2022, à 22:13

Wargral

Re : [abandon] Le GRUB n'apparait pas au démarrage

à geole
je suis allé dans windows, j'ai ouvert l'invite de commande
j'avais donc

c:\Users\jean-

j'ai copié l'adresse

bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi

j'ai eu le message "impossible d'ouvrir le magasin de données de configuration de démarrage. Accès refusé"
je suis remonté sur c:\ j'ai copié le même message et eu la même réponse.
j'ai du manquer quelquechose???

Hors ligne

#20 Le 13/11/2022, à 22:20

geole

Re : [abandon] Le GRUB n'apparait pas au démarrage

j'utilise l'application windows powershell (admin)


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

En ligne

#21 Le 14/11/2022, à 08:16

malbo

Re : [abandon] Le GRUB n'apparait pas au démarrage

Bonjour,
Merci pour tes précisions du post #16. Effectivement, l'appui (rapide) sur F9 au démarrage fait d'abord apparaître le "Boot menu" - c'est à dire le menu proposé par l'ordi lui-même - dans lequel il faut sélectionner la ligne mentionnant "ubuntu" et la valider. Après ça, le menu Grub doit apparaître.
Je viens d'ajouter une ligne HP 15-bw055nf dans la Liste des portables HP
Pour mémoire, ce modèle dont les caractéristiques détaillées sont visibles sur cette page du site LaptopSpirit, est équipé d'un processeur AMD A9-9420, La partie graphique Radeon R5 est intégrée au processeur (il n'y a pas de carte graphique dédiée).

Dernière modification par malbo (Le 14/11/2022, à 08:31)

Hors ligne

#22 Le 15/11/2022, à 18:56

Wargral

Re : [abandon] Le GRUB n'apparait pas au démarrage

Bonjour geole
J'ai encore essayé la commande du message #15, en utilisant powershell en mode admin voilà le résultat:

https://zupimages.net/viewer.php?id=22/46/idzi.png

ce coup-ci c'est en français, mais ça n'a pas marché, il me semble?

Hors ligne

#23 Le 15/11/2022, à 19:30

geole

Re : [abandon] Le GRUB n'apparait pas au démarrage

Wargral a écrit :

Bonjour geole
J'ai encore essayé la commande du message #15, en utilisant powershell en mode admin voilà le résultat:
https://zupimages.net/viewer.php?id=22/46/idzi.png
ce coup-ci c'est en français, mais ça n'a pas marché, il me semble?

Bonjour.
Essaie

bcdedit /set '{bootmgr}' path '\EFI\ubuntu\grubx64.efi'

ou

bcdedit /set "{bootmgr}" path "\EFI\ubuntu\grubx64.efi"

Dernière modification par geole (Le 15/11/2022, à 19:33)


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

En ligne

#24 Le 16/11/2022, à 10:01

FrancisFDZ

Re : [abandon] Le GRUB n'apparait pas au démarrage

Comme je disais en #12, il peut être intéressant de modifier les options de /etc/default/grub afin de les ajuster à tes desiderata au démarrage, sans oublier de valider ces modifications par un

apt grub_update

. Ces modifications peuvent concerner l'affichage ou non du menu grub au démarrage, la durée de cet affichage, l'OS à lancer en priorité en cas de multiboot, etc ...


-- On peut avoir des raisons de se plaindre et n'avoir pas raison de se plaindre --
[Victor Hugo]

Hors ligne

#25 Le 16/11/2022, à 17:14

Wargral

Re : [abandon] Le GRUB n'apparait pas au démarrage

Bonjour FrancisFDZ

Ça n'a pas marché

https://zupimages.net/viewer.php?id=22/46/czr5.png

comment

modifier les options de /etc/default/grub

Dernière modification par Wargral (Le 16/11/2022, à 17:27)

Hors ligne