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.

#26 Le 04/01/2024, à 10:51

geole

Re : [Résolu] modification ordre de boot uefi impossible

Bonjour.

geole a écrit :

Cela serait bien que tu fasses un boot-info et que tu publies l'URL générée


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

#27 Le 04/01/2024, à 19:12

hdesbois

Re : [Résolu] modification ordre de boot uefi impossible

voilà le boot info demandé...

boot-repair-4ppa200                                              [20240104_1803]

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

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 
    787115456 of the same hard drive for core.img. core.img is at this 
    location and looks for (,gpt7)/boot/grub. It also embeds following 
    components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_gpt biosdisk
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

    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:        /bootmgr

sda2: __________________________________________________________________________

    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

sda3: __________________________________________________________________________

    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/refind/refind.conf /efi/Boot/bootx64.efi 
                       /efi/Boot/fbx64.efi /efi/Boot/mmx64.efi 
                       /efi/refind/refind_x64.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 
                       /efi/refind/drivers_x64/ext4_x64.efi

sda4: __________________________________________________________________________

    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:        

sda5: __________________________________________________________________________

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

sda6: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Linux Mint 21.2
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub 
                       /boot/refind_linux.conf /boot/grub/i386-pc/core.img

sda7: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 20.04.6 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub 
                       /boot/grub/i386-pc/core.img


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

OS#1:   L'OS actuellement utilisé - Linux Mint 21.2 CurrentSession on sda6
OS#2:   Ubuntu 20.04.6 LTS on sda7
OS#3:   Windows 10 or 11 on sda2

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

CPU architecture: 64-bit
Video: 2nd Generation Core Processor Family Integrated Graphics Controller from Intel Corporation
BOOT_IMAGE of the installed session in use:
root=UUID=da4e179d-52f3-410f-904b-a23a82b79fa1 ro quiet splash initrd=boot\initrd.img-5.15.0-91-generic
df -Th / : /dev/sda6        ext4   143G     27G  110G  20% /

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

BIOS/UEFI firmware: 68SCE Ver. F.67(15.103) from Hewlett-Packard
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot disabled - This system doesn't support Secure Boot.
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0001
Boot0000* Notebook Hard Drive	BBS(HD,ÿ,0x0).......................................................................
Boot0001* Notebook Upgrade Bay	BBS(CDROM,ÿ,0x0).......................................................................
Boot0002* USB Hard Drive 1	BBS(HD,ÿ,0x900).......................................................................
Boot0004* Notebook Ethernet	BBS(128,ÿ,0x0)........................A..............................................
Boot0005* ubuntu	HD(3,GPT,bf049d05-9844-11ee-9f60-accea7e44e2a,0x3a24d800,0x32000)/File(\EFI\ubuntu\shimx64.efi)
Boot0006* rEFInd Boot Manager	HD(3,GPT,bf049d05-9844-11ee-9f60-accea7e44e2a,0x3a24d800,0x32000)/File(\EFI\refind\refind_x64.efi)
Boot0007* Refind	HD(3,GPT,bf049d05-9844-11ee-9f60-accea7e44e2a,0x3a24d800,0x32000)/File(\EFI\refind\refind_x64.efi)
Boot0008* Windows Boot Manager	HD(3,GPT,bf049d05-9844-11ee-9f60-accea7e44e2a,0x3a24d800,0x32000)/File(\efi\ubuntu\grubx64.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.}....................


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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

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

Partitions info (2/3): _________________________________________________________

sda4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sda2	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda7	: isnotESP,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda3	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	notwinboot
sda6	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

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

fdisk -l (filtered): ___________________________________________________________

Disk sda: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: BF049D07-9844-11EE-9F60-ACCEA7E44E2A
          Start       End   Sectors   Size Type
sda1       2048    104447    102400    50M Microsoft basic data
sda2     104448 346346849 346242402 165.1G Microsoft basic data
sda3  975493120 975697919    204800   100M EFI System
sda4  975697920 976769023   1071104   523M Windows recovery environment
sda5  346347520 362346495  15998976   7.6G Linux swap
sda6  362346496 668917759 306571264 146.2G Linux filesystem
sda7  668917760 975493119 306575360 146.2G Linux filesystem
Partition table entries are not in disk order.

