#1 Hier à 15:33
- olvier63
plus accés a grub (donc windox) suite a l'installation d'ubuntu
Bonjour a tous , je n'ai plus accès a grub suite a l’installation d'ubuntu .
J'ai un pc msi ge 60 avec deux ssd de 120g un sur lequel il y a windows et sur l'autre une vielle version d'unbutu . C'est en installent la version 24/04 que j'ai perdu grub .
Mon boot info:
https://paste.ubuntu.com/p/G3YJxmwNsc/
Merci de m'aider.
Hors ligne
#2 Hier à 15:35
- xubu1957
Re : plus accés a grub (donc windox) suite a l'installation d'ubuntu
Bonjour,
Collage du Boot-info, pour les spécialistes :
boot-info-4ppa2081 [20250205_1458]
============================== Boot Info Summary ===============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 2048
of the same hard drive for core.img. core.img is at this location and
looks for (,gpt2)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_gpt biosdisk
---------------------------------------------------------------------------
=> No boot loader is installed in the MBR of /dev/sdb.
=> No boot loader is installed in the MBR of /dev/sdc.
sda1: __________________________________________________________________________
File system: BIOS Boot partition
Boot sector type: Grub2's core.img
Boot sector info:
sda2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 24.04.1 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
sdb1: __________________________________________________________________________
File system: ntfs
Boot sector type: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdb2: __________________________________________________________________________
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/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
/efi/MSI/Boot/bootmgfw.efi /efi/MSI/Boot/bootmgr.efi
sdb3: __________________________________________________________________________
File system:
Boot sector type: -
Boot sector info:
sdb4: __________________________________________________________________________
File system: ntfs
Boot sector type: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdb5: __________________________________________________________________________
File system: ntfs
Boot sector type: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdb6: __________________________________________________________________________
File system: ntfs
Boot sector type: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdc1: __________________________________________________________________________
File system: ntfs
Boot sector type: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdc2: __________________________________________________________________________
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/bootmgfw.efi
/efi/Microsoft/Boot/bootmgr.efi
/efi/Microsoft/Boot/SecureBootRecovery.efi
/efi/MSI/Boot/bootmgfw.efi /efi/MSI/Boot/bootmgr.efi
sdc3: __________________________________________________________________________
File system:
Boot sector type: -
Boot sector info:
sdc4: __________________________________________________________________________
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: /bootmgr /Windows/System32/winload.exe
sdc5: __________________________________________________________________________
File system: ntfs
Boot sector type: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdc6: __________________________________________________________________________
File system: ntfs
Boot sector type: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdc7: __________________________________________________________________________
File system: ntfs
Boot sector type: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
================================ 2 OS detected =================================
OS#1 (linux): L'OS actuellement utilisé - Ubuntu 24.04.1 LTS on sda2
OS#2 (windows): Windows 10 or 11 on sdc4
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: GK106M [GeForce GTX 765M] 4th Gen Core Processor Integrated Graphics Controller from NVIDIA Corporation Intel Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-6.8.0-52-generic root=UUID=f7bdefcb-adad-4110-a925-c6ef782a364f ro quiet splash vt.handoff=7
df -Th / : /dev/sda2 ext4 110G 14G 91G 14% /
===================================== UEFI =====================================
BIOS/UEFI firmware: E16GCIMS.511(4.6) from American Megatrends Inc.
The firmware is EFI-compatible, but this installed-session is in Legacy/BIOS/CSM mode (not in EFI mode).
78415fb8fb9b909f8029858113f1335f sdb2/Boot/bootx64.efi
2895d47544fd587b26c7e29be1295c27 sdb2/Boot/fbx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84 sdb2/Boot/mmx64.efi
74b644f41f5920d0ebfbe3b6d7841f69 sdb2/ubuntu/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84 sdb2/ubuntu/mmx64.efi
78415fb8fb9b909f8029858113f1335f sdb2/ubuntu/shimx64.efi
dbed1f7ed9e19e53bfc7f43122ce3d83 sdb2/Microsoft/Boot/bootmgfw.efi
f7823e3314dc3c4d83fc44abef7f0046 sdb2/Microsoft/Boot/bootmgr.efi
dbed1f7ed9e19e53bfc7f43122ce3d83 sdb2/MSI/Boot/bootmgfw.efi
f7823e3314dc3c4d83fc44abef7f0046 sdb2/MSI/Boot/bootmgr.efi
a7e895ae35e102411330a3e52636b457 sdc2/Boot/bootx64.efi
a7e895ae35e102411330a3e52636b457 sdc2/Microsoft/Boot/bootmgfw.efi
4c75682f8c4ddf9ca2f68ba84c3bf240 sdc2/Microsoft/Boot/bootmgr.efi
13bbe79f47b4d57f791e51f5c01f7ac8 sdc2/Microsoft/Boot/SecureBootRecovery.efi
dbed1f7ed9e19e53bfc7f43122ce3d83 sdc2/MSI/Boot/bootmgfw.efi
f7823e3314dc3c4d83fc44abef7f0046 sdc2/MSI/Boot/bootmgr.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : is-GPT, hasBIOSboot, has-noESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
sdb : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
sdc : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, has-win, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda2 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, end-after-100GB
sdb4 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sdb2 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sdb5 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sdb1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sdb6 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sdc2 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sdc7 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sdc5 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sdc1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sdc6 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sdc4 : is-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
Partitions info (2/3): _________________________________________________________
sda2 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ext4
sdb4 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ntfs
sdb2 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, vfat
sdb5 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ntfs
sdb1 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot, ntfs
sdb6 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot, ntfs
sdc2 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, vfat
sdc7 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot, ntfs
sdc5 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot, ntfs
sdc1 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot, ntfs
sdc6 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot, ntfs
sdc4 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, notwinboot, ntfs
Partitions info (3/3): _________________________________________________________
sda2 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
sdb4 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sdb2 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sdb5 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sdb1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sdb6 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sdc2 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdc
sdc7 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdc
sdc5 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdc
sdc1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdc
sdc6 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdc
sdc4 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdc
fdisk -l (filtered): ___________________________________________________________
Disk sda: 111.79 GiB, 120034123776 bytes, 234441648 sectors
Disk identifier: 87C0D47A-CDE2-4271-B560-C9F7E53C2DFF
Start End Sectors Size Type
sda1 2048 4095 2048 1M BIOS boot
sda2 4096 234438655 234434560 111.8G Linux filesystem
Disk sdb: 698.64 GiB, 750156374016 bytes, 1465149168 sectors
Disk identifier: AE3B79FF-904A-4457-9F72-290DB95054EA
Start End Sectors Size Type
sdb1 2048 1230847 1228800 600M Windows recovery environment
sdb2 1230848 1845247 614400 300M EFI System
sdb3 1845248 2107391 262144 128M Microsoft reserved
sdb4 2107392 992468991 990361600 472.2G Microsoft basic data
sdb5 992468992 1423925247 431456256 205.7G Microsoft basic data
sdb6 1423925248 1465147391 41222144 19.7G Windows recovery environment
Disk sdc: 111.79 GiB, 120034123776 bytes, 234441648 sectors
Disk identifier: 89C303A0-7BFB-4B58-8BF1-1147EBA3A19A
Start End Sectors Size Type
sdc1 2048 1845247 1843200 900M Windows recovery environment
sdc2 1845248 2459647 614400 300M EFI System
sdc3 2459648 2721791 262144 128M Microsoft reserved
sdc4 2721792 191714222 188992431 90.1G Microsoft basic data
sdc5 191715328 193781759 2066432 1009M Windows recovery environment
sdc6 193781760 194498559 716800 350M Windows recovery environment
sdc7 194498560 234440703 39942144 19G Windows recovery environment
parted -lm (filtered): _________________________________________________________
sda:120GB:scsi:512:4096:gpt:ATA Crucial_CT120M50:;
1:1049kB:2097kB:1049kB:::bios_grub;
2:2097kB:120GB:120GB:ext4::;
sdb:750GB:scsi:512:4096:gpt:ATA Hitachi HTS72757:;
1:1049kB:630MB:629MB:ntfs:Basic data partition:hidden, diag, no_automount;
2:630MB:945MB:315MB:fat32:EFI system partition:boot, esp, no_automount;
3:945MB:1079MB:134MB::Microsoft reserved partition:msftres, no_automount;
4:1079MB:508GB:507GB:ntfs:Basic data partition:msftdata;
5:508GB:729GB:221GB:ntfs:Basic data partition:msftdata;
6:729GB:750GB:21.1GB:ntfs::hidden, diag, no_automount;
sdc:120GB:scsi:512:4096:gpt:ATA Crucial_CT120M50:;
1:1049kB:945MB:944MB:ntfs:Basic data partition:hidden, diag, no_automount;
2:945MB:1259MB:315MB:fat32:EFI system partition:boot, esp, no_automount;
3:1259MB:1394MB:134MB::Microsoft reserved partition:msftres, no_automount;
4:1394MB:98.2GB:96.8GB:ntfs:Basic data partition:msftdata;
5:98.2GB:99.2GB:1058MB:ntfs::hidden, diag, no_automount;
6:99.2GB:99.6GB:367MB:ntfs::hidden, diag, no_automount;
7:99.6GB:120GB:20.5GB:ntfs:Basic data partition:hidden, diag, no_automount;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 0366411a-02bf-4dd6-8a5a-fd9c0ddbf253
└─sda2 ext4 f7bdefcb-adad-4110-a925-c6ef782a364f 3a1d8c33-989e-442a-b70b-6808438170b2
sdb
├─sdb1 ntfs EC30CC7530CC47F2 f1168fcf-5e20-4a91-8309-72cd760a314d WinRE tools Basic data partition
├─sdb2 vfat 88CF-159D af240a46-979f-4d84-9990-c52c0c8f58e4 SYSTEM EFI system partition
├─sdb3 1be95c41-8def-49bd-a5c7-0c7f2fdf2990 Microsoft reserved partition
├─sdb4 ntfs 50F0A285F0A270C0 eab19ff1-6a96-4002-88ca-b83691fa0715 Data Basic data partition
├─sdb5 ntfs 5A24D20F24D1EE4F 96be8a4e-5e0e-4449-8e8c-1fbf23f0e108 Data Basic data partition
└─sdb6 ntfs 5634D42334D407BF e705ce51-686f-4eb1-b58d-902c0217c7c1 BIOS_RVY Basic data partition
sdc
├─sdc1 ntfs 4E92266B922657AB 6d8f2899-2aa2-4ffc-a1d0-4a5b153295c4 WinRE tools Basic data partition
├─sdc2 vfat 3A28-72A5 b47c24ac-c22f-4cdf-afd3-597ae5c14368 SYSTEM EFI system partition
├─sdc3 6c52fe3a-0b64-4239-b937-adbd7758ab75 Microsoft reserved partition
├─sdc4 ntfs 14F42BC1F42BA3C8 5588cd43-f728-4260-9d9b-9fc4f8ce34ef OS_Install Basic data partition
├─sdc5 ntfs 5C1E30CD1E30A1C6 2eaff336-1451-4f27-a228-c1ab9b588298
├─sdc6 ntfs F82A4DA22A4D5EAE b1230c6f-5d92-4661-966e-88afab1f1b65
└─sdc7 ntfs 0E1C2E081C2DEB81 fa11eade-f7a1-49fa-af35-d23584159322 BIOS_RVY Basic data partition
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda2 90.2G 12% /
/dev/sdb1 371.6M 38% /mnt/boot-sav/sdb1
/dev/sdb2 241.6M 18% /mnt/boot-sav/sdb2
/dev/sdb4 79.5G 83% /mnt/boot-sav/sdb4
/dev/sdb5 204.5G 1% /mnt/boot-sav/sdb5
/dev/sdb6 1.3G 93% /mnt/boot-sav/sdb6
/dev/sdc1 672.4M 25% /mnt/boot-sav/sdc1
/dev/sdc2 244.6M 17% /mnt/boot-sav/sdc2
/dev/sdc4 10G 89% /mnt/boot-sav/sdc4
/dev/sdc5 345.6M 66% /mnt/boot-sav/sdc5
/dev/sdc6 326.4M 7% /mnt/boot-sav/sdc6
/dev/sdc7 711.7M 96% /mnt/boot-sav/sdc7
Mount options (filtered): ______________________________________________________
/dev/sda2 ext4 rw,relatime
/dev/sdb1 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdb2 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sdb4 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdb5 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdb6 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdc1 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdc2 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sdc4 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdc5 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdc6 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdc7 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
====================== sda2/boot/grub/grub.cfg (filtered) ======================
Ubuntu f7bdefcb-adad-4110-a925-c6ef782a364f
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
========================== sda2/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during curtin installation
/dev/disk/by-uuid/f7bdefcb-adad-4110-a925-c6ef782a364f / ext4 defaults 0 1
/swap.img none swap sw 0 0
======================= sda2/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
==================== sda2: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
24,500724792 = 26,307452928 boot/grub/grub.cfg 1
80,127784729 = 86,036553728 boot/grub/i386-pc/core.img 1
24,376949310 = 26,174550016 boot/vmlinuz 2
24,376949310 = 26,174550016 boot/vmlinuz-6.8.0-52-generic 2
24,376949310 = 26,174550016 boot/vmlinuz.old 2
49,361324310 = 53,001318400 boot/initrd.img 2
49,361324310 = 53,001318400 boot/initrd.img-6.8.0-52-generic 2
49,361324310 = 53,001318400 boot/initrd.img.old 2
===================== sda2: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18133 Apr 4 2024 10_linux
-rwxr-xr-x 1 root root 43202 Apr 4 2024 10_linux_zfs
-rwxr-xr-x 1 root root 14513 Apr 4 2024 20_linux_xen
-rwxr-xr-x 1 root root 786 Apr 4 2024 25_bli
-rwxr-xr-x 1 root root 13120 Apr 4 2024 30_os-prober
-rwxr-xr-x 1 root root 1174 Apr 4 2024 30_uefi-firmware
-rwxr-xr-x 1 root root 722 Apr 5 2024 35_fwupd
-rwxr-xr-x 1 root root 214 Apr 4 2024 40_custom
-rwxr-xr-x 1 root root 215 Apr 4 2024 41_custom
===================== sdb2/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid bfb5187c-a281-4365-854e-416f272be353 root hd0,gpt1
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub-efi of
sda2,
using the following options: sdb2/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file
Blockers in case of suggested repair: __________________________________________
WindowsEFI detected. Please disable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, and use this software from a live-CD (or live-USB) that is compatible with UEFI booting mode. For example, use a live-USB of Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd), after making sure your BIOS is set up to boot USB in EFI mode.
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your UEFI firmware boot on the L'OS actuellement utilisé - Ubuntu 24.04.1 LTS entry (sdb2/efi/****/grub****.efi (**** will be updated in the final message) file) !
If your computer reboots directly into Windows, try to change the boot order in your UEFI firmware.
If your UEFI firmware does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\****\grub****.efi (**** will be updated in the final message)
The boot of your PC is in BIOS-compatibility/CSM/Legacy mode. You may want to retry after changing it to UEFI mode.
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
Hors ligne
#3 Hier à 16:30
- nany
Re : plus accés a grub (donc windox) suite a l'installation d'ubuntu
Bonjour,
Passe cette commande (qui ne doit rien retourner) :
grep -q "DISABLE_OS_PROBER" /etc/default/grub && sudo sed -i '/GRUB_DISABLE_OS_PROBER/s/^#//' /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
Hors ligne
#4 Hier à 16:49
- iznobe
Re : plus accés a grub (donc windox) suite a l'installation d'ubuntu
Bonjour,
Passe cette commande (qui ne doit rien retourner) :
grep -q "DISABLE_OS_PROBER" /etc/default/grub && sudo sed -i '/GRUB_DISABLE_OS_PROBER/s/^#//' /etc/default/grub || sudo sed -i '/GRUB_CMDLINE_LINUX=/a\GRUB_DISABLE_OS_PROBER=false' /etc/default/grub
Bonjour , pourquoi faire aussi " compliqué " quand on peut faire un simple ajout de :
GRUB_DISABLE_OS_PROBER=false dans le fichier , du genre :
echo GRUB_DISABLE_OS_PROBER=false | sudo tee -a /etc/default/grub
?
Dernière modification par iznobe (Hier à 16:50)
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#5 Hier à 16:54
- nany
Re : plus accés a grub (donc windox) suite a l'installation d'ubuntu
Non, l’option est peut-être déjà présente et commentée. Auquel cas on la décommente, sinon on l’ajoute.
Hors ligne
#6 Hier à 16:58
- iznobe
Re : plus accés a grub (donc windox) suite a l'installation d'ubuntu
oui j ' avais compris l' idée . Mais bon , faut avouer que juste pour decommenter l ' option si elle est présente , c' est tout de meme un peu " lourd " en terme de commande .
Perso , je ne saurais pas re ecrire ta commande
Perfection quand tu nous tiens
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#7 Hier à 17:56
- olvier63
Re : plus accés a grub (donc windox) suite a l'installation d'ubuntu
Merci pour vos réponses rapides ,mais du coup je fait quoi ?:/
Vous avez bien compris que je suis une bille et je ne voudrais pas empirer la chose .
Mon problème de perte de grub vient je pense a l’installation de la version 24.04 . Je n'arrivai pas a bouter sur la clé d'installation et j'ai donc modifier des paramètres dans le bios . Je l'ai mis en legacy et je crois bien qu'avant sur ma vielle ubuntu c’était en uefi . Après vu le nombre de tentatives je ne sais plus trop
Pour l’instant je n'ai rien fait .
Merci de me guider .
Hors ligne
#8 Hier à 19:03
- iznobe
Re : plus accés a grub (donc windox) suite a l'installation d'ubuntu
passe la commande de @nany .
je me suis intercalé , mais c' etait une question a titre personnel , qui etait plutot HS , desolé pour la confusion .
Dernière modification par iznobe (Hier à 19:04)
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#9 Hier à 19:26
- olvier63
Re : plus accés a grub (donc windox) suite a l'installation d'ubuntu
olivier@olivier-GE60-2OC-2OD-2OE:~$ grep -q "DISABLE_OS_PROBER" /etc/default/grub && sudo sed -i '/GRUB_DISABLE_OS_PROBER/s/^#//' /etc/default/grub || sudo sed -i '/GRUB_CMDLINE_LINUX=/a\GRUB_DISABLE_OS_PROBER=false' /etc/default/grub
[sudo] Mot de passe de olivier :
olivier@olivier-GE60-2OC-2OD-2OE:~$ sudo update-grub
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.8.0-52-generic
Found initrd image: /boot/initrd.img-6.8.0-52-generic
Found memtest86+x64 image: /boot/memtest86+x64.bin
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Adding boot menu entry for UEFI Firmware Settings ...
done
olivier@olivier-GE60-2OC-2OD-2OE:~$
Hors ligne
#10 Hier à 19:27
- olvier63
Re : plus accés a grub (donc windox) suite a l'installation d'ubuntu
En effet la première commande n'a rien donnée
Hors ligne
#11 Hier à 19:36
- iznobe
Re : plus accés a grub (donc windox) suite a l'installation d'ubuntu
il n' a pas detecté windobz . ca ne m' etonne qu ' a moitié et de toute maniere il fallait activé l' option .
je suis plutot étonné par ca ( de mon coté ) :
sda1: __________________________________________________________________________
File system: BIOS Boot partition
Boot sector type: Grub2's core.img
Boot sector info:sda2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 24.04.1 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
montre
efibootmgr
Dernière modification par iznobe (Hier à 19:36)
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#12 Hier à 19:39
- olvier63
Re : plus accés a grub (donc windox) suite a l'installation d'ubuntu
olivier@olivier-GE60-2OC-2OD-2OE:~$ efibootmgr
EFI variables are not supported on this system.
olivier@olivier-GE60-2OC-2OD-2OE:~$
voila
Hors ligne
#13 Hier à 19:41
- olvier63
Re : plus accés a grub (donc windox) suite a l'installation d'ubuntu
J'ai installer ubuntu 24.04 en legacy dans le bios .
Dernière modification par olvier63 (Hier à 19:41)
Hors ligne
#14 Hier à 19:54
- iznobe
Re : plus accés a grub (donc windox) suite a l'installation d'ubuntu
J'ai installer ubuntu 24.04 en legacy dans le bios .
oui , sauf que windobz est installé en EFI .
tu ne peux faire cohabiter ( ou tres difficilement ) des systemes installés en EFI et en LEGACY .
generalement on choisit un mode ( EFI , vu que ton windobz est en EFI ) dans le BIOS ( il vaut mieux eviter le mode CSM c' est toujours la galere avec ), puis on installe tous les systemes dans ce mode là aussi .
Dernière modification par iznobe (Hier à 19:55)
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#15 Hier à 19:59
- olvier63
Re : plus accés a grub (donc windox) suite a l'installation d'ubuntu
Ok j"ai fait ceci car mon pc ne reconnaissait pas le live usb (fait avec rufus ) en mode EFI
Hors ligne
#16 Hier à 20:06
- iznobe
Re : plus accés a grub (donc windox) suite a l'installation d'ubuntu
je comprends , mais ce n' est pas la solution .
soit tu réinstalles en utilisant plutot ventoy ( en positionnant ton BIOS en EFI au préalable ) , soit il faut transformer l' installation en EFI . Mais ca je sais que c' est possible , mais c' est plutôt compliqué et je ne sais pas faire .
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#17 Hier à 21:28
- ikewdu
Re : plus accés a grub (donc windox) suite a l'installation d'ubuntu
Salut,
C'est effectivement le bazar dans ton installation. Il y a tout et n'importe quoi. Seul sdc semble propre (et encore, 4 partitions winre, c'est un record). C'est là qu'est ton Windows qui doit être fonctionnel. Un Ws8 probablement upgradé en W10.
En repassant ton bios en uefi (c'est incontournable), puis en cherchant les entrées "Windows boot manager" (tu pourrais bien en trouver 4) dans l'onglet boot de ce bios, tu devrais pouvoir lancer ton Windows avec l'une d'entre elles car il est autonome sur sdc. Idem en débranchant les disques sda et sdb. Idem encore en virant la partition sdb2 (qui contient le démarrage d'un ancien dual boot Ws8/Ubuntu disparu).
Après, il faudra réinstaller ton Ubuntu sur sda, mais en uefi, cette fois.
Dernière modification par ikewdu (Hier à 21:45)
Hors ligne