#1 Le 31/01/2024, à 02:55
- rahumar
[RESOLU] Pas de GRUB au demarrage | Dual-boot Windows11 - Ubuntu
Bonjour,
Je viens à vous car je suis juste entrain de désespérer
Je n'ai pas mon grub qui apparait après installation d'ubuntu, j'ai vraiment tout essayé, du moins je pense, j'ai lu tout ce qui était faisable sur les forums, tutoriels youtube mais rien n'y fait.
Je possède deux disques durs.
nvme où j'ai mon windows et sda où j'ai voulu installer ubuntu.
J'ai tout monter à la racine.
Et j'ai installer le programme de démarrage dans mon sda tout simplement aussi.
J'ai un peu anticipé voici la sortie de boot-info :
boot-info-4ppa2075 [20240131_0141]
============================== Boot Info Summary ===============================
=> No boot loader is installed in the MBR of /dev/nvme0n1.
=> Windows is installed in the MBR of /dev/sda.
nvme0n1p1: _____________________________________________________________________
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/grubx64.efi
/efi/Boot/mmx64.efi /efi/debian/fbx64.efi
/efi/debian/grubx64.efi /efi/debian/mmx64.efi
/efi/debian/shimx64.efi /efi/ubuntu/grubx64.efi
/efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi
/efi/debian/grub.cfg /efi/ubuntu/grub.cfg
/efi/Microsoft/Boot/bootmgfw.efi
/efi/Microsoft/Boot/bootmgr.efi
/efi/Microsoft/Boot/cbmr_driver.efi
/efi/toshiba/Boot/bootmgfw.efi
/efi/toshiba/Boot/bootmgr.efi
/efi/toshiba/Boot/cbmr_driver.efi
nvme0n1p2: _____________________________________________________________________
File system:
Boot sector type: -
Boot sector info:
nvme0n1p3: _____________________________________________________________________
File system: ntfs
Boot sector type: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 8 or 10
Boot files: /Windows/System32/winload.exe
nvme0n1p4: _____________________________________________________________________
File system: ntfs
Boot sector type: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
nvme0n1p5: _____________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/boot/bootx64.efi /efi/microsoft/boot/cdboot.efi
/efi/microsoft/boot/cdboot_noprompt.efi /bootmgr
/boot/bcd
sda1: __________________________________________________________________________
File system: ntfs
Boot sector type: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 22.04.3 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sda3: __________________________________________________________________________
File system:
Boot sector type: -
Boot sector info:
sdb: ___________________________________________________________________________
File system: iso9660
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v1.99-2.00) is installed in the boot sector of
sdb and looks at sector 0 of the same hard drive for
core.img, but core.img can not be found at this
location.
Mounting failed: mount: /mnt/BootInfo/FD/sdb: /dev/sdb already mounted or mount point busy.
================================ 2 OS detected =================================
OS#1: Ubuntu 22.04.3 LTS on sda2
OS#2: Windows 8 or 10 on nvme0n1p3
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: TigerLake-LP GT2 [Iris Xe Graphics] from Intel Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 22.04.3 LTS, jammy, x86_64)
===================================== UEFI =====================================
BIOS/UEFI firmware: 1.90(1.144) from Insyde
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0007
Timeout: 0 seconds
BootOrder: 0007,0005,2004,2005,2001,2003
Boot0002* EFI PXE 0 for IPv4 (7C-D3-0A-9A-1C-C0) PciRoot(0x0)/Pci(0x1d,0x0)/Pci(0x0,0x0)/MAC(7cd30a9a1cc0,0)/IPv4(0.0.0.00.0.0.0,0,0)RC
Boot0003* EFI PXE 0 for IPv6 (7C-D3-0A-9A-1C-C0) PciRoot(0x0)/Pci(0x1d,0x0)/Pci(0x0,0x0)/MAC(7cd30a9a1cc0,0)/IPv6([::]:<->[::]:,0,0)RC
Boot0005* Windows Boot Manager HD(1,GPT,0ac5d001-6205-4004-aeec-a1f316dfedc3,0x800,0x82000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)RC
Boot0007* Linpus lite HD(2,GPT,f45e2fa1-c5a6-4d79-876d-c8245af921e0,0x95f864,0x2754)/File(\EFI\Boot\grubx64.efi)RC
Boot2001* EFI USB Device RC
Boot2003* EFI Network RC
Boot2004* HDD1/SSD1 RC
Boot2005* HDD2/SSD2 RC
64349b3622c65f495a99dbf6102496e3 nvme0n1p1/Boot/bkpbootx64.efi
64349b3622c65f495a99dbf6102496e3 nvme0n1p1/Boot/bootx64.efi
a9c517741ac31962d7feb152948ad1ee nvme0n1p1/Boot/fbx64.efi
a1da253696a304dce6b4668b70151c0e nvme0n1p1/Boot/grubx64.efi
a660182adef313615746a665966d2ccc nvme0n1p1/Boot/mmx64.efi
ca0aa9ad51118a4a0b9026db28271163 nvme0n1p1/debian/fbx64.efi
62ff1ee5b75b4565f609043c4b1da759 nvme0n1p1/debian/grubx64.efi
1efa63a183a729b309c16267cbba5b67 nvme0n1p1/debian/mmx64.efi
fe2090106517ccf680e12e538b4274db nvme0n1p1/debian/shimx64.efi
a1da253696a304dce6b4668b70151c0e nvme0n1p1/ubuntu/grubx64.efi
a660182adef313615746a665966d2ccc nvme0n1p1/ubuntu/mmx64.efi
64349b3622c65f495a99dbf6102496e3 nvme0n1p1/ubuntu/shimx64.efi
2d20ed0d3e457a66b52486dbc47f90a8 nvme0n1p1/Microsoft/Boot/bootmgfw.efi
592685834cbb082c044d21845b0ba7ed nvme0n1p1/Microsoft/Boot/bootmgr.efi
b8796e68099026aabcebb8fcf75b21f6 nvme0n1p1/Microsoft/Boot/cbmr_driver.efi
b53b55dad843331dce25d357e6a479b7 nvme0n1p1/toshiba/Boot/bootmgfw.efi
ba4daf666b2e456bb4fdc308e994d1da nvme0n1p1/toshiba/Boot/bootmgr.efi
b8796e68099026aabcebb8fcf75b21f6 nvme0n1p1/toshiba/Boot/cbmr_driver.efi
ae8af199ef80311f9cee9de104a15496 nvme0n1p5/boot/bootx64.efi
1309af23db7b4cdd16bb29b41d6975e5 nvme0n1p5/microsoft/boot/cdboot.efi
ba914e4bb811a1b27220f020d2672167 nvme0n1p5/microsoft/boot/cdboot_noprompt.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
nvme0n1 : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, has-win, 2048 sectors * 512 bytes
sda : is-GPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
nvme0n1p1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
nvme0n1p3 : is-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
nvme0n1p4 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
nvme0n1p5 : no-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, end-after-100GB
sda2 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, end-after-100GB
Partitions info (2/3): _________________________________________________________
nvme0n1p1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
nvme0n1p3 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, no-bmgr, notwinboot
nvme0n1p4 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot
nvme0n1p5 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, bootmgr, is-winboot
sda1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda2 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
nvme0n1p1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, nvme0n1
nvme0n1p3 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, nvme0n1
nvme0n1p4 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, nvme0n1
nvme0n1p5 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, nvme0n1
sda1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sda2 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk nvme0n1: 238.47 GiB, 256060514304 bytes, 500118192 sectors
Disk identifier: 51FAC258-8E1C-46C3-92E5-45813770D0A4
Start End Sectors Size Type
nvme0n1p1 2048 534527 532480 260M EFI System
nvme0n1p2 534528 567295 32768 16M Microsoft reserved
nvme0n1p3 567296 471442062 470874767 224.5G Microsoft basic data
nvme0n1p4 471442063 473469582 2027520 990M Windows recovery environment
nvme0n1p5 473469583 500118158 26648576 12.7G Windows recovery environment
Disk sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: CAC32274-7658-4CEF-A01D-E38D17A33F78
Start End Sectors Size Type
sda1 2048 1236461567 1236459520 589.6G Microsoft basic data
sda2 1236461568 1953261567 716800000 341.8G Linux filesystem
sda3 1953262991 1953525134 262144 128M Microsoft reserved
Disk sdb: 28.65 GiB, 30765219840 bytes, 60088320 sectors
Disk identifier: F45E2FA1-C5A6-4D79-876F-C8245AF921E0
Start End Sectors Size Type
sdb1 64 9828451 9828388 4.7G Microsoft basic data
sdb2 9828452 9838519 10068 4.9M EFI System
sdb3 9838520 9839119 600 300K Microsoft basic data
sdb4 9842688 60088256 50245569 24G Linux filesystem
parted -lm (filtered): _________________________________________________________
sda:1000GB:scsi:512:512:gpt:ATA Samsung SSD 870:;
1:1049kB:633GB:633GB:ntfs:Basic data partition:msftdata;
2:633GB:1000GB:367GB:ext4::;
3:1000GB:1000GB:134MB::Microsoft reserved partition:msftres;
sdb:30.8GB:scsi:512:512:gpt: USB SanDisk 3.2Gen1:;
1:32.8kB:5032MB:5032MB::ISO9660:hidden, msftdata;
2:5032MB:5037MB:5155kB::Appended2:boot, esp;
3:5037MB:5038MB:307kB::Gap1:hidden, msftdata;
4:5039MB:30.8GB:25.7GB:ext4::;
nvme0n1:256GB:nvme:512:512:gpt:KBG40ZNV256G TOSHIBA MEMORY:;
1:1049kB:274MB:273MB:fat32:EFI system partition:boot, esp;
2:274MB:290MB:16.8MB::Microsoft reserved partition:msftres;
3:290MB:241GB:241GB:ntfs:Basic data partition:msftdata;
4:241GB:242GB:1038MB:ntfs:Basic data partition:hidden, diag;
5:242GB:256GB:13.6GB:fat32::hidden, diag;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 ntfs FA1C3E0B1C3DC403 7030f698-f3bd-4f20-9ed5-8d87098542a7 Disque local Basic data partition
├─sda2 ext4 ae229590-3308-4457-9843-ec681d3d678f 78c1cb13-2c2f-42e0-820b-06e4578b0d7e
└─sda3 d585d145-be28-11ee-a172-847b570c174a Microsoft reserved partition
sdb iso9660 2023-08-08-01-19-05-00 Ubuntu 22.04.3 LTS amd64
├─sdb1 iso9660 2023-08-08-01-19-05-00 f45e2fa1-c5a6-4d79-876e-c8245af921e0 Ubuntu 22.04.3 LTS amd64 ISO9660
├─sdb2 vfat F7DB-4D56 f45e2fa1-c5a6-4d79-876d-c8245af921e0 ESP Appended2
├─sdb3 f45e2fa1-c5a6-4d79-876c-c8245af921e0 Gap1
└─sdb4 ext4 6cee5b52-6e27-48d9-984e-400fb43c4562 ae797d9e-fac9-9e49-805a-5fa304ef16b6 writable
nvme0n1
├─nvme0n1p1 vfat ACE8-A925 0ac5d001-6205-4004-aeec-a1f316dfedc3 ESP EFI system partition
├─nvme0n1p2 bb656cc2-1be0-4ed2-b1a7-fbf2c687b577 Microsoft reserved partition
├─nvme0n1p3 ntfs 8254E92C54E9239F 70f149f0-8ae0-4ced-a2f8-cb03dc37d8a3 TIH0557400A Basic data partition
├─nvme0n1p4 ntfs 1E3E6C873E6C59B3 91f5dc9d-41c2-4f46-a0e1-c35670a88812 Basic data partition
└─nvme0n1p5 vfat 42C8-32A8 040848f5-457b-43d6-91d4-10a4061aac87 HDDR Basic data partition
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/nvme0n1p1 181M 29% /mnt/boot-sav/nvme0n1p1
/dev/nvme0n1p3 54.9G 76% /mnt/boot-sav/nvme0n1p3
/dev/nvme0n1p4 39.6M 96% /mnt/boot-sav/nvme0n1p4
/dev/nvme0n1p5 995.3M 92% /mnt/boot-sav/nvme0n1p5
/dev/sda1 589.2G 0% /mnt/boot-sav/sda1
/dev/sda2 308.3G 3% /mnt/boot-sav/sda2
/dev/sdb1 0 100% /cdrom
Mount options (filtered): ______________________________________________________
/dev/nvme0n1p1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/nvme0n1p3 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/nvme0n1p4 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/nvme0n1p5 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sda1 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda2 ext4 rw,relatime
/dev/sdb1 iso9660 ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8
=================== nvme0n1p1/efi/debian/grub.cfg (filtered) ===================
search.fs_uuid 23d84d2b-a027-4a6e-b889-9ecdeeaf8bdf root hd0,gpt3
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
=================== nvme0n1p1/efi/ubuntu/grub.cfg (filtered) ===================
search.fs_uuid ae229590-3308-4457-9843-ec681d3d678f root hd0,gpt2
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sda2/boot/grub/grub.cfg (filtered) ======================
Ubuntu ae229590-3308-4457-9843-ec681d3d678f
Windows Boot Manager (on nvme0n1p1) osprober-efi-ACE8-A925
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sda2/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=ae229590-3308-4457-9843-ec681d3d678f / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=ACE8-A925 /boot/efi vfat umask=0077 0 1
======================= sda2/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=""
==================== sda2: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
765.577457428 = 822.032535552 boot/grub/grub.cfg 1
813.588447571 = 873.583943680 boot/vmlinuz 2
698.017704010 = 749.490802688 boot/vmlinuz-6.2.0-26-generic 1
813.588447571 = 873.583943680 boot/vmlinuz-6.5.0-15-generic 2
698.017704010 = 749.490802688 boot/vmlinuz.old 1
701.194866180 = 752.902254592 boot/initrd.img 1
700.904197693 = 752.590151680 boot/initrd.img-6.2.0-26-generic 1
701.194866180 = 752.902254592 boot/initrd.img-6.5.0-15-generic 1
700.904197693 = 752.590151680 boot/initrd.img.old 1
===================== sda2: 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
sda2,
using the following options: nvme0n1p1/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your UEFI firmware boot on the Ubuntu 22.04.3 LTS entry (nvme0n1p1/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)
Dernière modification par rahumar (Le 31/01/2024, à 12:45)
Hors ligne
#2 Le 31/01/2024, à 04:11
- nany
Re : [RESOLU] Pas de GRUB au demarrage | Dual-boot Windows11 - Ubuntu
Bonjour,
Passe cette commande :
grep -q "DISABLE_OS_PROBER" /etc/default/grub && sudo sed -i 's/^#GRUB_DISABLE_OS_PROBER/GRUB_DISABLE_OS_PROBER/' /etc/default/grub || sudo sed -i '/GRUB_CMDLINE_LINUX=/a\GRUB_DISABLE_OS_PROBER=false' /etc/default/grub
Puis donne le retour de :
sudo update-grub
Un fait étrange,
The firmware is EFI-compatible, and is set in EFI-mode for this live-session. SecureBoot disabled (confirmed by mokutil). BootCurrent: 0007 Timeout: 0 seconds BootOrder: 0007,0005,2004,2005,2001,2003 Boot0002* EFI PXE 0 for IPv4 (7C-D3-0A-9A-1C-C0) PciRoot(0x0)/Pci(0x1d,0x0)/Pci(0x0,0x0)/MAC(7cd30a9a1cc0,0)/IPv4(0.0.0.00.0.0.0,0,0)RC Boot0003* EFI PXE 0 for IPv6 (7C-D3-0A-9A-1C-C0) PciRoot(0x0)/Pci(0x1d,0x0)/Pci(0x0,0x0)/MAC(7cd30a9a1cc0,0)/IPv6([::]:<->[::]:,0,0)RC Boot0005* Windows Boot Manager HD(1,GPT,0ac5d001-6205-4004-aeec-a1f316dfedc3,0x800,0x82000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)RC Boot0007* Linpus lite HD(2,GPT,f45e2fa1-c5a6-4d79-876d-c8245af921e0,0x95f864,0x2754)/File(\EFI\Boot\grubx64.efi)RC Boot2001* EFI USB Device RC Boot2003* EFI Network RC Boot2004* HDD1/SSD1 RC Boot2005* HDD2/SSD2 RC
Le boot est effectué sur un disque, or il est indiqué que c’est une session live.
De plus, l’entrée de boot indique Linpus lite.
En ligne
#3 Le 31/01/2024, à 10:57
- rahumar
Re : [RESOLU] Pas de GRUB au demarrage | Dual-boot Windows11 - Ubuntu
Bonjour,
Passe cette commande :
grep -q "DISABLE_OS_PROBER" /etc/default/grub && sudo sed -i 's/^#GRUB_DISABLE_OS_PROBER/GRUB_DISABLE_OS_PROBER/' /etc/default/grub || sudo sed -i '/GRUB_CMDLINE_LINUX=/a\GRUB_DISABLE_OS_PROBER=false' /etc/default/grub
Puis donne le retour de :
sudo update-grub
La premiere commande me renvoit rien.
La deuxi7me me renvoit :
/usr/sbin/grub-probe: error: failed to get canonical path of `/cow'.
Voici le retour de fdisk -l :
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/loop0: 3.02 GiB, 3241230336 bytes, 6330528 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop1: 4 KiB, 4096 bytes, 8 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop2: 63.45 MiB, 66531328 bytes, 129944 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop3: 73.88 MiB, 77463552 bytes, 151296 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop4: 349.7 MiB, 366682112 bytes, 716176 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop5: 237.21 MiB, 248729600 bytes, 485800 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop6: 12.32 MiB, 12922880 bytes, 25240 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop7: 91.69 MiB, 96141312 bytes, 187776 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/nvme0n1: 238.47 GiB, 256060514304 bytes, 500118192 sectors
Disk model: KBG40ZNV256G TOSHIBA MEMORY
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 51FAC258-8E1C-46C3-92E5-45813770D0A4
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 534527 532480 260M EFI System
/dev/nvme0n1p2 534528 567295 32768 16M Microsoft reserved
/dev/nvme0n1p3 567296 471442062 470874767 224.5G Microsoft basic data
/dev/nvme0n1p4 471442063 473469582 2027520 990M Windows recovery environment
/dev/nvme0n1p5 473469583 500118158 26648576 12.7G Windows recovery environment
Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: Samsung SSD 870
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: CAC32274-7658-4CEF-A01D-E38D17A33F78
Device Start End Sectors Size Type
/dev/sda1 2048 1236461567 1236459520 589.6G Microsoft basic data
/dev/sda2 1236461568 1953261567 716800000 341.8G Linux filesystem
/dev/sda3 1953262991 1953525134 262144 128M Microsoft reserved
Disk /dev/sdb: 28.65 GiB, 30765219840 bytes, 60088320 sectors
Disk model: SanDisk 3.2Gen1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: F45E2FA1-C5A6-4D79-876F-C8245AF921E0
Device Start End Sectors Size Type
/dev/sdb1 64 9828451 9828388 4.7G Microsoft basic data
/dev/sdb2 9828452 9838519 10068 4.9M EFI System
/dev/sdb3 9838520 9839119 600 300K Microsoft basic data
/dev/sdb4 9842688 60088256 50245569 24G Linux filesystem
Disk /dev/loop8: 485.52 MiB, 509100032 bytes, 994336 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop9: 53.26 MiB, 55844864 bytes, 109072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop10: 452 KiB, 462848 bytes, 904 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Dernière modification par rahumar (Le 31/01/2024, à 11:01)
Hors ligne
#4 Le 31/01/2024, à 11:01
- geole
Re : [RESOLU] Pas de GRUB au demarrage | Dual-boot Windows11 - Ubuntu
Bonjour
nvme0n1p1: _____________________________________________________________________
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/grubx64.efi
/efi/Boot/mmx64.efi /efi/debian/fbx64.efi
/efi/debian/grubx64.efi /efi/debian/mmx64.efi
/efi/debian/shimx64.efi /efi/ubuntu/grubx64.efi
/efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi
/efi/debian/grub.cfg /efi/ubuntu/grub.cfg
/efi/Microsoft/Boot/bootmgfw.efi
/efi/Microsoft/Boot/bootmgr.efi
/efi/Microsoft/Boot/cbmr_driver.efi
/efi/toshiba/Boot/bootmgfw.efi
/efi/toshiba/Boot/bootmgr.efi
/efi/toshiba/Boot/cbmr_driver.efi
On voit que ton ordinateur est un toshiba. Il est donc probable que l application toshiba dirige le boot.
On voit aussi une trace de debian qu il faudra éliminer.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0007
BootOrder: 0007,0005,2004,2005,2001,2003
Boot0002* EFI PXE 0 for IPv4 (7C-D3-0A-9A-1C-C0) PciRoot(0x0)/Pci(0x1d,0x0)/Pci(0x0,0x0)/MAC(7cd30a9a1cc0,0)/IPv4(0.0.0.00.0.0.0,0,0)RC
Boot0003* EFI PXE 0 for IPv6 (7C-D3-0A-9A-1C-C0) PciRoot(0x0)/Pci(0x1d,0x0)/Pci(0x0,0x0)/MAC(7cd30a9a1cc0,0)/IPv6([::]:<->[::]:,0,0)RC
Boot0005* Windows Boot Manager HD(1,GPT,0ac5d001-6205-4004-aeec-a1f316dfedc3,0x800,0x82000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)RC
Boot0007* Linpus lite HD(2,GPT,f45e2fa1-c5a6-4d79-876d-c8245af921e0,0x95f864,0x2754)/File(\EFI\Boot\grubx64.efi)RC
On voit aussi que ubuntu n est pas présent dans la nvram.
sda2: __________________________________________________________________________
File system: ext4
Operating System: Ubuntu 22.04.3 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
et qu il est bien installé dans le disque SDA
====================== sda2/boot/grub/grub.cfg (filtered) ======================
Ubuntu ae229590-3308-4457-9843-ec681d3d678f
Windows Boot Manager (on nvme0n1p1) osprober-efi-ACE8-A925
### END /etc/grub.d/30_os-prober ###
et que windows a bien été détecté
1309af23db7b4cdd16bb29b41d6975e5 nvme0n1p5/microsoft/boot/cdboot.efi
1efa63a183a729b309c16267cbba5b67 nvme0n1p1/debian/mmx64.efi
2d20ed0d3e457a66b52486dbc47f90a8 nvme0n1p1/Microsoft/Boot/bootmgfw.efi
592685834cbb082c044d21845b0ba7ed nvme0n1p1/Microsoft/Boot/bootmgr.efi
62ff1ee5b75b4565f609043c4b1da759 nvme0n1p1/debian/grubx64.efi
64349b3622c65f495a99dbf6102496e3 nvme0n1p1/Boot/bkpbootx64.efi
64349b3622c65f495a99dbf6102496e3 nvme0n1p1/Boot/bootx64.efi
64349b3622c65f495a99dbf6102496e3 nvme0n1p1/ubuntu/shimx64.efi
a1da253696a304dce6b4668b70151c0e nvme0n1p1/Boot/grubx64.efi
a1da253696a304dce6b4668b70151c0e nvme0n1p1/ubuntu/grubx64.efi
a660182adef313615746a665966d2ccc nvme0n1p1/Boot/mmx64.efi
a660182adef313615746a665966d2ccc nvme0n1p1/ubuntu/mmx64.efi
a9c517741ac31962d7feb152948ad1ee nvme0n1p1/Boot/fbx64.efi
ae8af199ef80311f9cee9de104a15496 nvme0n1p5/boot/bootx64.efi
b53b55dad843331dce25d357e6a479b7 nvme0n1p1/toshiba/Boot/bootmgfw.efi
b8796e68099026aabcebb8fcf75b21f6 nvme0n1p1/Microsoft/Boot/cbmr_driver.efi
b8796e68099026aabcebb8fcf75b21f6 nvme0n1p1/toshiba/Boot/cbmr_driver.efi
ba4daf666b2e456bb4fdc308e994d1da nvme0n1p1/toshiba/Boot/bootmgr.efi
ba914e4bb811a1b27220f020d2672167 nvme0n1p5/microsoft/boot/cdboot_noprompt.efi
ca0aa9ad51118a4a0b9026db28271163 nvme0n1p1/debian/fbx64.efi
fe2090106517ccf680e12e538b4274db nvme0n1p1/debian/shimx64.efi
a@p:~$
et qu il y pas mal de fichiers de boot possibles
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub-efi of sda2,
using the following options: nvme0n1p1/boot/efi
Je te propose de lancer boot-repair et de faire la rtéparation recommandée.
A mon avis, elle va se planter mais tu donneras son retour. On devrais pouvoir y voir la cause.
Bonjour Nany
On voit
Live-session OS is Ubuntu 64-bit (Ubuntu 22.04.3 LTS, jammy, x86_64)
Boot0007* Linpus lite HD(2,GPT,f45e2fa1-c5a6-4d79-876d-c8245af921e0,0x95f864,0x2754)/File(\EFI\Boot\grubx64.efi)RC
Disk sdb: 28.65 GiB, 30765219840 bytes, 60088320 sectors
Disk identifier: F45E2FA1-C5A6-4D79-876F-C8245AF921E0
sdb: ___________________________________________________________________________
File system: iso9660
Tes commandes ne sont pas adaptées à ce contexte
Dernière modification par geole (Le 31/01/2024, à 11:12)
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
#5 Le 31/01/2024, à 11:28
- rahumar
Re : [RESOLU] Pas de GRUB au demarrage | Dual-boot Windows11 - Ubuntu
Je te remercie pour ton retour.
J ai bien supprime le dossier debian.
Je vois nvram locked dans le rapportm je pense c est ca le probleme ?
desole pour les fautes dorthograhem ce n est pas voulu pas evident avec clavier qwert
Voici le resultat pour boot-repair.
boot-repair-4ppa2075 [20240131_1025]
============================= Boot Repair Summary ==============================
modprobe: FATAL: Module efivars not found in directory /lib/modules/6.2.0-26-generic
Recommended repair: ____________________________________________________________
The default repair of the Boot-Repair utility will reinstall the grub-efi of
sda2,
using the following options: nvme0n1p1/boot/efi
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups
rm /mnt/boot-sav/nvme0n1p1/efi/Boot/bootx64.efi
mv /mnt/boot-sav/nvme0n1p1/efi/Boot/bkpbootx64.efi /mnt/boot-sav/nvme0n1p1/efi/Boot/bootx64.efi
Mount /dev/nvme0n1p1 on /mnt/boot-sav/sda2/boot/efi
===================== Reinstall the grub-efi of /dev/sda2 ======================
chroot /mnt/boot-sav/sda2 grub-install --version
grub-install (GRUB) 2.06-2ubuntu7.2
modprobe: FATAL: Module efivars not found in directory /lib/modules/6.2.0-26-generic
chroot /mnt/boot-sav/sda2 modprobe efivars
chroot /mnt/boot-sav/sda2 efibootmgr -v before grub install
EFI variables are not supported on this system.
chroot /mnt/boot-sav/sda2 uname -r
6.2.0-26-generic
chroot /mnt/boot-sav/sda2 grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
grub-install: warning: EFI variables cannot be set on this system.
grub-install: warning: You will have to complete the GRUB setup manually.
Installation finished. No error reported.
df /dev/nvme0n1p1
mv /mnt/boot-sav/sda2/boot/efi/EFI/Boot/bootx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Boot/bkpbootx64.efi
cp /mnt/boot-sav/sda2/boot/efi/efi/ubuntu/grubx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Boot/bootx64.efi
chroot /mnt/boot-sav/sda2 grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
grub-install: warning: EFI variables cannot be set on this system.
grub-install: warning: You will have to complete the GRUB setup manually.
Installation finished. No error reported.
chroot /mnt/boot-sav/sda2 efibootmgr -v after grub install
EFI variables are not supported on this system.
Warning: NVram is locked (Ubuntu not found in efibootmgr).
chroot /mnt/boot-sav/sda2 update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Found linux image: /boot/vmlinuz-6.5.0-15-generic
Found initrd image: /boot/initrd.img-6.5.0-15-generic
Found linux image: /boot/vmlinuz-6.2.0-26-generic
Found initrd image: /boot/initrd.img-6.2.0-26-generic
Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
Unhide GRUB boot menu in sda2/boot/grub/grub.cfg
Boot successfully repaired.
Locked-NVram detected. Please do not forget to make your UEFI firmware boot on the Ubuntu 22.04.3 LTS entry (nvme0n1p1/efi/ubuntu/grubx64.efi file) !
============================ Boot Info After Repair ============================
=> No boot loader is installed in the MBR of /dev/nvme0n1.
=> Windows is installed in the MBR of /dev/sda.
nvme0n1p1: _____________________________________________________________________
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/grubx64.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
/efi/Microsoft/Boot/cbmr_driver.efi
/efi/toshiba/Boot/bootmgfw.efi
/efi/toshiba/Boot/bootmgr.efi
/efi/toshiba/Boot/cbmr_driver.efi
nvme0n1p2: _____________________________________________________________________
File system:
Boot sector type: -
Boot sector info:
nvme0n1p3: _____________________________________________________________________
File system: ntfs
Boot sector type: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 8 or 10
Boot files: /Windows/System32/winload.exe
nvme0n1p4: _____________________________________________________________________
File system: ntfs
Boot sector type: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
nvme0n1p5: _____________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/boot/bootx64.efi /efi/microsoft/boot/cdboot.efi
/efi/microsoft/boot/cdboot_noprompt.efi /bootmgr
/boot/bcd
sda1: __________________________________________________________________________
File system: ntfs
Boot sector type: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 22.04.3 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sda3: __________________________________________________________________________
File system:
Boot sector type: -
Boot sector info:
sdb: ___________________________________________________________________________
File system: iso9660
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v1.99-2.00) is installed in the boot sector of
sdb and looks at sector 0 of the same hard drive for
core.img, but core.img can not be found at this
location.
Mounting failed: mount: /mnt/BootInfo/FD/sdb: /dev/sdb already mounted or mount point busy.
================================ 2 OS detected =================================
OS#1: Ubuntu 22.04.3 LTS on sda2
OS#2: Windows 8 or 10 on nvme0n1p3
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: TigerLake-LP GT2 [Iris Xe Graphics] from Intel Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 22.04.3 LTS, jammy, x86_64)
===================================== UEFI =====================================
BIOS/UEFI firmware: 1.90(1.144) from Insyde
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0006
Timeout: 0 seconds
BootOrder: 0006,0001,2004,2005,2001,2003
Boot0001* Windows Boot Manager HD(1,GPT,0ac5d001-6205-4004-aeec-a1f316dfedc3,0x800,0x82000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0002* EFI PXE 0 for IPv4 (7C-D3-0A-9A-1C-C0) PciRoot(0x0)/Pci(0x1d,0x0)/Pci(0x0,0x0)/MAC(7cd30a9a1cc0,0)/IPv4(0.0.0.00.0.0.0,0,0)RC
Boot0003* EFI PXE 0 for IPv6 (7C-D3-0A-9A-1C-C0) PciRoot(0x0)/Pci(0x1d,0x0)/Pci(0x0,0x0)/MAC(7cd30a9a1cc0,0)/IPv6([::]:<->[::]:,0,0)RC
Boot0006* Linpus lite HD(2,GPT,f45e2fa1-c5a6-4d79-876d-c8245af921e0,0x95f864,0x2754)/File(\EFI\Boot\grubx64.efi)RC
Boot2001* EFI USB Device RC
Boot2003* EFI Network RC
Boot2004* HDD1/SSD1 RC
Boot2005* HDD2/SSD2 RC
64349b3622c65f495a99dbf6102496e3 nvme0n1p1/Boot/bkpbootx64.efi
64349b3622c65f495a99dbf6102496e3 nvme0n1p1/Boot/bootx64.efi
a9c517741ac31962d7feb152948ad1ee nvme0n1p1/Boot/fbx64.efi
a1da253696a304dce6b4668b70151c0e nvme0n1p1/Boot/grubx64.efi
a660182adef313615746a665966d2ccc nvme0n1p1/Boot/mmx64.efi
a1da253696a304dce6b4668b70151c0e nvme0n1p1/ubuntu/grubx64.efi
a660182adef313615746a665966d2ccc nvme0n1p1/ubuntu/mmx64.efi
64349b3622c65f495a99dbf6102496e3 nvme0n1p1/ubuntu/shimx64.efi
2d20ed0d3e457a66b52486dbc47f90a8 nvme0n1p1/Microsoft/Boot/bootmgfw.efi
592685834cbb082c044d21845b0ba7ed nvme0n1p1/Microsoft/Boot/bootmgr.efi
b8796e68099026aabcebb8fcf75b21f6 nvme0n1p1/Microsoft/Boot/cbmr_driver.efi
b53b55dad843331dce25d357e6a479b7 nvme0n1p1/toshiba/Boot/bootmgfw.efi
ba4daf666b2e456bb4fdc308e994d1da nvme0n1p1/toshiba/Boot/bootmgr.efi
b8796e68099026aabcebb8fcf75b21f6 nvme0n1p1/toshiba/Boot/cbmr_driver.efi
ae8af199ef80311f9cee9de104a15496 nvme0n1p5/boot/bootx64.efi
1309af23db7b4cdd16bb29b41d6975e5 nvme0n1p5/microsoft/boot/cdboot.efi
ba914e4bb811a1b27220f020d2672167 nvme0n1p5/microsoft/boot/cdboot_noprompt.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
nvme0n1 : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, has-win, 2048 sectors * 512 bytes
sda : is-GPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
nvme0n1p1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
nvme0n1p3 : is-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
nvme0n1p4 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
nvme0n1p5 : no-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, end-after-100GB
sda2 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, end-after-100GB
Partitions info (2/3): _________________________________________________________
nvme0n1p1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
nvme0n1p3 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, no-bmgr, notwinboot
nvme0n1p4 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot
nvme0n1p5 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, bootmgr, is-winboot
sda1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda2 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
nvme0n1p1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, nvme0n1
nvme0n1p3 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, nvme0n1
nvme0n1p4 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, nvme0n1
nvme0n1p5 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, nvme0n1
sda1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sda2 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk nvme0n1: 238.47 GiB, 256060514304 bytes, 500118192 sectors
Disk identifier: 51FAC258-8E1C-46C3-92E5-45813770D0A4
Start End Sectors Size Type
nvme0n1p1 2048 534527 532480 260M EFI System
nvme0n1p2 534528 567295 32768 16M Microsoft reserved
nvme0n1p3 567296 471442062 470874767 224.5G Microsoft basic data
nvme0n1p4 471442063 473469582 2027520 990M Windows recovery environment
nvme0n1p5 473469583 500118158 26648576 12.7G Windows recovery environment
Disk sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: CAC32274-7658-4CEF-A01D-E38D17A33F78
Start End Sectors Size Type
sda1 2048 1236461567 1236459520 589.6G Microsoft basic data
sda2 1236461568 1953261567 716800000 341.8G Linux filesystem
sda3 1953262991 1953525134 262144 128M Microsoft reserved
Disk sdb: 28.65 GiB, 30765219840 bytes, 60088320 sectors
Disk identifier: F45E2FA1-C5A6-4D79-876F-C8245AF921E0
Start End Sectors Size Type
sdb1 64 9828451 9828388 4.7G Microsoft basic data
sdb2 9828452 9838519 10068 4.9M EFI System
sdb3 9838520 9839119 600 300K Microsoft basic data
sdb4 9842688 60088256 50245569 24G Linux filesystem
parted -lm (filtered): _________________________________________________________
sda:1000GB:scsi:512:512:gpt:ATA Samsung SSD 870:;
1:1049kB:633GB:633GB:ntfs:Basic data partition:msftdata;
2:633GB:1000GB:367GB:ext4::;
3:1000GB:1000GB:134MB::Microsoft reserved partition:msftres;
sdb:30.8GB:scsi:512:512:gpt: USB SanDisk 3.2Gen1:;
1:32.8kB:5032MB:5032MB::ISO9660:hidden, msftdata;
2:5032MB:5037MB:5155kB::Appended2:boot, esp;
3:5037MB:5038MB:307kB::Gap1:hidden, msftdata;
4:5039MB:30.8GB:25.7GB:ext4::;
nvme0n1:256GB:nvme:512:512:gpt:KBG40ZNV256G TOSHIBA MEMORY:;
1:1049kB:274MB:273MB:fat32:EFI system partition:boot, esp;
2:274MB:290MB:16.8MB::Microsoft reserved partition:msftres;
3:290MB:241GB:241GB:ntfs:Basic data partition:msftdata;
4:241GB:242GB:1038MB:ntfs:Basic data partition:hidden, diag;
5:242GB:256GB:13.6GB:fat32::hidden, diag;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 ntfs FA1C3E0B1C3DC403 7030f698-f3bd-4f20-9ed5-8d87098542a7 Disque local Basic data partition
├─sda2 ext4 ae229590-3308-4457-9843-ec681d3d678f 78c1cb13-2c2f-42e0-820b-06e4578b0d7e
└─sda3 d585d145-be28-11ee-a172-847b570c174a Microsoft reserved partition
sdb iso9660 2023-08-08-01-19-05-00 Ubuntu 22.04.3 LTS amd64
├─sdb1 iso9660 2023-08-08-01-19-05-00 f45e2fa1-c5a6-4d79-876e-c8245af921e0 Ubuntu 22.04.3 LTS amd64 ISO9660
├─sdb2 vfat F7DB-4D56 f45e2fa1-c5a6-4d79-876d-c8245af921e0 ESP Appended2
├─sdb3 f45e2fa1-c5a6-4d79-876c-c8245af921e0 Gap1
└─sdb4 ext4 6cee5b52-6e27-48d9-984e-400fb43c4562 ae797d9e-fac9-9e49-805a-5fa304ef16b6 writable
nvme0n1
├─nvme0n1p1 vfat ACE8-A925 0ac5d001-6205-4004-aeec-a1f316dfedc3 ESP EFI system partition
├─nvme0n1p2 bb656cc2-1be0-4ed2-b1a7-fbf2c687b577 Microsoft reserved partition
├─nvme0n1p3 ntfs 8254E92C54E9239F 70f149f0-8ae0-4ced-a2f8-cb03dc37d8a3 TIH0557400A Basic data partition
├─nvme0n1p4 ntfs 1E3E6C873E6C59B3 91f5dc9d-41c2-4f46-a0e1-c35670a88812 Basic data partition
└─nvme0n1p5 vfat 42C8-32A8 040848f5-457b-43d6-91d4-10a4061aac87 HDDR Basic data partition
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/nvme0n1p1 186.9M 27% /mnt/boot-sav/nvme0n1p1
/dev/nvme0n1p3 54.6G 76% /mnt/boot-sav/nvme0n1p3
/dev/nvme0n1p4 39.6M 96% /mnt/boot-sav/nvme0n1p4
/dev/nvme0n1p5 995.3M 92% /mnt/boot-sav/nvme0n1p5
/dev/sda1 589.2G 0% /mnt/boot-sav/sda1
/dev/sda2 306.9G 3% /mnt/boot-sav/sda2
/dev/sdb1 0 100% /cdrom
Mount options (filtered): ______________________________________________________
/dev/nvme0n1p1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/nvme0n1p3 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/nvme0n1p4 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/nvme0n1p5 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sda1 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda2 ext4 rw,relatime
/dev/sdb1 iso9660 ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8
=================== nvme0n1p1/efi/ubuntu/grub.cfg (filtered) ===================
search.fs_uuid ae229590-3308-4457-9843-ec681d3d678f root hd0,gpt2
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sda2/boot/grub/grub.cfg (filtered) ======================
Ubuntu ae229590-3308-4457-9843-ec681d3d678f
Windows Boot Manager (on nvme0n1p1) osprober-efi-ACE8-A925
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sda2/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=ae229590-3308-4457-9843-ec681d3d678f / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=ACE8-A925 /boot/efi vfat umask=0077 0 1
======================= sda2/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
==================== sda2: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
813.588447571 = 873.583943680 boot/vmlinuz 2
698.017704010 = 749.490802688 boot/vmlinuz-6.2.0-26-generic 1
813.588447571 = 873.583943680 boot/vmlinuz-6.5.0-15-generic 2
698.017704010 = 749.490802688 boot/vmlinuz.old 1
590.937442780 = 634.514247680 boot/initrd.img 1
591.201503754 = 634.797780992 boot/initrd.img-6.2.0-26-generic 1
590.937442780 = 634.514247680 boot/initrd.img-6.5.0-15-generic 1
591.201503754 = 634.797780992 boot/initrd.img.old 1
===================== sda2: 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
Dernière modification par rahumar (Le 31/01/2024, à 11:32)
Hors ligne
#6 Le 31/01/2024, à 11:38
- geole
Re : [RESOLU] Pas de GRUB au demarrage | Dual-boot Windows11 - Ubuntu
En live-usb, peux-tu tenter cette commande
sudo efibootmgr --create --disk /dev/nvme0n1 --part 1 --label "grububuntu" --loader "\EFI\ubuntu\grubx64.efi"
para
On va bien voir ce que cela va donner. Mais, comme j ai vu toshiba, je te conseille déjà de lire attentivement refind paragraphe 5.8
j y vois même un script tout préparé pour se substituer au boot windows sans détruire la possibilité de booter windows
Dernière modification par geole (Le 31/01/2024, à 11:45)
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
#7 Le 31/01/2024, à 11:39
- rahumar
Re : [RESOLU] Pas de GRUB au demarrage | Dual-boot Windows11 - Ubuntu
En live-usb, peux-tu tenter cette commande
sudo efibootmgr --create --disk /dev/nvme0n1 --part 1 --label "grububuntu" --loader "\EFI\ubuntu\grubx64.efi"
Voici le retour :
ubuntu@ubuntu:~$ sudo efibootmgr --create --disk /dev/nvme0n1 --part 1 --label "grububuntu" --loader "\EFI\ubuntu\grubx64.efi"
BootCurrent: 0006
Timeout: 0 seconds
BootOrder: 0000,0006,0001,2004,2005,2001,2003
Boot0001* Windows Boot Manager
Boot0002* EFI PXE 0 for IPv4 (7C-D3-0A-9A-1C-C0)
Boot0003* EFI PXE 0 for IPv6 (7C-D3-0A-9A-1C-C0)
Boot0006* Linpus lite
Boot2001* EFI USB Device
Boot2003* EFI Network
Boot2004* HDD1/SSD1
Boot2005* HDD2/SSD2
Boot0000* grububuntu
Hors ligne
#8 Le 31/01/2024, à 12:04
- rahumar
Re : [RESOLU] Pas de GRUB au demarrage | Dual-boot Windows11 - Ubuntu
Je te remercie j'ai juste suivi le paragraphe que tu m'as mentionné, j'ai pu avoir le GUI de refind au démarrage.
Là je vais retenter de redémarrer pour voir ^^"
edit: bon à priori ça fonctionne bien, j'ai pu reboot sur windows aussi.
Dernière modification par rahumar (Le 31/01/2024, à 12:13)
Hors ligne
#9 Le 31/01/2024, à 13:38
- geole
Re : [RESOLU] Pas de GRUB au demarrage | Dual-boot Windows11 - Ubuntu
Donc, Bon dépannage.
Dans le boot-repair, j'ai vu
chroot /mnt/boot-sav/sda2 grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
grub-install: warning: EFI variables cannot be set on this system.
grub-install: warning: You will have to complete the GRUB setup manually.
Installation finished. No error reported
Je crois que c'est un bug boot-repair... Mais comme ton installation standard n'a pas installé, je n'en suis sur. Je vais transmettre pour avis...
"pas evident avec clavier qwert"
Pense à d'abord frapper setxkb;q fr qui s'écrira setxkbmap fr
Dernière modification par geole (Le 31/01/2024, à 13: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