parted -lm (filtered): _________________________________________________________

sda:500GB:scsi:512:4096:gpt:ATA WDC WD5000BPKT-7:;
1:1049kB:53.5MB:52.4MB:ntfs::msftdata;
2:53.5MB:177GB:177GB:ntfs::msftdata;
5:177GB:186GB:8191MB:linux-swap(v1)::swap;
6:186GB:342GB:157GB:ext4::;
7:342GB:499GB:157GB:ext4:Ubuntu:;
3:499GB:500GB:105MB:fat32::boot, esp;
4:500GB:500GB:548MB:ntfs::hidden, diag;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE UUID                                 PARTUUID                             LABEL              PARTLABEL
sda                                                                                                        
├─sda1 ntfs   0A6E1B956E1B78A1                     bf049d03-9844-11ee-9f60-accea7e44e2a Réservé au systÚme 
├─sda2 ntfs   302E1D7B2E1D3B74                     bf049d04-9844-11ee-9f60-accea7e44e2a Win10              
├─sda3 vfat   2C75-FFBB                            bf049d05-9844-11ee-9f60-accea7e44e2a                    
├─sda4 ntfs   8626A41E26A410EB                     bf049d06-9844-11ee-9f60-accea7e44e2a                    
├─sda5 swap   d722fc9d-96b6-4e3c-bef6-ca9884c2179a d79a2a44-dced-4ade-9a72-1cde617ddae6                    
├─sda6 ext4   da4e179d-52f3-410f-904b-a23a82b79fa1 4411e247-b271-42e0-a31f-1010a8dd0449                    
└─sda7 ext4   7344f42b-9261-4293-8758-2c878b295970 07f66cb6-cb6d-4247-a806-96e43403a1f5                    Ubuntu

Mount points (filtered): _______________________________________________________

             Avail Use% Mounted on
/dev/sda1    41.8M  16% /mnt/boot-sav/sda1
/dev/sda2   103.4G  37% /mnt/boot-sav/sda2
/dev/sda4    86.1M  84% /mnt/boot-sav/sda4
/dev/sda6   109.4G  18% /
/dev/sda7   125.4G   7% /mnt/boot-sav/sda7

Mount options (filtered): ______________________________________________________

/dev/sda1   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda2   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda4   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda6   ext4            rw,relatime,errors=remount-ro
/dev/sda7   ext4            rw,relatime

==================== sda3/EFI/refind/refind.conf (filtered) ====================

timeout 20
use_nvram false
menuentry Linux {
    icon EFI/refind/icons/os_linux.png
    volume 904404F8-B481-440C-A1E3-11A5A954E601
    loader bzImage-3.3.0-rc7
    initrd initrd-3.3.0.img
    options "ro root=UUID=5f96cafa-e0a7-4057-b18f-fa709db5b837"
    disabled
}
menuentry "Arch Linux" {
    icon     /EFI/refind/icons/os_arch.png
    volume   "Arch Linux"
    loader   /boot/vmlinuz-linux
    initrd   /boot/initramfs-linux.img
    options  "root=PARTUUID=5028fa50-0079-4c40-b240-abfaf28693ea rw add_efi_memmap"
    submenuentry "Boot using fallback initramfs" {
        initrd /boot/initramfs-linux-fallback.img
    }
    submenuentry "Boot to terminal" {
        add_options "systemd.unit=multi-user.target"
    }
    disabled
}
menuentry Ubuntu {
    loader /EFI/ubuntu/grubx64.efi
    icon /EFI/refind/icons/os_linux.png
    disabled
}
menuentry "ELILO" {
    loader \EFI\elilo\elilo.efi
    disabled
}
menuentry "Windows 7" {
    loader \EFI\Microsoft\Boot\bootmgfw.efi
    disabled
}
menuentry "Windows via shell script" {
    icon \EFI\refind\icons\os_win.png
    loader \EFI\tools\shell.efi
    options "fs0:\EFI\tools\launch_windows.nsh"
    disabled
}
menuentry "My macOS" {
    icon \EFI\refind\icons\os_mac.png
    volume "macOS boot"
    loader \System\Library\CoreServices\boot.efi
    disabled
}
menuentry "macOS via BootNext" {
    icon /EFI/refind/icons/os_mac.png
    firmware_bootnum 80
    disabled
}

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

