Pages : 1
#1 Le 28/07/2025, à 20:47
- tobipaqqch
[Résolu] Pas de Grub au démarrage
Salut,
J'ai installé KUbuntu récemment tout en voulant garder Windows 10 en dual boot. J'avais déjà fait cela par le passé, sans jamais avoir eu de soucis, mais cette fois ça coince.
Contexte :
J'ai deux disques durs, un SSD sur lequel est installé Win10, un autre de 1 To (appelé Data).
A l'installation, je n'ai pas pu installer KUbuntu sur le SSD, car il n'y avait sans doute plus de place. J'ai donc sélectionné le disque Data et j'ai coché la case pour faire de la place en redimensionnant et en créant des partitions pour que Linix s'installe.
A la fin de l'installation, au reboot, l'ordi m'a dit qu'il ne trouvait pas de secteur de démarrage. Dans le BIOS, j'ai sélectionné le disque Data, ça a bien démarré KUbuntu. Mais impossible de trouver un dual boot !
J'ai alors suivi ce tuto : https://forum.ubuntu-fr.org/viewtopic.p … 0#p3970260
En faisant la commande "dpkg-reconfigure grub-pc", j'ai accès à 3 options, mais quelle qu'elle soit (j'ai essayé les 3) (et ça me dit bien que ça a trouvé windows 10 dans /dev/sda1), au redémarrage Grub ne se lance pas. Pourtant avec le code "sudo debconf-show grub-pc", j'ai bien la preuve qu'il existe !
grub2/update_nvram: true
grub-pc/mixed_legacy_and_grub2: true
grub-pc/install_devices_disks_changed:
grub-efi/install_devices_disks_changed:
grub-pc/timeout: 0
grub-pc/hidden_timeout: true
grub-efi/partition_description:
grub-efi/install_devices_empty: false
grub2/unsigned_kernels:
grub2/no_efi_extra_removable: false
* grub-pc/install_devices: /dev/disk/by-id/ata-Samsung_SSD_840_PRO_Series_S1ANNEAD624567F
grub-pc/partition_description:
grub-pc/install_devices_failed: false
grub2/kfreebsd_cmdline:
grub-efi/install_devices_failed: false
grub-pc/postrm_purge_boot_grub: false
* grub2/enable_os_prober: false
grub-pc/disk_description:
grub-pc/chainload_from_menu.lst: true
grub-pc/kopt_extracted: false
grub-efi/install_devices:
grub-efi/cloud_style_installation: false
grub-pc/install_devices_failed_upgrade: true
grub-pc/cloud_style_installation: false
grub2/unsigned_kernels_title:
* grub2/linux_cmdline_default: quiet splash
grub2/kfreebsd_cmdline_default: quiet splash
* grub2/linux_cmdline:
grub-pc/install_devices_empty: false
J'ai exécuté comme conseillé le boot-info : voilà le rapport : https://paste.ubuntu.com/p/s5VPycw7Y4/
Autre chose étrange (je ne sais pas si ça peut avoir un lien) : le disque Data ne se monte pas via l'interface de Dolphin. Ca me dit en erreur :
"Une erreur est survenue en accédant à « Data ». Message reçu : L'opération demandée a échoué: Error mounting /dev/sdb1 at /media/tiou/Data: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error"
Quand je lance la commande "sudo mount /dev/sdb1 /mnt", ça fonctionne et j'ai accès au disque... Mystère (pour moi en tout cas).
J'espère avoir donné suffisamment d'infos.
Mathieu
Dernière modification par tobipaqqch (Le 28/07/2025, à 23:30)
Hors ligne
#2 Le 28/07/2025, à 21:19
- xubu1957
Re : [Résolu] Pas de Grub au démarrage
Bonjour,
Collage du Boot-info, pour les spécialistes :
boot-info-4ppa2081 [20250728_2033]
============================== Boot Info Summary ===============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for /boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk search_fs_uuid
---------------------------------------------------------------------------
config script
---------------------------------------------------------------------------
search.fs_uuid 95eaab00-15e4-407e-8d4e-8cab29727d22 root hd1,msdos2
set prefix=($root)'/boot/grub'
---------------------------------------------------------------------------
=> Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos2)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk
---------------------------------------------------------------------------
sda1: __________________________________________________________________________
File system: ntfs
Boot sector type: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /grldr /bootmgr /Boot/BCD /grldr
sda2: __________________________________________________________________________
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
sda3: __________________________________________________________________________
File system: ntfs
Boot sector type: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdb1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 7/2008: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdb2: __________________________________________________________________________
File system: ext4
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v2.00) is installed in the boot sector of sdb2
and looks at sector 1653786346 of the same hard drive
for core.img. core.img is at this location and looks
for (,msdos2)/boot/grub. It also embeds following
components:
modules
-------------------------------------------------------
fshelp ext2 part_msdos biosdisk
-------------------------------------------------------
Operating System: Ubuntu 24.04.2 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
================================ 3 OS detected =================================
OS#1 (linux): L'OS actuellement utilisé - Ubuntu 24.04.2 LTS on sdb2
OS#2 (windows): Windows 10 (boot) on sda1
OS#3 (windows): Windows 10 or 11 on sda2
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: Bonaire XT [Radeon HD 7790/8770 / R7 360 / R9 260/360 OEM] from Advanced Micro Devices, Inc. [AMD/ATI]
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-6.14.0-24-generic root=UUID=95eaab00-15e4-407e-8d4e-8cab29727d22 ro quiet splash vt.handoff=7
df -Th / : /dev/sdb2 ext4 150G 11G 132G 8% /
===================================== UEFI =====================================
BIOS/UEFI firmware: 1107(4.6) from American Megatrends Inc.
This installed-session is in Legacy/BIOS/CSM mode (not in EFI mode).
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sdb : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
sda : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, has-win, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sdb2 : 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, end-after-100GB
sda2 : is-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sda3 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sda1 : is-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
Partitions info (2/3): _________________________________________________________
sdb2 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ext4
sdb1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ntfs
sda2 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, notwinboot, ntfs
sda3 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ntfs
sda1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, bootmgr, is-winboot, ntfs
Partitions info (3/3): _________________________________________________________
sdb2 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-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
sda2 : 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: 119.24 GiB, 128035676160 bytes, 250069680 sectors
Disk identifier: 0xe8613cd9
Boot Start End Sectors Size Id Type
sda1 * 2048 206847 204800 100M 7 HPFS/NTFS/exFAT
sda2 206848 248963454 248756607 118.6G 7 HPFS/NTFS/exFAT
sda3 248965120 250064895 1099776 537M 27 Hidden NTFS WinRE
Disk sdb: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 0xab3aa772
Boot Start End Sectors Size Id Type
sdb1 2048 1632486000 1632483953 778.4G 7 HPFS/NTFS/exFAT
sdb2 * 1632486002 1953519615 321033614 153.1G 83 Linux
parted -lm (filtered): _________________________________________________________
sda:128GB:scsi:512:512:msdos:ATA Samsung SSD 840:;
1:1049kB:106MB:105MB:ntfs::boot;
2:106MB:127GB:127GB:ntfs::;
3:127GB:128GB:563MB:ntfs::msftres;
sdb:1000GB:scsi:512:512:msdos:ATA ST31000524AS:;
1:1049kB:836GB:836GB:ntfs::;
2:836GB:1000GB:164GB:ext4::boot;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 ntfs 4E0ECE810ECE6197 e8613cd9-01 Réservé au système
├─sda2 ntfs 40ACD3E0ACD3CF12 e8613cd9-02
└─sda3 ntfs 56E40AE0E40AC26B e8613cd9-03
sdb
├─sdb1 ntfs 74C81542C81503D0 ab3aa772-01 Data
└─sdb2 ext4 95eaab00-15e4-407e-8d4e-8cab29727d22 ab3aa772-02 kubuntu_2404
sdc
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda1 65.8M 34% /mnt/boot-sav/sda1
/dev/sda2 5.1G 96% /mnt/boot-sav/sda2
/dev/sda3 88.6M 84% /mnt/boot-sav/sda3
/dev/sdb1 70.8G 91% /mnt/boot-sav/sdb1
/dev/sdb2 131.9G 7% /
Mount options (filtered): ______________________________________________________
/dev/sda1 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda2 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda3 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdb1 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdb2 ext4 rw,relatime
=========================== sda1/grldr embedded menu ===========================
====================== sdb2/boot/grub/grub.cfg (filtered) ======================
Kubuntu 95eaab00-15e4-407e-8d4e-8cab29727d22
Windows 10 (on sda1) 4E0ECE810ECE6197
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
========================== sdb2/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=95eaab00-15e4-407e-8d4e-8cab29727d22 / ext4 defaults 0 1
/swapfile swap swap defaults 0 0
======================= sdb2/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR='Kubuntu'
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
==================== sdb2: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
862,693062782 = 926,309622784 boot/grub/grub.cfg 1
862,693039894 = 926,309598208 boot/grub/i386-pc/core.img 1
862,225705147 = 925,807801344 boot/vmlinuz 1
783,311459541 = 841,074275328 boot/vmlinuz-6.11.0-17-generic 2
862,225705147 = 925,807801344 boot/vmlinuz-6.14.0-24-generic 1
783,311459541 = 841,074275328 boot/vmlinuz.old 2
927,098069191 = 995,463971840 boot/initrd.img 3
778,761471748 = 836,188763136 boot/initrd.img-6.11.0-17-generic 1
927,098069191 = 995,463971840 boot/initrd.img-6.14.0-24-generic 3
778,761471748 = 836,188763136 boot/initrd.img.old 1
===================== sdb2: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18133 sept. 11 2024 10_linux
-rwxr-xr-x 1 root root 43202 sept. 11 2024 10_linux_zfs
-rwxr-xr-x 1 root root 14513 sept. 11 2024 20_linux_xen
-rwxr-xr-x 1 root root 786 sept. 11 2024 25_bli
-rwxr-xr-x 1 root root 13120 sept. 11 2024 30_os-prober
-rwxr-xr-x 1 root root 1174 sept. 11 2024 30_uefi-firmware
-rwxr-xr-x 1 root root 722 déc. 5 2024 35_fwupd
-rwxr-xr-x 1 root root 214 sept. 11 2024 40_custom
-rwxr-xr-x 1 root root 215 sept. 11 2024 41_custom
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub2 of
sdb2 into the MBR of sdb.
Grub-efi would not be selected by default because no ESP detected.
Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your BIOS boot on sdb (ATA ST31000524AS) disk!
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 Le 28/07/2025, à 22:06
- ylag
Re : [Résolu] Pas de Grub au démarrage
Bonsoir,
Tu aurais Ubuntu installé sur sdb2, pas Kubuntu ?
Pour afficher le menu grub au démarrage, il faudrait modifier le fichier /etc/default/grub pour avoir :
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
Pour prendre en compte la modif, faire ensuite :
sudo update-grub
... puis redémarrer ?
Commence par faire une sauvegarde du fichier avant de tenter la modif ...
A+
Hors ligne
#4 Le 28/07/2025, à 23:32
- tobipaqqch
Re : [Résolu] Pas de Grub au démarrage
Merci pour cette réponse claire et surtout efficace, c'est bon j'ai accès à Grub et au Dual Boot.
Question : j'ai lu quelque part qu'après des mises à jour de KUbuntu, Grub pouvait sauter. Est-ce que j'ai quelque chose à faire ou pas dans mon cas ?
PS : je suis bien sous KUbuntu, je ne sais pas pourquoi ça disait Ubuntu seulement.
Mathieu
Hors ligne
#5 Le 28/07/2025, à 23:43
- ylag
Re : [Résolu] Pas de Grub au démarrage
Bonsoir,
Tant mieux si tu as retrouvé le menu grub au démarrage ...
Je ne sais dire concernant le risque de perdre le démarrage après mises à jour. Aucun processus ne peut être déclaré fiable à 100%, mais la probabilité de perte du grub dans ce cas serait minime, AMHA ...
A+
Dernière modification par ylag (Le 28/07/2025, à 23:45)
Hors ligne
Pages : 1