#1 Le 23/03/2024, à 19:38
- idioteidiote
(RÉSOLU) réparer dual boot w11 et Ubuntu 22.04 facilement
Bonsoir,
Je vais la faire brève.
J'adore Ubuntu et j'ai encore un ou deux CD genre Warty de février 2005
J'ai systématiquement toujours mis mes bécanes en dual-boot avec plus ou moins de bonheur.
Surtout les petits Acer Aspire, si pratiques...
là, je galère et je viens faire appel à votre extrême obligeance pour ne pas passer des heures en recherches souvent stériles...
1. je viens de récupérer un PC HP compaq pro 6300, 64 bits, entièrement vierge avec un bon disque dur et un windows 11 tout neuf.
j'ai téléchargé et mis un Ubuntu 22.04 un peu automatiquement, après avoir au préalable partitionné le disque windows AVEC WINDOWS pour faire de la place pour Ubuntu.
tout s'est relativement bien passé.
MAIS : après être entré dans windows pour y installer un ou deux programmes que j'avais achetés et dont l'équivalent n'existe pas pour Ubuntu,
le problème est que maintenant, lorsque je mets en marche mon PC : il boote sur Windows direct.
Pas de Grub...
J'ai fouillé, cherché, mais je suis chaque fois - pour relancer en Ubuntu - obligé de :
mettre en marche,
lancer windows,
chercher une option démarrage "dépannage"
prendre "options avancées"
changer les paramètres du microprogramme UEFI
là : un redémarrage survient et débouche sur une fenêtre bleue :
Menu de démarrage
avec une option "exécuter l'application UEFI" <--- je clique dessus
une fenêtre propose HDD Toshiba DT01ACA100, partition 1 <------ je clique dessus
une nouvelle fenêtre ne donne pas d'autre choix que < EFI > <---- je valide
une nouvelle fenêtre propose :
<Microsoft>
<Boot>
<ubuntu> <------ je valide
une nouvelle fenêtre propose :
mmx64.efi
shimx64.efi
grubx64.efi <------- je valide
et là : la bécane redémarre et ouf : le Grub s'affiche avec :
Ubuntu
Advanced option for Ubuntu
Windows Boot Manager ( on /dev/sda1 )
UEFI Firmware Settings.
je prends la 1ere option, et c'est bon. Je suis dans ubuntu.
j'éteins la bécane..... c'est windows de nouveau quand je rallume. Je suis obligée de me re-taper toute cette procédure.
Il y a donc un truc avec ces UEFI que je ne comprends pas et que je ne sais pas régler. Je veux pas tout tester à l'aveugle,
et c'est pourquoi si quelqu'un à l'obligeance de me dire sur quelle discussion je dois me rendre pour régler ce problème spécifique qui englobe windows 11 et Ubuntu 22.04 bien particulièrement. Je suis persuadée que c'est déjà arrivé aux autres utilisateurs de dual boot. C'est qu'il me manque un indice pour comprendre...
Je sais ouvrir un terminal, je sais utiliser sudo, mais à ce stade là, je bloque complètement et je ne vois pas où commencer pour corriger ce bug...
Voilà, merci d'avance pour essayer de m'orienter.
edit : le boot info
boot-info-4ppa2075 [20240323_1852]
============================== Boot Info Summary ===============================
=> No boot loader is installed in the MBR of /dev/sda.
=> No boot loader is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: 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/mmx64.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
sda2: __________________________________________________________________________
File system:
Boot sector type: -
Boot sector info:
sda3: __________________________________________________________________________
File system: ntfs
Boot sector type: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 10 or 11
Boot files: /Windows/System32/winload.exe
sda4: __________________________________________________________________________
File system: exfat
Boot sector type: Unknown
Boot sector info:
Operating System:
Boot files:
sda5: __________________________________________________________________________
File system: ntfs
Boot sector type: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda6: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 22.04.4 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: Windows XP: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
================================ 2 OS detected =================================
OS#1: L'OS actuellement utilisé - Ubuntu 22.04.4 LTS on sda6
OS#2: Windows 10 or 11 on sda3
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller from Intel Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-6.5.0-26-generic root=UUID=b1484cd3-203d-481c-83eb-92d2b4c39db8 ro quiet splash vt.handoff=7
df -Th / : /dev/sda6 ext4 588G 18G 540G 4% /
===================================== UEFI =====================================
BIOS/UEFI firmware: K01 v02.83(2.83) from Hewlett-Packard
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot disabled (confirmed by mokutil).
Timeout: 0 seconds
BootOrder: 0000,0002,0001,0007,0005,0006,0008,0009
Boot0000* Windows Boot Manager HD(1,GPT,ba695bef-78ed-4632-a7bc-89b75bfe6ab1,0x800,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.}....................
Boot0001* DTO UEFI USB Floppy/CD VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0500000001)AMBO
Boot0002* DTO UEFI USB Hard Drive VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0200000001)AMBO
Boot0005* DTO Legacy USB Floppy/CD VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0500000000)AMBO
Boot0006* Hard Drive BBS(HD,,0x0)AMGOAMNOw.......+.S.A.T.A. . .P.M.:. .T.O.S.H.I.B.A. .D.T.0.1.A.C.A.1.0.0.........................rN.D+..,.\.........AMBOAMNOw.......+.S.a.m.s.u.n.g. .F.l.a.s.h. .D.r.i.v.e. .F.I.T. .1.1.0.0.........................rN.D+..,.\.........AMBO
Boot0007* DTO UEFI ATAPI CD-ROM Drive VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0300000001)AMBO
Boot0008* IBA GE Slot 00C8 v1381 BBS(Network,,0x0)AMBO
Boot0009* CD/DVD Drive BBS(CDROM,,0x0)AMGOAMNO{.......+.S.A.T.A. . .P.M.:. .h.p. . . . . . . .C.D.D.V.D.W. .S.H.-.2.........................rN.D+..,.\.........AMBO
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, has-win, 2048 sectors * 512 bytes
sdb : notGPT, no-BIOSboot, has-noESP, usb-disk, not-mmc, no-os, no-wind, 64 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda6 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, end-after-100GB
sdb1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda4 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sda5 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sda3 : is-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sda1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
Partitions info (2/3): _________________________________________________________
sda6 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda4 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda5 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot
sda3 : isnotESP, part-has-no-fstab, no-nt, haswinload, 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
Partitions info (3/3): _________________________________________________________
sda6 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
sdb1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sda4 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sda5 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--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
fdisk -l (filtered): ___________________________________________________________
Disk sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: D204958C-DB45-4F1C-AA9D-6E5457ABA382
Start End Sectors Size Type
sda1 2048 206847 204800 100M EFI System
sda2 206848 239615 32768 16M Microsoft reserved
sda3 239616 494036991 493797376 235.5G Microsoft basic data
sda4 494036992 698836991 204800000 97.7G Microsoft basic data
sda5 1952212992 1953521663 1308672 639M Windows recovery environment
sda6 698836992 1952212991 1253376000 597.7G Linux filesystem
Partition table entries are not in disk order.
Disk sdb: 59.75 GiB, 64156073984 bytes, 125304832 sectors
Disk identifier: 0x00000000
Boot Start End Sectors Size Id Type
sdb1 64 125304831 125304768 59.7G c W95 FAT32 (LBA)
parted -lm (filtered): _________________________________________________________
sda:1000GB:scsi:512:4096:gpt:ATA TOSHIBA DT01ACA1:;
1:1049kB:106MB:105MB:fat32:EFI system partition:boot, esp;
2:106MB:123MB:16.8MB::Microsoft reserved partition:msftres;
3:123MB:253GB:253GB:ntfs:Basic data partition:msftdata;
4:253GB:358GB:105GB::Basic data partition:msftdata;
6:358GB:1000GB:642GB:ext4::;
5:1000GB:1000GB:670MB:ntfs::hidden, diag;
sdb:64.2GB:scsi:512:512:msdos:Samsung Flash Drive FIT:;
1:32.8kB:64.2GB:64.2GB:fat32::lba;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat 7089-F945 ba695bef-78ed-4632-a7bc-89b75bfe6ab1 EFI system partition
├─sda2 2c989a97-cc89-4215-9fe1-5aacca50b8bd Microsoft reserved partition
├─sda3 ntfs A2BA8D95BA8D669F cd31ca3e-b50b-4c2a-938c-ca4fae59255b Basic data partition
├─sda4 exfat BC2A-4F54 80f30cdb-9f98-4750-b7b5-d5f2d648df03 TRANSITO Basic data partition
├─sda5 ntfs 5284142284140B5D a11e0f8e-ae20-4039-a935-65f2dc194c18
└─sda6 ext4 b1484cd3-203d-481c-83eb-92d2b4c39db8 69c79eea-d118-4962-8202-ae733047612b
sdb
└─sdb1 vfat 8848-184A Samsung USB
sdc
sdd
sde
sdf
sdg
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda3 198.4G 16% /mnt/boot-sav/sda3
/dev/sda4 96.6G 1% /mnt/boot-sav/sda4
/dev/sda5 87.1M 86% /mnt/boot-sav/sda5
/dev/sda6 539.3G 3% /
/dev/sdb1 43.4G 27% /media/ghghgh/Samsung USB
efivarfs 276.8K 12% /sys/firmware/efi/efivars
Mount options (filtered): ______________________________________________________
/dev/sda3 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda4 exfat rw,relatime,fmask=0022,dmask=0022,iocharset=utf8,errors=remount-ro
/dev/sda5 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda6 ext4 rw,relatime,errors=remount-ro
/dev/sdb1 vfat rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro
===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid b1484cd3-203d-481c-83eb-92d2b4c39db8 root hd0,gpt6
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sda6/boot/grub/grub.cfg (filtered) ======================
Ubuntu b1484cd3-203d-481c-83eb-92d2b4c39db8
Windows Boot Manager (on sda1) osprober-efi-7089-F945
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### 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=b1484cd3-203d-481c-83eb-92d2b4c39db8 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=7089-F945 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
======================= sda6/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
==================== sda6: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
735.375984192 = 789.603950592 boot/grub/grub.cfg 1
341.674388885 = 366.870081536 boot/vmlinuz 1
340.111881256 = 365.192351744 boot/vmlinuz-6.5.0-18-generic 2
341.674388885 = 366.870081536 boot/vmlinuz-6.5.0-26-generic 1
340.111881256 = 365.192351744 boot/vmlinuz.old 2
738.140602112 = 792.572436480 boot/initrd.img 1
738.429672241 = 792.882823168 boot/initrd.img-6.5.0-18-generic 1
738.140602112 = 792.572436480 boot/initrd.img-6.5.0-26-generic 1
738.429672241 = 792.882823168 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 May 17 2023 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
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub-efi of
sda6,
using the following options: sda1/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 L'OS actuellement utilisé - Ubuntu 22.04.4 LTS entry (sda1/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)
EDIT
j'ai utilisé BOOT REPAIR, voilà ce que ça donne (pas encore testé au redémarrage)
boot-repair-4ppa2075 [20240323_1906]
============================= Boot Repair Summary ==============================
Ceci modifiera le point de montage de sdb1 afin d'en supprimer les espaces et les caractères spéciaux. Voulez-vous continuer ?
Ceci modifiera le point de montage de sdb1 afin d'en supprimer les espaces et les caractères spéciaux. Voulez-vous continuer ?
modprobe: FATAL: Module efivars not found in directory /lib/modules/6.5.0-26-generic
Recommended repair: ____________________________________________________________
The default repair of the Boot-Repair utility will reinstall the grub-efi of
sda6,
using the following options: sda1/boot/efi
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups
rm /mnt/boot-sav/sda1/efi/Boot/bootx64.efi
mv /mnt/boot-sav/sda1/efi/Boot/bkpbootx64.efi /mnt/boot-sav/sda1/efi/Boot/bootx64.efi
Mount /dev/sda1 on /boot/efi
===================== Reinstall the grub-efi of /dev/sda6 ======================
grub-install --version
grub-install (GRUB) 2.06-2ubuntu7.2
modprobe: FATAL: Module efivars not found in directory /lib/modules/6.5.0-26-generic
modprobe efivars
efibootmgr -v before grub install
Timeout: 0 seconds
BootOrder: 0000,0002,0001,0007,0005,0006,0008,0009
Boot0000* Windows Boot Manager HD(1,GPT,ba695bef-78ed-4632-a7bc-89b75bfe6ab1,0x800,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.}....................
Boot0001* DTO UEFI USB Floppy/CD VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0500000001)AMBO
Boot0002* DTO UEFI USB Hard Drive VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0200000001)AMBO
Boot0005* DTO Legacy USB Floppy/CD VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0500000000)AMBO
Boot0006* Hard Drive BBS(HD,,0x0)AMGOAMNOw.......+.S.A.T.A. . .P.M.:. .T.O.S.H.I.B.A. .D.T.0.1.A.C.A.1.0.0.........................rN.D+..,..........AMBOAMNOw.......+.S.a.m.s.u.n.g. .F.l.a.s.h. .D.r.i.v.e. .F.I.T. .1.1.0.0.........................rN.D+..,..........AMBO
Boot0007* DTO UEFI ATAPI CD-ROM Drive VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0300000001)AMBO
Boot0008* IBA GE Slot 00C8 v1381 BBS(Network,,0x0)AMBO
Boot0009* CD/DVD Drive BBS(CDROM,,0x0)AMGOAMNO{.......+.S.A.T.A. . .P.M.:. .h.p. . . . . . . .C.D.D.V.D.W. .S.H.-.2.........................rN.D+..,..........AMBO
uname -r
6.5.0-26-generic
grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
Installation finished. No error reported.
df /dev/sda1
mv /boot/efi/EFI/Boot/bootx64.efi /boot/efi/EFI/Boot/bkpbootx64.efi
cp /boot/efi/efi/ubuntu/grubx64.efi /boot/efi/EFI/Boot/bootx64.efi
grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
Installation finished. No error reported.
efibootmgr -v after grub install
Timeout: 0 seconds
BootOrder: 0003,0000,0002,0001,0007,0005,0006,0008,0009
Boot0000* Windows Boot Manager HD(1,GPT,ba695bef-78ed-4632-a7bc-89b75bfe6ab1,0x800,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.}....................
Boot0001* DTO UEFI USB Floppy/CD VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0500000001)AMBO
Boot0002* DTO UEFI USB Hard Drive VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0200000001)AMBO
Boot0003* ubuntu HD(1,GPT,ba695bef-78ed-4632-a7bc-89b75bfe6ab1,0x800,0x32000)/File(EFIubuntushimx64.efi)
Boot0005* DTO Legacy USB Floppy/CD VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0500000000)AMBO
Boot0006* Hard Drive BBS(HD,,0x0)AMGOAMNOw.......+.S.A.T.A. . .P.M.:. .T.O.S.H.I.B.A. .D.T.0.1.A.C.A.1.0.0.........................rN.D+..,..........AMBOAMNOw.......+.S.a.m.s.u.n.g. .F.l.a.s.h. .D.r.i.v.e. .F.I.T. .1.1.0.0.........................rN.D+..,..........AMBO
Boot0007* DTO UEFI ATAPI CD-ROM Drive VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0300000001)AMBO
Boot0008* IBA GE Slot 00C8 v1381 BBS(Network,,0x0)AMBO
Boot0009* CD/DVD Drive BBS(CDROM,,0x0)AMGOAMNO{.......+.S.A.T.A. . .P.M.:. .h.p. . . . . . . .C.D.D.V.D.W. .S.H.-.2.........................rN.D+..,..........AMBO
update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Found linux image: /boot/vmlinuz-6.5.0-26-generic
Found initrd image: /boot/initrd.img-6.5.0-26-generic
Found linux image: /boot/vmlinuz-6.5.0-18-generic
Found initrd image: /boot/initrd.img-6.5.0-18-generic
Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
Ceci modifiera le point de montage de sdb1 afin d'en supprimer les espaces et les caractères spéciaux. Voulez-vous continuer ?
Unhide GRUB boot menu in sda6/boot/grub/grub.cfg
Le démarrage de l'ordinateur a été correctement réparé.
Vous pouvez maintenant redémarrer votre ordinateur.
N'oubliez pas de faire démarrer votre firmware UEFI sur l'entrée L'OS actuellement utilisé - Ubuntu 22.04.4 LTS (fichier sda1/efi/ubuntu/grubx64.efi) !
Si votre ordinateur redémarre directement dans Windows, essayez de changer l'ordre de démarrage dans votre firmware UEFI.
Si votre firmware UEFI ne permet pas de changer l'ordre de démarrage, changez l'entrée de démarrage par défaut de l'amorceur Windows.
Par exemple, vous pouvez démarrer Windows, puis saisir la commande suivante dans une invite de commande en mode administrateur :
bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi
============================ Boot Info After Repair ============================
=> No boot loader is installed in the MBR of /dev/sda.
=> No boot loader is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: 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/mmx64.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
sda2: __________________________________________________________________________
File system:
Boot sector type: -
Boot sector info:
sda3: __________________________________________________________________________
File system: ntfs
Boot sector type: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 10 or 11
Boot files: /Windows/System32/winload.exe
sda4: __________________________________________________________________________
File system: exfat
Boot sector type: Unknown
Boot sector info:
Operating System:
Boot files:
sda5: __________________________________________________________________________
File system: ntfs
Boot sector type: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda6: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 22.04.4 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: Windows XP: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
================================ 2 OS detected =================================
OS#1: L'OS actuellement utilisé - Ubuntu 22.04.4 LTS on sda6
OS#2: Windows 10 or 11 on sda3
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller from Intel Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-6.5.0-26-generic root=UUID=b1484cd3-203d-481c-83eb-92d2b4c39db8 ro quiet splash vt.handoff=7
df -Th / : /dev/sda6 ext4 588G 18G 540G 4% /
===================================== UEFI =====================================
BIOS/UEFI firmware: K01 v02.83(2.83) from Hewlett-Packard
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot disabled (confirmed by mokutil).
Timeout: 0 seconds
BootOrder: 0003,0000,0002,0001,0007,0005,0006,0008,0009
Boot0000* Windows Boot Manager HD(1,GPT,ba695bef-78ed-4632-a7bc-89b75bfe6ab1,0x800,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.}....................
Boot0001* DTO UEFI USB Floppy/CD VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0500000001)AMBO
Boot0002* DTO UEFI USB Hard Drive VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0200000001)AMBO
Boot0003* ubuntu HD(1,GPT,ba695bef-78ed-4632-a7bc-89b75bfe6ab1,0x800,0x32000)/File(\EFI\ubuntu\shimx64.efi)
Boot0005* DTO Legacy USB Floppy/CD VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0500000000)AMBO
Boot0006* Hard Drive BBS(HD,,0x0)AMGOAMNOw.......+.S.A.T.A. . .P.M.:. .T.O.S.H.I.B.A. .D.T.0.1.A.C.A.1.0.0.........................rN.D+..,.\.........AMBOAMNOw.......+.S.a.m.s.u.n.g. .F.l.a.s.h. .D.r.i.v.e. .F.I.T. .1.1.0.0.........................rN.D+..,.\.........AMBO
Boot0007* DTO UEFI ATAPI CD-ROM Drive VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0300000001)AMBO
Boot0008* IBA GE Slot 00C8 v1381 BBS(Network,,0x0)AMBO
Boot0009* CD/DVD Drive BBS(CDROM,,0x0)AMGOAMNO{.......+.S.A.T.A. . .P.M.:. .h.p. . . . . . . .C.D.D.V.D.W. .S.H.-.2.........................rN.D+..,.\.........AMBO
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, has-win, 2048 sectors * 512 bytes
sdb : notGPT, no-BIOSboot, has-noESP, usb-disk, not-mmc, no-os, no-wind, 64 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda6 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, end-after-100GB
sdb1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda4 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sda5 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sda3 : is-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sda1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
Partitions info (2/3): _________________________________________________________
sda6 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda4 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda5 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot
sda3 : isnotESP, part-has-no-fstab, no-nt, haswinload, 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
Partitions info (3/3): _________________________________________________________
sda6 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
sdb1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sda4 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sda5 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--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
fdisk -l (filtered): ___________________________________________________________
Disk sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: D204958C-DB45-4F1C-AA9D-6E5457ABA382
Start End Sectors Size Type
sda1 2048 206847 204800 100M EFI System
sda2 206848 239615 32768 16M Microsoft reserved
sda3 239616 494036991 493797376 235.5G Microsoft basic data
sda4 494036992 698836991 204800000 97.7G Microsoft basic data
sda5 1952212992 1953521663 1308672 639M Windows recovery environment
sda6 698836992 1952212991 1253376000 597.7G Linux filesystem
Partition table entries are not in disk order.
Disk sdb: 59.75 GiB, 64156073984 bytes, 125304832 sectors
Disk identifier: 0x00000000
Boot Start End Sectors Size Id Type
sdb1 64 125304831 125304768 59.7G c W95 FAT32 (LBA)
parted -lm (filtered): _________________________________________________________
sda:1000GB:scsi:512:4096:gpt:ATA TOSHIBA DT01ACA1:;
1:1049kB:106MB:105MB:fat32:EFI system partition:boot, esp;
2:106MB:123MB:16.8MB::Microsoft reserved partition:msftres;
3:123MB:253GB:253GB:ntfs:Basic data partition:msftdata;
4:253GB:358GB:105GB::Basic data partition:msftdata;
6:358GB:1000GB:642GB:ext4::;
5:1000GB:1000GB:670MB:ntfs::hidden, diag;
sdb:64.2GB:scsi:512:512:msdos:Samsung Flash Drive FIT:;
1:32.8kB:64.2GB:64.2GB:fat32::lba;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat 7089-F945 ba695bef-78ed-4632-a7bc-89b75bfe6ab1 EFI system partition
├─sda2 2c989a97-cc89-4215-9fe1-5aacca50b8bd Microsoft reserved partition
├─sda3 ntfs A2BA8D95BA8D669F cd31ca3e-b50b-4c2a-938c-ca4fae59255b Basic data partition
├─sda4 exfat BC2A-4F54 80f30cdb-9f98-4750-b7b5-d5f2d648df03 TRANSITO Basic data partition
├─sda5 ntfs 5284142284140B5D a11e0f8e-ae20-4039-a935-65f2dc194c18
└─sda6 ext4 b1484cd3-203d-481c-83eb-92d2b4c39db8 69c79eea-d118-4962-8202-ae733047612b
sdb
└─sdb1 vfat 8848-184A Samsung USB
sdc
sdd
sde
sdf
sdg
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda3 198.4G 16% /mnt/boot-sav/sda3
/dev/sda4 96.6G 1% /mnt/boot-sav/sda4
/dev/sda5 87.1M 86% /mnt/boot-sav/sda5
/dev/sda6 539.3G 3% /
/dev/sdb1 43.4G 27% /media/ghghgh/Samsung USB
efivarfs 276.7K 12% /sys/firmware/efi/efivars
Mount options (filtered): ______________________________________________________
/dev/sda3 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda4 exfat rw,relatime,fmask=0022,dmask=0022,iocharset=utf8,errors=remount-ro
/dev/sda5 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda6 ext4 rw,relatime,errors=remount-ro
/dev/sdb1 vfat rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro
===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid b1484cd3-203d-481c-83eb-92d2b4c39db8 root hd0,gpt6
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sda6/boot/grub/grub.cfg (filtered) ======================
Ubuntu b1484cd3-203d-481c-83eb-92d2b4c39db8
Windows Boot Manager (on sda1) osprober-efi-7089-F945
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### 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=b1484cd3-203d-481c-83eb-92d2b4c39db8 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=7089-F945 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
======================= sda6/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
==================== sda6: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
737.655666351 = 792.051740672 boot/grub/grub.cfg 1
341.674388885 = 366.870081536 boot/vmlinuz 1
340.111881256 = 365.192351744 boot/vmlinuz-6.5.0-18-generic 2
341.674388885 = 366.870081536 boot/vmlinuz-6.5.0-26-generic 1
340.111881256 = 365.192351744 boot/vmlinuz.old 2
738.140602112 = 792.572436480 boot/initrd.img 1
738.429672241 = 792.882823168 boot/initrd.img-6.5.0-18-generic 1
738.140602112 = 792.572436480 boot/initrd.img-6.5.0-26-generic 1
738.429672241 = 792.882823168 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 May 17 2023 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
qui vivra verra...
Dernière modification par idioteidiote (Le 25/03/2024, à 12:03)
Fan des Acer Aspire One et de PC anciens pour leur donner une deuxième vie avec Ubuntu.
Hors ligne
#2 Le 23/03/2024, à 20:32
- geole
Re : (RÉSOLU) réparer dual boot w11 et Ubuntu 22.04 facilement
Bonsoir.
Il faut cesser de dire à windows de se stopper en cliquant sur l'icône ARRETER. Cela met windows en hibernation et cela le fait redémarrer.
Il faut dire à windows de se stopper en cliquant sur l'icône REDEMARRER, Cela positionne le bios pour faire un démarrage sur EFI. Tu pourras avoir le choix plus facilement.
Mais il te faudra personnaliser/customize le démarrage de ton HP Probablement avec la touche F11
Je ne peux en dire plus car ton ordinateur 6300 n'est pas encore dans la liste
Ta réparation est parfaite
efibootmgr -v after grub install
Timeout: 0 seconds
BootOrder: 0003,0000,0002,0001,0007,0005,0006,0008,0009
Boot0000* Windows Boot Manager HD(1,GPT,ba695bef-78ed-4632-a7bc-89b75bfe6ab1,0x800,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.}....................
Boot0001* DTO UEFI USB Floppy/CD VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0500000001)AMBO
Boot0002* DTO UEFI USB Hard Drive VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0200000001)AMBO
Boot0003* ubuntu HD(1,GPT,ba695bef-78ed-4632-a7bc-89b75bfe6ab1,0x800,0x32000)/File(EFIubuntushimx64.efi)
Boot0005* DTO Legacy USB Floppy/CD VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0500000000)AMBO
Boot0006* Hard Drive BBS(HD,,0x0)AMGOAMNOw.......+.S.A.T.A. . .P.M.:. .T.O.S.H.I.B.A. .D.T.0.1.A.C.A.1.0.0.........................rN.D+..,..........AMBOAMNOw.......+.S.a.m.s.u.n.g. .F.l.a.s.h. .D.r.i.v.e. .F.I.T. .1.1.0.0.........................rN.D+..,..........AMBO
Boot0007* DTO UEFI ATAPI CD-ROM Drive VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0300000001)AMBO
Boot0008* IBA GE Slot 00C8 v1381 BBS(Network,,0x0)AMBO
Boot0009* CD/DVD Drive BBS(CDROM,,0x0)AMGOAMNO{.......+.S.A.T.A. . .P.M.:. .h.p. . . . . . . .C.D.D.V.D.W. .S.H.-.2.........................rN.D+..,..........AMBO
Dernière modification par geole (Le 23/03/2024, à 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
Hors ligne
#3 Le 23/03/2024, à 20:57
- xubu1957
Re : (RÉSOLU) réparer dual boot w11 et Ubuntu 22.04 facilement
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
En ligne
#4 Le 23/03/2024, à 20:58
- idioteidiote
Re : (RÉSOLU) réparer dual boot w11 et Ubuntu 22.04 facilement
Bonsoir.
Il faut cesser de dire à windows de se stopper en cliquant sur l'icône ARRETER. Cela met windows en hibernation et cela le fait redémarrer.
Il faut dire à windows de se stopper en cliquant sur l'icône REDEMARRER, Cela positionne le bios pour faire un démarrage sur EFI. Tu pourras avoir le choix plus facilement.Mais il te faudra personnaliser/customize le démarrage de ton HP Probablement avec la touche F11
Je ne peux en dire plus car ton ordinateur 6300 n'est pas encore dans la listeTa réparation est parfaite
efibootmgr -v after grub install
Timeout: 0 seconds
BootOrder: 0003,0000,0002,0001,0007,0005,0006,0008,0009
Boot0000* Windows Boot Manager HD(1,GPT,ba695bef-78ed-4632-a7bc-89b75bfe6ab1,0x800,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.}....................
Boot0001* DTO UEFI USB Floppy/CD VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0500000001)AMBO
Boot0002* DTO UEFI USB Hard Drive VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0200000001)AMBO
Boot0003* ubuntu HD(1,GPT,ba695bef-78ed-4632-a7bc-89b75bfe6ab1,0x800,0x32000)/File(EFIubuntushimx64.efi)
Boot0005* DTO Legacy USB Floppy/CD VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0500000000)AMBO
Boot0006* Hard Drive BBS(HD,,0x0)AMGOAMNOw.......+.S.A.T.A. . .P.M.:. .T.O.S.H.I.B.A. .D.T.0.1.A.C.A.1.0.0.........................rN.D+..,..........AMBOAMNOw.......+.S.a.m.s.u.n.g. .F.l.a.s.h. .D.r.i.v.e. .F.I.T. .1.1.0.0.........................rN.D+..,..........AMBO
Boot0007* DTO UEFI ATAPI CD-ROM Drive VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0300000001)AMBO
Boot0008* IBA GE Slot 00C8 v1381 BBS(Network,,0x0)AMBO
Boot0009* CD/DVD Drive BBS(CDROM,,0x0)AMGOAMNO{.......+.S.A.T.A. . .P.M.:. .h.p. . . . . . . .C.D.D.V.D.W. .S.H.-.2.........................rN.D+..,..........AMBO
Merci pour ce message.
J'ai redémarré après le boot-repair, pico bello en grub avec Ubuntu en 1ère ligne.
J'ai éteint le PC, rallumé, toujours le bon grub.
J'ai pris l'option Windows et j'écris ce message depuis W11 avec Opera.
Je vais éteindre et rallumer.... et vérifier si mon grub est encore actif.
A soudain...
PS j'ai du corriger les horloges, car W et U avaient des différences de 1 heure.
Là, W est dans le bon créneau horaire.
19h58
Fan des Acer Aspire One et de PC anciens pour leur donner une deuxième vie avec Ubuntu.
Hors ligne
#5 Le 23/03/2024, à 21:00
- idioteidiote
Re : (RÉSOLU) réparer dual boot w11 et Ubuntu 22.04 facilement
+ 100
Fan des Acer Aspire One et de PC anciens pour leur donner une deuxième vie avec Ubuntu.
Hors ligne
#6 Le 23/03/2024, à 21:06
- idioteidiote
Re : (RÉSOLU) réparer dual boot w11 et Ubuntu 22.04 facilement
MERDUM ECRASUM .... :(:(
après avoir éteint redémarré W le grub ne fonctionne plus, là je vous écris depuis W et Firefox.
grrrrrrrrrrr
bon... eh bien la punition c'est que chaque fois que je touche windows, il me massacre le grub
mais la procédure de réparation prend moins de 10 minutes. comme de toute façon je suis en général 99,9% sur Ubuntu
eh bien tant pis.
Pas trouvé comment régler ce problème sans devoir passer par cette réparation via W
ce message dans le bootinfo m'interpelle...
line 29 : modprobe: FATAL: Module efivars not found in directory /lib/modules/6.5.0-26-generic
line 30 : modprobe efivars
:-(
et mon grub après réparation :
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ "${initrdfail}" = 2 ]; then
set initrdfail=
elif [ "${initrdfail}" = 1 ]; then
set next_entry="${prev_entry}"
set prev_entry=
save_env prev_entry
if [ "${next_entry}" ]; then
set initrdfail=2
fi
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function initrdfail {
if [ -n "${have_grubenv}" ]; then if [ -n "${partuuid}" ]; then
if [ -z "${initrdfail}" ]; then
set initrdfail=1
if [ -n "${boot_once}" ]; then
set prev_entry="${default}"
save_env prev_entry
fi
fi
save_env initrdfail
fi; fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 b1484cd3-203d-481c-83eb-92d2b4c39db8
else
search --no-floppy --fs-uuid --set=root b1484cd3-203d-481c-83eb-92d2b4c39db8
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=fr_CH
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=10
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=10
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=10
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if [ ${grub_platform} != pc ]; then
set linux_gfx_mode=keep
elif hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-b1484cd3-203d-481c-83eb-92d2b4c39db8' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 b1484cd3-203d-481c-83eb-92d2b4c39db8
else
search --no-floppy --fs-uuid --set=root b1484cd3-203d-481c-83eb-92d2b4c39db8
fi
linux /boot/vmlinuz-6.5.0-26-generic root=UUID=b1484cd3-203d-481c-83eb-92d2b4c39db8 ro quiet splash $vt_handoff
initrd /boot/initrd.img-6.5.0-26-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-b1484cd3-203d-481c-83eb-92d2b4c39db8' {
menuentry 'Ubuntu, with Linux 6.5.0-26-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.5.0-26-generic-advanced-b1484cd3-203d-481c-83eb-92d2b4c39db8' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 b1484cd3-203d-481c-83eb-92d2b4c39db8
else
search --no-floppy --fs-uuid --set=root b1484cd3-203d-481c-83eb-92d2b4c39db8
fi
echo 'Loading Linux 6.5.0-26-generic ...'
linux /boot/vmlinuz-6.5.0-26-generic root=UUID=b1484cd3-203d-481c-83eb-92d2b4c39db8 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-6.5.0-26-generic
}
menuentry 'Ubuntu, with Linux 6.5.0-26-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.5.0-26-generic-recovery-b1484cd3-203d-481c-83eb-92d2b4c39db8' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 b1484cd3-203d-481c-83eb-92d2b4c39db8
else
search --no-floppy --fs-uuid --set=root b1484cd3-203d-481c-83eb-92d2b4c39db8
fi
echo 'Loading Linux 6.5.0-26-generic ...'
linux /boot/vmlinuz-6.5.0-26-generic root=UUID=b1484cd3-203d-481c-83eb-92d2b4c39db8 ro recovery nomodeset dis_ucode_ldr
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-6.5.0-26-generic
}
menuentry 'Ubuntu, with Linux 6.5.0-18-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.5.0-18-generic-advanced-b1484cd3-203d-481c-83eb-92d2b4c39db8' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 b1484cd3-203d-481c-83eb-92d2b4c39db8
else
search --no-floppy --fs-uuid --set=root b1484cd3-203d-481c-83eb-92d2b4c39db8
fi
echo 'Loading Linux 6.5.0-18-generic ...'
linux /boot/vmlinuz-6.5.0-18-generic root=UUID=b1484cd3-203d-481c-83eb-92d2b4c39db8 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-6.5.0-18-generic
}
menuentry 'Ubuntu, with Linux 6.5.0-18-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.5.0-18-generic-recovery-b1484cd3-203d-481c-83eb-92d2b4c39db8' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 b1484cd3-203d-481c-83eb-92d2b4c39db8
else
search --no-floppy --fs-uuid --set=root b1484cd3-203d-481c-83eb-92d2b4c39db8
fi
echo 'Loading Linux 6.5.0-18-generic ...'
linux /boot/vmlinuz-6.5.0-18-generic root=UUID=b1484cd3-203d-481c-83eb-92d2b4c39db8 ro recovery nomodeset dis_ucode_ldr
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-6.5.0-18-generic
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/10_linux_zfs ###
### END /etc/grub.d/10_linux_zfs ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-7089-F945' {
insmod part_gpt
insmod fat
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 7089-F945
else
search --no-floppy --fs-uuid --set=root 7089-F945
fi
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
set timeout=10
fi
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/35_fwupd ###
### END /etc/grub.d/35_fwupd ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg
fi
### END /etc/grub.d/41_custom ###
bonne nuit
20:54
Dernière modification par idioteidiote (Le 23/03/2024, à 21:54)
Fan des Acer Aspire One et de PC anciens pour leur donner une deuxième vie avec Ubuntu.
Hors ligne
#7 Le 23/03/2024, à 22:28
- geole
Re : (RÉSOLU) réparer dual boot w11 et Ubuntu 22.04 facilement
Le plus simple me semble de lui faire plaisir pour booter Windows...
Mais on le fait tomber dans le piège Refind
Il te faudra installer refind.
Le plus simple est de le faire après un nouveau bricolage permettant de lancer ubuntu.
sudo apt install refind
Puis mettre refind dans le fichier de boot windows.
Paragraphe 5.8.2
Dernière modification par geole (Le 23/03/2024, à 22:54)
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit, utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#8 Le 23/03/2024, à 22:48
- geole
Re : (RÉSOLU) réparer dual boot w11 et Ubuntu 22.04 facilement
@geole
C'est une tour > hp-compaq-pro-6300-microtower-pc, pas un portable.
Bonsoir xubu1957
Merci de cette précision.
Je ne comprends pas très bien pourquoi le recencement des tours est exclu. Il me semble que cela n'est pas encore dans la catégorie "professionnel'.
Dernière modification par geole (Le 23/03/2024, à 22:55)
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit, utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#9 Le 23/03/2024, à 23:05
- xubu1957
Re : (RÉSOLU) réparer dual boot w11 et Ubuntu 22.04 facilement
@geole
Il semble que la documentation traite du portable, les tours pouvant être équipées de périphériques variés, et nécessite de rajouter les écrans, cela devient compliqué de gérer un parc hétéroclite.
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
En ligne
#10 Le 24/03/2024, à 10:12
- idioteidiote
Re : (RÉSOLU) réparer dual boot w11 et Ubuntu 22.04 facilement
24.04.2024 mon amie a 79 ans aujourd'hui
09:12 démarrage... grub fonctionne... pas été sur windows, car je sais d'avance qu'en m'y rendant il me bousillera mon boot
windows sera lancé uniquement si j'ai vraiment besoin de travailler.
je vais regarder le post #7 refind, si c'est pas trop technique je vais tenter.
mais je reste persuadée que c'est une embrouille avec UEFI quelque part.
EDIT :
je découvre que l'ordi a u W11 en mode EFI
(trouvé sur cette discussion : https://blog.desdelinux.net/fr/un-moyen … tage-bios/ )
or, l'install de Ubuntu s'est faite sans vérifier ce détail.
la commande
[ -d /sys/firmware/efi ] && echo "Installé en mode EFI" || echo "Installé en mode classique"
renvoie
Installé en mode EFI
le § 6 de cette discussion est intéressant : https://doc.ubuntu-fr.org/UEFI
Contourner le démarrage forcé sur Windows 10 et Windows 8
La méthode Boot-Repair ne prend plus en charge ce cas-là mais n'explique pas ce qui se passe. Voici donc une méthode alternative détaillée mais nécessitant de savoir utiliser un terminal). Elle semble indispensable sur certains MSI et Sony. Voici les étapes à suivre, détaillées dans les sous-paragraphes suivants :
sauvegarder les programmes d'amorçage EFI d'origine
renommer le programme d'amorçage standard de Microsoft, et écraser toutes les copies que peut charger le bios UEFI par le programme d'amorçage de grub
modifier le système de détection des autres OS de grub
mais je me sens un peu seule face à cette suggestion, j'ai pas envie de planter quoi que ce soit.
Entre-temps j'ai pu voir que Malbo n'aime pas les HP et ce déjà depuis 2015
mon boot-info :
edit du 10:26
sur le boot info, le dernier paragraphe propose ceci :
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)
à quoi correspondent ces ***** ?
à ça (1ère partie du bootinfo ) ?
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: 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/mmx64.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
Dernière modification par idioteidiote (Le 24/03/2024, à 11:28)
Fan des Acer Aspire One et de PC anciens pour leur donner une deuxième vie avec Ubuntu.
Hors ligne
#11 Le 24/03/2024, à 11:37
- geole
Re : (RÉSOLU) réparer dual boot w11 et Ubuntu 22.04 facilement
Bonjour.
Effectivement, tu peux aussi demander au programme de boot de windows de lancer le grub.
extrait de ton boot-info
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot disabled (confirmed by mokutil).
La commande est à faire en mode administratif. Elle est la suivante.
bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi
La faute de frappe étant risquée, faire en copier/coller
Il se peut que la synthaxe ne soit pas bonne. Dans ce cas
bcdedit /set '{bootmgr}' path \EFI\ubuntu\grubx64.efi
ou
bcdedit /set "{bootmgr}" path \EFI\ubuntu\grubx64.efi
A propos de la documentation."La méthode Boot-Repair ne prend plus en charge
Ce n'est plus vrai. Elle le fait de nouveau. Il faudra documenter.
Dernière modification par geole (Le 24/03/2024, à 11:52)
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit, utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#12 Le 24/03/2024, à 19:21
- idioteidiote
Re : (RÉSOLU) réparer dual boot w11 et Ubuntu 22.04 facilement
Bonjour.
Effectivement, tu peux aussi demander au programme de boot de windows de lancer le grub.
extrait de ton boot-infoThe firmware is EFI-compatible, and is set in EFI-mode for this installed-session. SecureBoot disabled (confirmed by mokutil).
La commande est à faire en mode administratif. Elle est la suivante.
bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi
La faute de frappe étant risquée, faire en copier/coller
Il se peut que la synthaxe ne soit pas bonne. Dans ce casbcdedit /set '{bootmgr}' path \EFI\ubuntu\grubx64.efi
ou
bcdedit /set "{bootmgr}" path \EFI\ubuntu\grubx64.efi
A propos de la documentation."La méthode Boot-Repair ne prend plus en charge
Ce n'est plus vrai. Elle le fait de nouveau. Il faudra documenter.
Salut
Cette information est pertinente,
d'après ce que je comprends cela doit être effectué depuis W11, correct ?
Fan des Acer Aspire One et de PC anciens pour leur donner une deuxième vie avec Ubuntu.
Hors ligne
#13 Le 24/03/2024, à 19:25
- xubu1957
Re : (RÉSOLU) réparer dual boot w11 et Ubuntu 22.04 facilement
Bonjour,
Collage du Boot-info :
boot-info-4ppa2075 [20240324_1007]
============================== Boot Info Summary ===============================
=> No boot loader is installed in the MBR of /dev/sda.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: 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/mmx64.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
sda2: __________________________________________________________________________
File system:
Boot sector type: -
Boot sector info:
sda3: __________________________________________________________________________
File system: ntfs
Boot sector type: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 10 or 11
Boot files: /Windows/System32/winload.exe
sda4: __________________________________________________________________________
File system: exfat
Boot sector type: Unknown
Boot sector info:
Operating System:
Boot files:
sda5: __________________________________________________________________________
File system: ntfs
Boot sector type: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda6: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 22.04.4 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
================================ 2 OS detected =================================
OS#1: L'OS actuellement utilisé - Ubuntu 22.04.4 LTS on sda6
OS#2: Windows 10 or 11 on sda3
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller from Intel Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-6.5.0-26-generic root=UUID=b1484cd3-203d-481c-83eb-92d2b4c39db8 ro quiet splash vt.handoff=7
df -Th / : /dev/sda6 ext4 588G 20G 538G 4% /
===================================== UEFI =====================================
BIOS/UEFI firmware: K01 v02.83(2.83) from Hewlett-Packard
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0003
Timeout: 0 seconds
BootOrder: 0003,0002,0001,0007,0005,0006,0008,0009
Boot0001* DTO UEFI USB Floppy/CD VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0500000001)AMBO
Boot0002* DTO UEFI USB Hard Drive VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0200000001)AMBO
Boot0003* ubuntu HD(1,GPT,ba695bef-78ed-4632-a7bc-89b75bfe6ab1,0x800,0x32000)/File(\EFI\ubuntu\shimx64.efi)
Boot0005* DTO Legacy USB Floppy/CD VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0500000000)AMBO
Boot0006* Hard Drive BBS(HD,,0x0)AMGOAMNOw.......+.S.A.T.A. . .P.M.:. .T.O.S.H.I.B.A. .D.T.0.1.A.C.A.1.0.0.........................rN.D+..,.\.........AMBO
Boot0007* DTO UEFI ATAPI CD-ROM Drive VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0300000001)AMBO
Boot0008* IBA GE Slot 00C8 v1381 BBS(Network,,0x0)AMBO
Boot0009* CD/DVD Drive BBS(CDROM,,0x0)AMGOAMNO{.......+.S.A.T.A. . .P.M.:. .h.p. . . . . . . .C.D.D.V.D.W. .S.H.-.2.........................rN.D+..,.\.........AMBO
============================= 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): _________________________________________________________
sda6 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, end-after-100GB
sda4 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sda5 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sda3 : is-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sda1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
Partitions info (2/3): _________________________________________________________
sda6 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda4 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda5 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot
sda3 : isnotESP, part-has-no-fstab, no-nt, haswinload, 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
Partitions info (3/3): _________________________________________________________
sda6 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
sda4 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sda5 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--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
fdisk -l (filtered): ___________________________________________________________
Disk sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: D204958C-DB45-4F1C-AA9D-6E5457ABA382
Start End Sectors Size Type
sda1 2048 206847 204800 100M EFI System
sda2 206848 239615 32768 16M Microsoft reserved
sda3 239616 494036991 493797376 235.5G Microsoft basic data
sda4 494036992 698836991 204800000 97.7G Microsoft basic data
sda5 1952212992 1953521663 1308672 639M Windows recovery environment
sda6 698836992 1952212991 1253376000 597.7G Linux filesystem
Partition table entries are not in disk order.
parted -lm (filtered): _________________________________________________________
sda:1000GB:scsi:512:4096:gpt:ATA TOSHIBA DT01ACA1:;
1:1049kB:106MB:105MB:fat32:EFI system partition:boot, esp;
2:106MB:123MB:16.8MB::Microsoft reserved partition:msftres;
3:123MB:253GB:253GB:ntfs:Basic data partition:msftdata;
4:253GB:358GB:105GB::Basic data partition:msftdata;
6:358GB:1000GB:642GB:ext4::;
5:1000GB:1000GB:670MB:ntfs::hidden, diag;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat 7089-F945 ba695bef-78ed-4632-a7bc-89b75bfe6ab1 EFI system partition
├─sda2 2c989a97-cc89-4215-9fe1-5aacca50b8bd Microsoft reserved partition
├─sda3 ntfs A2BA8D95BA8D669F cd31ca3e-b50b-4c2a-938c-ca4fae59255b Basic data partition
├─sda4 exfat BC2A-4F54 80f30cdb-9f98-4750-b7b5-d5f2d648df03 TRANSITO Basic data partition
├─sda5 ntfs 5284142284140B5D a11e0f8e-ae20-4039-a935-65f2dc194c18
└─sda6 ext4 b1484cd3-203d-481c-83eb-92d2b4c39db8 69c79eea-d118-4962-8202-ae733047612b
sdb
sdc
sdd
sde
sdf
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda3 198G 16% /media/ghghgh/A2BA8D95BA8D669F
/dev/sda4 96.6G 1% /media/ghghgh/TRANSITO
/dev/sda5 87.1M 86% /mnt/boot-sav/sda5
/dev/sda6 537.7G 3% /
efivarfs 277.1K 12% /sys/firmware/efi/efivars
Mount options (filtered): ______________________________________________________
/dev/sda3 ntfs3 rw,nosuid,nodev,relatime,uid=1000,gid=1000,windows_names,iocharset=utf8
/dev/sda4 exfat rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,iocharset=utf8,errors=remount-ro
/dev/sda5 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda6 ext4 rw,relatime,errors=remount-ro
===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid b1484cd3-203d-481c-83eb-92d2b4c39db8 root hd0,gpt6
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sda6/boot/grub/grub.cfg (filtered) ======================
Ubuntu b1484cd3-203d-481c-83eb-92d2b4c39db8
Windows Boot Manager (on sda1) osprober-efi-7089-F945
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### 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=b1484cd3-203d-481c-83eb-92d2b4c39db8 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=7089-F945 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
======================= sda6/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
==================== sda6: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
851.428222656 = 914.214092800 boot/grub/grub.cfg 1
341.674388885 = 366.870081536 boot/vmlinuz 1
340.111881256 = 365.192351744 boot/vmlinuz-6.5.0-18-generic 2
341.674388885 = 366.870081536 boot/vmlinuz-6.5.0-26-generic 1
340.111881256 = 365.192351744 boot/vmlinuz.old 2
738.140602112 = 792.572436480 boot/initrd.img 1
738.429672241 = 792.882823168 boot/initrd.img-6.5.0-18-generic 1
738.140602112 = 792.572436480 boot/initrd.img-6.5.0-26-generic 1
738.429672241 = 792.882823168 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 May 17 2023 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
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub-efi of
sda6,
using the following options: sda1/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 L'OS actuellement utilisé - Ubuntu 22.04.4 LTS entry (sda1/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
En ligne
#14 Le 24/03/2024, à 20:06
- geole
Re : (RÉSOLU) réparer dual boot w11 et Ubuntu 22.04 facilement
For example you can boot into Windows, then type the following command in an admin command prompt:
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit, utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#15 Le 25/03/2024, à 11:48
- idioteidiote
Re : (RÉSOLU) réparer dual boot w11 et Ubuntu 22.04 facilement
Microsoft Windows [version 10.0.22621.3296]
(c) Microsoft Corporation. Tous droits réservés.C:\Windows\System32>bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi
L’opération a réussi.C:\Windows\System32>
je vais redémarrer.... en croisant les doigts
HOURRA !
merci geole et merci xubu1957
grâce à vous j'ai pu réparer cette anomalie.
Je résume :
situation :
pc tour HP Compaq pro 6300 microtower
OS installé : w11 tout neuf
création depuis W11 de l'espace pour accueillir 22.04 en réduisant la partition de moitié
création d'une partition supplémentaire " TRANSITO " permettant la lecture et l'écriture de fichiers depuis et vers W11 et 22.04
installation de 22.04 avec /
complication :
le grub est installé. Le démarrage sur 22.04 se fait sans probème.
Mais si on démarre sur W11, au prochain reboot le grub a disparu et le PC boote sur W11 exclusivement
résolution :
dans un premier temps, depuis W11, chercher "démarrage" "dépannage"
prendre "options avancées"
prendre "changer les paramètres du microprogramme UEFI"
action :
une fenêtre bleue s'ouvre avec en bas "exécuter l'application UEFI" <- valider cette option
une fenêtre grise s'ouvre par dessus la bleue : " file browser"
sélectionner le "HDD Partition 1" et valider
une fenêtre grise se superpose : "file browser" < EFI> <-valider cette option
une fenêtre grise se superpose : "files browser" avec trois options:
< . . >
< Microsoft >
< Boot >
< ubuntu >
j'avais pris <ubuntu> REM : je mets ici "j'avais" parce que je ne savais pas quoi faire avant
une fenêtre grise se superpose : file browser avec trois options :
< . . >
< mmx64.efi >
< shim64.efi >
< grubx64.efi >
j'avais pris <grubx64.efi > REM : je mets ici "j'avais" parce que je ne savais pas quoi faire avant
le pc a fait sa cuisine interne, puis a redémarré : le grub est de retour.
Mais pas pour longtemps : dès que je démarrais sur windows, pouf : de nouveau plus de grub
à partir de là, faire un boot-info depuis ubuntu
puis un boot repair
et enfin la fameuse commande finale
bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi
qui a remis en place tout comme il faut.
Sujet marqué en résolu !
Dernière modification par idioteidiote (Le 25/03/2024, à 12:30)
Fan des Acer Aspire One et de PC anciens pour leur donner une deuxième vie avec Ubuntu.
Hors ligne