search.fs_uuid 823d2ab8-7ea0-4328-8d35-cc1f1f659541 root hd0,gpt7 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Linux Mint 21.2 Cinnamon   da4e179d-52f3-410f-904b-a23a82b79fa1
Linux Mint 21.2 Cinnamon, with Linux 5.15.0-91-generic   da4e179d-52f3-410f-904b-a23a82b79fa1
Linux Mint 21.2 Cinnamon, with Linux 5.15.0-76-generic   da4e179d-52f3-410f-904b-a23a82b79fa1
Windows Boot Manager (on sda3)   osprober-efi-2C75-FFBB
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

========================== sda6/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda6 during installation
UUID=da4e179d-52f3-410f-904b-a23a82b79fa1 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda3 during installation
UUID=2C75-FFBB  /boot/efi       vfat    umask=0077      0       1
# swap was on /dev/sda5 during installation
UUID=d722fc9d-96b6-4e3c-bef6-ca9884c2179a none            swap    sw              0       0

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

==================== sda6/boot/refind_linux.conf (filtered) ====================

"Boot with standard options"  "root=UUID=da4e179d-52f3-410f-904b-a23a82b79fa1 ro quiet splash"
"Boot to single-user mode"    "root=UUID=da4e179d-52f3-410f-904b-a23a82b79fa1 ro quiet splash single"
"Boot with minimal options"   "ro root=UUID=da4e179d-52f3-410f-904b-a23a82b79fa1"

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

           GiB - GB             File                                 Fragment(s)
 177.177917480 = 190.243340288  boot/grub/grub.cfg                             1
 291.400730133 = 312.889151488  boot/grub/i386-pc/core.img                     1
 315.548900604 = 338.818052096  boot/vmlinuz                                   1
 176.272457123 = 189.271109632  boot/vmlinuz-5.15.0-76-generic                 2
 315.548900604 = 338.818052096  boot/vmlinuz-5.15.0-91-generic                 1
 176.272457123 = 189.271109632  boot/vmlinuz.old                               2
 311.639656067 = 334.620532736  boot/initrd.img                               10
 317.781475067 = 341.215260672  boot/initrd.img-5.15.0-76-generic              1
 311.639656067 = 334.620532736  boot/initrd.img-5.15.0-91-generic             10
 317.781475067 = 341.215260672  boot/initrd.img.old                            1

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

-rwxr-xr-x 1 root root 18683 Dec 18  2022 10_linux
-rwxr-xr-x 1 root root 43031 Dec 18  2022 10_linux_zfs
-rwxr-xr-x 1 root root 14387 Dec 18  2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 Dec 18  2022 30_os-prober
-rwxr-xr-x 1 root root  1372 Dec 18  2022 30_uefi-firmware
-rwxr-xr-x 1 root root   700 Sep 20  2022 35_fwupd
-rwxr-xr-x 1 root root   214 Dec 18  2022 40_custom
-rwxr-xr-x 1 root root   215 Dec 18  2022 41_custom

=========================== sda6/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

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

Ubuntu   7344f42b-9261-4293-8758-2c878b295970
Ubuntu, avec Linux 5.15.0-91-generic   7344f42b-9261-4293-8758-2c878b295970
Ubuntu, avec Linux 5.11.0-27-generic   7344f42b-9261-4293-8758-2c878b295970
Linux Mint 21.2 Victoria (21.2) (sur sda6)   da4e179d-52f3-410f-904b-a23a82b79fa1
Linux Mint 21.2 Cinnamon (sur sda6)   da4e179d-52f3-410f-904b-a23a82b79fa1
Linux Mint 21.2 Cinnamon, with Linux 5.15.0-91-generic (sur sda6)   da4e179d-52f3-410f-904b-a23a82b79fa1
Linux Mint 21.2 Cinnamon, with Linux 5.15.0-76-generic (sur sda6)   da4e179d-52f3-410f-904b-a23a82b79fa1
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

