#1 Le 04/02/2024, à 20:04
- petit_quetzal
[Résolu] Disparition dual boot (ubuntu 22.04.3 LTS et Windows vista)
Bonjour, bonsoir,
Mon compagnon m'appelle à la rescousse car son dual boot a disparu mais je ne parviens pas à trouver de solution...
Voici le lien vers le résultat de son boot-info: https://paste.ubuntu.com/p/Tw3VVjYPBw/
Vous serait-il possible de nous éclairer sur l'origine et la résolution de ce problème ?
Un grand merci!
Edit: il manquait la ligne de commande suivante dans le fichier grub:
GRUB_DISABLE_OS_PROBER=false
Le problème est désormais résolu.
Dernière modification par petit_quetzal (Le 05/02/2024, à 22:46)
Hors ligne
#2 Le 04/02/2024, à 20:09
- xubu1957
Re : [Résolu] Disparition dual boot (ubuntu 22.04.3 LTS et Windows vista)
Bonjour,
Collage du Boot-info, pour les spécialistes :
boot-info-4ppa2075 [20240204_1914]
============================== 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 (,msdos5)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk
---------------------------------------------------------------------------
sda1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 8 or 10
Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
sda2: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda3: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda4: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________________________________
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
/boot/grub/i386-pc/core.img
================================ 2 OS detected =================================
OS#1: L'OS actuellement utilisé - Ubuntu 22.04.3 LTS on sda5
OS#2: Windows Vista on sda1
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: RV635/M86 [Mobility Radeon HD 3650] Mobile 4 Series Chipset Integrated Graphics Controller from Advanced Micro Devices, Inc. [AMD/ATI] Intel Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-6.5.0-15-generic root=UUID=62ad4d52-6a47-4290-bd8e-09e03f908097 ro quiet splash vt.handoff=7
df -Th / : /dev/sda5 ext4 70G 30G 37G 45% /
===================================== UEFI =====================================
BIOS/UEFI firmware: 6FET61WW (2.07 )(2.7) from LENOVO
This installed-session is in Legacy/BIOS/CSM mode (not in EFI mode).
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, has-win, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda5 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, end-after-100GB
sda2 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda3 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda1 : is-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
Partitions info (2/3): _________________________________________________________
sda5 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda2 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda3 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda1 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, is-winboot
Partitions info (3/3): _________________________________________________________
sda5 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
sda2 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
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: 111.79 GiB, 120034123776 bytes, 234441648 sectors
Disk identifier: 0xe3808765
Boot Start End Sectors Size Id Type
sda1 * 2048 83427327 83425280 39.8G 7 HPFS/NTFS/exFAT
sda2 83427328 84477951 1050624 513M c W95 FAT32 (LBA)
sda3 84477952 85528575 1050624 513M b W95 FAT32
sda4 85530622 234440703 148910082 71G 5 Extended
sda5 85530624 234440703 148910080 71G 83 Linux
parted -lm (filtered): _________________________________________________________
sda:120GB:scsi:512:512:msdos:ATA WDC WDS120G2G0A-:;
1:1049kB:42.7GB:42.7GB:ntfs::boot;
2:42.7GB:43.3GB:538MB:fat32::lba;
3:43.3GB:43.8GB:538MB:fat32::;
4:43.8GB:120GB:76.2GB:::;
5:43.8GB:120GB:76.2GB:ext4::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 ntfs 1056AEF156AED72E e3808765-01
├─sda2 vfat 17AD-AB8B e3808765-02
├─sda3 vfat EAA3-C2C8 e3808765-03
├─sda4 e3808765-04
└─sda5 ext4 62ad4d52-6a47-4290-bd8e-09e03f908097 e3808765-05
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda1 14.6G 63% /mnt/boot-sav/sda1
/dev/sda2 512M 0% /mnt/boot-sav/sda2
/dev/sda3 512M 0% /mnt/boot-sav/sda3
/dev/sda5 36.4G 42% /
Mount options (filtered): ______________________________________________________
/dev/sda1 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda2 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sda3 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sda5 ext4 rw,relatime,errors=remount-ro
====================== sda5/boot/grub/grub.cfg (filtered) ======================
Ubuntu 62ad4d52-6a47-4290-bd8e-09e03f908097
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sda5/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda5 during installation
UUID=62ad4d52-6a47-4290-bd8e-09e03f908097 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda3 during installation
UUID=EAA3-C2C8 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
======================= sda5/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=""
==================== sda5: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
57,241752625 = 61,462863872 boot/grub/grub.cfg 1
60,933181763 = 65,426505728 boot/grub/i386-pc/core.img 1
66,779369354 = 71,703801856 boot/vmlinuz 1
66,779369354 = 71,703801856 boot/vmlinuz-5.15.0-92-generic 1
68,273990631 = 73,308639232 boot/vmlinuz-6.5.0-14-generic 2
104,398994446 = 112,097566720 boot/vmlinuz-6.5.0-15-generic 2
104,398994446 = 112,097566720 boot/vmlinuz.old 2
93,338863373 = 100,221841408 boot/initrd.img 4
93,338863373 = 100,221841408 boot/initrd.img-5.15.0-92-generic 4
105,268550873 = 113,031245824 boot/initrd.img-6.5.0-14-generic 5
90,779228210 = 97,473454080 boot/initrd.img-6.5.0-15-generic 6
90,779228210 = 97,473454080 boot/initrd.img.old 6
===================== sda5: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18683 Dec 2 2022 10_linux
-rwxr-xr-x 1 root root 43031 Dec 2 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 2 2022 30_os-prober
-rwxr-xr-x 1 root root 1372 Dec 2 2022 30_uefi-firmware
-rwxr-xr-x 1 root root 700 Feb 21 2022 35_fwupd
-rwxr-xr-x 1 root root 214 Jul 31 2020 40_custom
-rwxr-xr-x 1 root root 215 Dec 2 2022 41_custom
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub2 of
sda5 into the MBR of sda.
Grub-efi would not be selected by default because no ESP detected.
Additional repair would be performed: unhide-bootmenu-10s
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
En ligne
#3 Le 04/02/2024, à 21:52
- geole
Re : [Résolu] Disparition dual boot (ubuntu 22.04.3 LTS et Windows vista)
Bonsoir.
Que donnent ces retours
sudo os-prober
sudo grub-update
correction
sudo update-grub
Dernière modification par geole (Le 05/02/2024, à 22:43)
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
#4 Le 05/02/2024, à 11:50
- petit_quetzal
Re : [Résolu] Disparition dual boot (ubuntu 22.04.3 LTS et Windows vista)
Bonjour,
Merci pour ces réactions rapides!
Voici les retours:
didier@didier-ThinkPad-T500:~$ sudo os-prober
[sudo] Mot de passe de didier :
didier@didier-ThinkPad-T500:~$ sudo grub-update
sudo: grub-update : commande introuvable
didier@didier-ThinkPad-T500:~$
Hors ligne
#5 Le 05/02/2024, à 21:20
- geole
Re : [Résolu] Disparition dual boot (ubuntu 22.04.3 LTS et Windows vista)
Bonsoir.
il manque probablement le bon fichier de boot légacy dans cette partition.
sda1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 8 or 10
Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
Souvent, il y en a cinq.
A tenter.
Réparer la structure de boot Legacy en utilisant le support d'installation de windows
Dernière modification par geole (Le 05/02/2024, à 21:22)
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
#6 Le 05/02/2024, à 21:45
- petit_quetzal
Re : [Résolu] Disparition dual boot (ubuntu 22.04.3 LTS et Windows vista)
Merci beaucoup!
Voici le retour de la commande corrigée:
didier@didier-ThinkPad-T500:~$ sudo update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
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.5.0-14-generic
Found initrd image: /boot/initrd.img-6.5.0-14-generic
Found linux image: /boot/vmlinuz-5.15.0-92-generic
Found initrd image: /boot/initrd.img-5.15.0-92-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
done
Par contre, le propriétaire de l'ordi en question n'a pas le support d'installation de windows donc je crois qu'on va être coincés...
Hors ligne
#7 Le 05/02/2024, à 21:55
- geole
Re : [Résolu] Disparition dual boot (ubuntu 22.04.3 LTS et Windows vista)
Warning: os-prober will not be executed to detect other bootable partitions.
Il faudrait autoriser: paragraphe 1.2.2
en ajoutant
GRUB_DISABLE_OS_PROBER=false
Ne pas oublier de finir avec
sudo update-grub
Dernière modification par geole (Le 05/02/2024, à 22:00)
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 05/02/2024, à 22:38
- petit_quetzal
Re : [Résolu] Disparition dual boot (ubuntu 22.04.3 LTS et Windows vista)
Un tout grand merci geole!
Le fichier grub ne contenait effectivement pas (ou plus) de commande concernant os_prober, je l'ai donc ajoutée en suivant la procédure et tout fonctionne à nouveau. :-)
Dernière modification par petit_quetzal (Le 05/02/2024, à 22:39)
Hors ligne