========================== sda7/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda7 during installation
UUID=7344f42b-9261-4293-8758-2c878b295970 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=d722fc9d-96b6-4e3c-bef6-ca9884c2179a none            swap    sw              0       0

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

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

           GiB - GB             File                                 Fragment(s)
 403.095062256 = 432.820027392  boot/grub/grub.cfg                             3
 375.325920105 = 403.003138048  boot/grub/i386-pc/core.img                     1
 412.053691864 = 442.439282688  boot/vmlinuz                                   1
 321.894527435 = 345.631617024  boot/vmlinuz-5.11.0-27-generic                 2
 412.053691864 = 442.439282688  boot/vmlinuz-5.15.0-91-generic                 1
 321.894527435 = 345.631617024  boot/vmlinuz.old                               2
 319.386463165 = 342.938603520  boot/initrd.img                                3
 325.970134735 = 350.007767040  boot/initrd.img-5.11.0-27-generic              2
 319.386463165 = 342.938603520  boot/initrd.img-5.15.0-91-generic              3
 325.970134735 = 350.007767040  boot/initrd.img.old                            2

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

-rwxr-xr-x 1 root root 18224 Dec 18  2022 10_linux
-rwxr-xr-x 1 root root 42359 Aug 12  2021 10_linux_zfs
-rwxr-xr-x 1 root root 13101 Dec 18  2022 20_linux_xen
-rwxr-xr-x 1 root root 12059 Aug 12  2021 30_os-prober
-rwxr-xr-x 1 root root  1424 Aug 12  2021 30_uefi-firmware
-rwxr-xr-x 1 root root   700 May 11  2023 35_fwupd
-rwxr-xr-x 1 root root   214 Aug 12  2021 40_custom
-rwxr-xr-x 1 root root   216 Aug 12  2021 41_custom

=========================== sda7/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 purge (in order to fix packages) and reinstall the grub-efi of
sda7,
using the following options:  sda3/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file

Blockers in case of suggested repair: __________________________________________

 Please use this software in a live-session (live-CD or live-USB). This will enable this feature.

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your UEFI firmware boot on the Ubuntu 20.04.6 LTS entry (sda3/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)

Hors ligne

#28 Le 05/01/2024, à 00:07

geole

Re : [Résolu] modification ordre de boot uefi impossible

Bonsoir.
On voit qu'il a encore remis prioritaire ce qu'il adore.

BootOrder: 0000,0001
Boot0000* Notebook Hard Drive	BBS(HD,ÿ,0x0).......................................................................
Boot0001* Note

et c'est vraiment pas parlant.
et tu utilises une version ancienne de boot-repair.

boot-repair-4ppa200                                              [20240104_1803]e

Tu peux m'expliquer ce qui est trop compliqué dans le paragraphe 5.8.2 de refind

Dernière modification par geole (Le 05/01/2024, à 00:16)


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

#29 Le 05/01/2024, à 10:13

hdesbois

Re : [Résolu] modification ordre de boot uefi impossible

Bonjour,

boot-repair-4ppa200                                              [20240104_1803]e

Est-ce utile que j'édite un nouveau boot info avec une version de boot repair plus récente ?

Tu peux m'expliquer ce qui est trop compliqué dans le paragraphe 5.8.2 de refind

Je vais me lancer dans l'application de ce paragraphe 5.8.2...

Merci pour tes réponses et ta patience.
Sylvain

Hors ligne

#30 Le 05/01/2024, à 10:47

hdesbois

Re : [Résolu] modification ordre de boot uefi impossible

ça y est, je me suis lancé...

Par prudence, sauver le fichier de boot de windows.
root@HP-ProBook-6560b:~# cp -v /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi /boot/efi/EFI/Microsoft/Boot/bootmgfw$(date +"-%Y-%m-%d-%H-%M-%S").efi
cp: impossible d'évaluer '/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi': Aucun fichier ou dossier de ce type
root@HP-ProBook-6560b:~# 

et ça commence mal...

Pour ma défense : je ne fais qu'un copier-coller des commandes du paragraphe de refind, sans réfléchir plus loin que mon nez.
L'erreur doit venir de là...désolé,
Sylvain

Hors ligne

#31 Le 05/01/2024, à 11:40

iznobe

Re : [Résolu] modification ordre de boot uefi impossible

Bonjour , montre :

ls -l /boot/efi/EFI

retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

En ligne

#32 Le 05/01/2024, à 12:19

hdesbois

Re : [Résolu] modification ordre de boot uefi impossible

Bonjour , montre :

ls -l /boot/efi/EFI
hdesbois@HP-ProBook-6560b:~$ ls -l /boot/efi/EFI
ls: impossible d'accéder à '/boot/efi/EFI': Aucun fichier ou dossier de ce type
hdesbois@HP-ProBook-6560b:~$ 

voilà...

Hors ligne

#33 Le 05/01/2024, à 12:26

iznobe

Re : [Résolu] modification ordre de boot uefi impossible

ok , montre :

lsblk -fe7

retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

En ligne

#34 Le 05/01/2024, à 12:43

hdesbois

Re : [Résolu] modification ordre de boot uefi impossible

ok , montre :

lsblk -fe7

et voilà :

hdesbois@HP-ProBook-6560b:~$ lsblk -fe7
NAME FSTYPE LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINT
sda                                                                   
├─sda1
│    ntfs   Réservé au système
│                 0A6E1B956E1B78A1                                    
├─sda2
│    ntfs   Win10 302E1D7B2E1D3B74                                    
├─sda3
│    vfat         2C75-FFBB                                           
├─sda4
│    ntfs         8626A41E26A410EB                                    
├─sda5
│    swap         d722fc9d-96b6-4e3c-bef6-ca9884c2179a                [SWAP]
├─sda6
│    ext4         da4e179d-52f3-410f-904b-a23a82b79fa1                
└─sda7
     ext4         7344f42b-9261-4293-8758-2c878b295970  124,1G     8% /
sr0                                                                   
hdesbois@HP-ProBook-6560b:~$ 

Hors ligne

#35 Le 05/01/2024, à 12:48

iznobe

Re : [Résolu] modification ordre de boot uefi impossible

En supposant que la partiion EFI est celle-ci :

├─sda3
│    vfat         2C75-FFBB  

on voit qu ' actuellement elle n ' est pas montée , les retours en erreurs des commandes preccedentes est donc normal .

Montre ton fstab :

cat /etc/fstab

et

sudo mount -av

normalement  c ' est ce fichier qui devrait la monter au demarrage, on va verifier qu ' il est conforme .


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

En ligne

#36 Le 05/01/2024, à 13:04

hdesbois

Re : [Résolu] modification ordre de boot uefi impossible

hdesbois@HP-ProBook-6560b:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda7 during installation
UUID=7344f42b-9261-4293-8758-2c878b295970 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=d722fc9d-96b6-4e3c-bef6-ca9884c2179a none            swap    sw              0       0
hdesbois@HP-ProBook-6560b:~$ 

Hors ligne

#37 Le 05/01/2024, à 13:08

hdesbois

Re : [Résolu] modification ordre de boot uefi impossible

hdesbois@HP-ProBook-6560b:~$ sudo mount -av
[sudo] Mot de passe de hdesbois : 
/                         : ignoré
none                      : ignoré
hdesbois@HP-ProBook-6560b:~$ 

Hors ligne

#38 Le 05/01/2024, à 13:10

geole

Re : [Résolu] modification ordre de boot uefi impossible

je ne comprends pas. Aurais-tu changé d'O.S.?
Extraits de ton boot-info

============================ 3 OS detected =================================
OS#1:   L'OS actuellement utilisé - Linux Mint 21.2 CurrentSession on sda6
OS#2:   Ubuntu 20.04.6 LTS on sda7
OS#3:   Windows 10 
================== sda6/etc/fstab (filtered) ===========================
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda6 during installation
UUID=da4e179d-52f3-410f-904b-a23a82b79fa1 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda3 during installation
UUID=2C75-FFBB  /boot/efi       vfat    umask=0077      0       1
# swap was on /dev/sda5 during installation
UUID=d722fc9d-96b6-4e3c-bef6-ca9884c2179a none            swap    sw              0       0

On y voit voit bien une partition EFI.
Ce qui n'est pas le cas avec SDA7.

Dernière modification par geole (Le 05/01/2024, à 13:17)


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

#39 Le 05/01/2024, à 13:14

hdesbois

Re : [Résolu] modification ordre de boot uefi impossible

effectivement : au départ, double boot windows-ubuntu
maintenant : triple boot windows-ubuntu-mint

Hors ligne

#40 Le 05/01/2024, à 13:18

geole

Re : [Résolu] modification ordre de boot uefi impossible

La réparation était prévue avec les élements du boot-info montrant que tu avais avais booté sur Mint.


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

#41 Le 05/01/2024, à 13:21

hdesbois

Re : [Résolu] modification ordre de boot uefi impossible

ce que je peux faire, si ça rend ton aide plus facile, c'est effacer mint pour garder un dual boot windows-ubuntu, en réinstallant refind à partir d'ubuntu.

Hors ligne

#42 Le 05/01/2024, à 13:27

hdesbois

Re : [Résolu] modification ordre de boot uefi impossible

ou je garde mint en plus d'ubuntu, et je démarre dorénavant toujours sur mint pour mes prochains messages, en rééditant un boot info...

Hors ligne

#43 Le 05/01/2024, à 13:28

geole

Re : [Résolu] modification ordre de boot uefi impossible

Pourquoi? tu ne sais plus booter avec mint?
Dans ce cas reste sous ubuntu et monte la partition EFI

sudo mount -v  /dev/sda3  /boot/efi

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

#44 Le 05/01/2024, à 13:30

hdesbois

Re : [Résolu] modification ordre de boot uefi impossible

j'ai peut-être été un peu léger, mais je vous demande de bien vouloir m'en excuser...

Hors ligne

#45 Le 05/01/2024, à 13:33

hdesbois

Re : [Résolu] modification ordre de boot uefi impossible

Pourquoi? tu ne sais plus booter avec mint?
Dans ce cas reste sous ubuntu et monte la partition EFI

sudo mount -v  /dev/sda3  /boot/efi

voilà :

hdesbois@HP-ProBook-6560b:~$ sudo mount -v  /dev/sda3  /boot/efi
[sudo] Mot de passe de hdesbois : 
mount: /boot/efi: le point de montage n'existe pas.
hdesbois@HP-ProBook-6560b:~$ 

Hors ligne

#46 Le 05/01/2024, à 13:47

geole

Re : [Résolu] modification ordre de boot uefi impossible

sudo mkdir /boot/efi

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

#47 Le 05/01/2024, à 13:48

iznobe

Re : [Résolu] modification ordre de boot uefi impossible

tu as passé la commande sous ubuntu ?

geole a écrit :

Dans ce cas reste sous ubuntu et monte la partition EFI

sudo mount -v  /dev/sda3  /boot/efi

Dernière modification par iznobe (Le 05/01/2024, à 13:49)


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

En ligne

#48 Le 05/01/2024, à 14:20

hdesbois

Re : [Résolu] modification ordre de boot uefi impossible

manip faite sous ubuntu :

hdesbois@HP-ProBook-6560b:~$ sudo mount -v  /dev/sda3  /boot/efi
mount : /dev/sda3 monté sur /boot/efi.
hdesbois@HP-ProBook-6560b:~$ 

Hors ligne

#49 Le 05/01/2024, à 14:24

geole

Re : [Résolu] modification ordre de boot uefi impossible

Maintenant que la partition EFI est montée, tu peux reprendre la procédure.

Note que je n'ai pas compris pourquoi cette installation ubuntu  est en legacy alors que début laissait penser qu'elle était en EFI et initialement, on a oublié de demander un boot-info.

Partitions info (1/3): _________________________________________________________
sda7	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios
sda6	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios

Dernière modification par geole (Le 05/01/2024, à 14:32)


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

#50 Le 05/01/2024, à 14:40

hdesbois

Re : [Résolu] modification ordre de boot uefi impossible

je continue donc par la sauvegarde du fichier de boot de windows :

hdesbois@HP-ProBook-6560b:~$ sudo -i
[sudo] Mot de passe de hdesbois : 
root@HP-ProBook-6560b:~# cp -v /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi /boot/efi/EFI/Microsoft/Boot/bootmgfw$(date +"-%Y-%m-%d-%H-%M-%S").efi
'/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi' -> '/boot/efi/EFI/Microsoft/Boot/bootmgfw-2024-01-05-13-35-56.efi'
root@HP-ProBook-6560b:~# 

remarque perso : j'admire la patience des gens de ce forum !

Hors ligne