Pages : 1
#1 Le 31/05/2025, à 16:20
- gilles deloustal
RESOLU dual boot
Bonjour
J'étais en dual boot sous ubuntu 22.04 et windows, j'ai installé ubuntu 24.04 et une erreur s'est produite lors de l'installation sans doute du fait que j'avais défini une partition en vfat /boot au lieu de /boot/efi. Ma partition windows a été détruite.
Je suis en train de recopier une vieille sauvegarde de ma partition de windows sur la partition WINDOWS_OS de mon PC.
Une fois cela fait, comment retrouver un dual boot. Pour info, alors que la copie de ma sauvegarde de Windows n'a pas commencé, voici le résultat du bootinfo.
https://paste.ubuntu.com/p/RRws8JThGn/
boot-info-4ppa2081 [20250531_1307]
============================== 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 (,msdos6)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk
---------------------------------------------------------------------------
=> No boot loader is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
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: /bootmgr /Boot/BCD
sda2: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /bootmgr /Windows/System32/winload.exe
sda3: __________________________________________________________________________
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:
sda4: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda6: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 24.04.2 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
sdb1: __________________________________________________________________________
File system: exfat
Boot sector type: Unknown
Boot sector info:
Operating System:
Boot files:
================================ 3 OS detected =================================
OS#1 (linux): L'OS actuellement utilisé - Ubuntu 24.04.2 LTS on sda6
OS#2 (windows): Windows 7 (boot) on sda1
OS#3 (windows): Windows 7 on sda2
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: Core Processor Integrated Graphics Controller from Intel Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-6.11.0-26-generic root=UUID=69d19cc6-3b42-4731-aaf6-bc78afe8d15c ro quiet splash vt.handoff=7
df -Th / : /dev/sda6 ext4 38G 9,3G 27G 26% /
===================================== UEFI =====================================
BIOS/UEFI firmware: 80ET61WW (2.01 )(2.1) 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
sdb : notGPT, no-BIOSboot, has-noESP, usb-disk, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda6 : is-os, 64, apt-get, grub-pc , 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
sda5 : no-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): _________________________________________________________
sda6 : isnotESP, fstab-has-bad-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, exfat
sda2 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, notwinboot, ntfs
sda5 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, vfat
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): _________________________________________________________
sda6 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
sdb1 : maybesepboot, 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
sda5 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sda3 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sda1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk sda: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 0xc2d62af5
Boot Start End Sectors Size Id Type
sda1 2048 3074047 3072000 1.5G 7 HPFS/NTFS/exFAT
sda2 * 3074048 870275071 867201024 413.5G 7 HPFS/NTFS/exFAT
sda3 952195072 976771071 24576000 11.7G 7 HPFS/NTFS/exFAT
sda4 870277118 952195071 81917954 39.1G 5 Extended
sda5 870277120 871325695 1048576 512M b W95 FAT32
sda6 871327744 952195071 80867328 38.6G 83 Linux
Partition table entries are not in disk order.
Disk sdb: 119.08 GiB, 127865454592 bytes, 249737216 sectors
Disk identifier: 0x00000000
Boot Start End Sectors Size Id Type
sdb1 32768 249737215 249704448 119.1G 7 HPFS/NTFS/exFAT
parted -lm (filtered): _________________________________________________________
sda:500GB:scsi:512:512:msdos:ATA Samsung SSD 860:;
1:1049kB:1574MB:1573MB:ntfs::;
2:1574MB:446GB:444GB:ntfs::boot;
4:446GB:488GB:41.9GB:::;
5:446GB:446GB:537MB:fat32::;
6:446GB:488GB:41.4GB:ext4::;
3:488GB:500GB:12.6GB:ntfs::;
sdb:128GB:scsi:512:512:msdos:Generic- Multi-Card:;
1:16.8MB:128GB:128GB:::;
Free space >10MiB: ______________________________________________________________
sdb: 0.00MiB:16.0MiB:16.0MiB
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 ntfs 1C6C4B086C4ADC60 c2d62af5-01 SYSTEM_DRV
├─sda2 ntfs 0A364F05364EF16D c2d62af5-02 Windows7_OS
├─sda3 ntfs 4CCA4CBBCA4CA356 c2d62af5-03 Lenovo_Recovery
├─sda4 c2d62af5-04
├─sda5 vfat CC90-5186 c2d62af5-05
└─sda6 ext4 69d19cc6-3b42-4731-aaf6-bc78afe8d15c c2d62af5-06
sdb
└─sdb1 exfat 282C-1A2A SD Card
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda1 1.1G 24% /mnt/boot-sav/sda1
/dev/sda2 172.3G 58% /media/anne/Windows7_OS
/dev/sda3 11.6G 1% /mnt/boot-sav/sda3
/dev/sda6 26.5G 25% /
/dev/sdb1 72.3G 39% /media/anne/SD Card
Mount options (filtered): ______________________________________________________
/dev/sda1 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda2 ntfs3 rw,nosuid,nodev,relatime,uid=1000,gid=1000,iocharset=utf8
/dev/sda3 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda6 ext4 rw,relatime
/dev/sdb1 exfat rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,iocharset=utf8,errors=remount-ro
====================== sda6/boot/grub/grub.cfg (filtered) ======================
Ubuntu 69d19cc6-3b42-4731-aaf6-bc78afe8d15c
Windows 7 (on sda1) 1C6C4B086C4ADC60
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
========================== sda6/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda6 during curtin installation
/dev/disk/by-uuid/69d19cc6-3b42-4731-aaf6-bc78afe8d15c / ext4 defaults 0 1
# /boot/efi was on /dev/sda5 during curtin installation
/dev/disk/by-uuid/CC90-5186 /boot/efi vfat defaults 0 1
/swap.img none swap sw 0 0
======================= sda6/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=""
==================== sda6: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
421,613319397 = 452,703854592 boot/grub/grub.cfg 1
420,113899231 = 451,093864448 boot/grub/i386-pc/core.img 1
428,511375427 = 460,110585856 boot/vmlinuz 1
428,511375427 = 460,110585856 boot/vmlinuz-6.11.0-26-generic 1
428,511375427 = 460,110585856 boot/vmlinuz.old 1
424,345367432 = 455,637368832 boot/initrd.img 1
424,345367432 = 455,637368832 boot/initrd.img-6.11.0-26-generic 1
424,345367432 = 455,637368832 boot/initrd.img.old 1
===================== sda6: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18133 Sep 11 2024 10_linux
-rwxr-xr-x 1 root root 43202 Sep 11 2024 10_linux_zfs
-rwxr-xr-x 1 root root 14513 Sep 11 2024 20_linux_xen
-rwxr-xr-x 1 root root 786 Sep 11 2024 25_bli
-rwxr-xr-x 1 root root 13120 Sep 11 2024 30_os-prober
-rwxr-xr-x 1 root root 1174 Sep 11 2024 30_uefi-firmware
-rwxr-xr-x 1 root root 722 Dec 5 16:53 35_fwupd
-rwxr-xr-x 1 root root 214 Sep 11 2024 40_custom
-rwxr-xr-x 1 root root 215 Sep 11 2024 41_custom
======================== Unknown MBRs/Boot Sectors/etc =========================
Unknown BootLoader on sdb1
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub2 of
sda6 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 win-legacy-basic-fix
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your BIOS boot on sda (ATA Samsung SSD 860) disk!
Dernière modification par gilles deloustal (Le 04/06/2025, à 19:10)
Je suis en Ubuntu 24.04.2 LTS installé from scratch depuis une clé usb
Lenovo intel core i3-2328Mx4 4Go RAM 500Go SSD
Hors ligne
#2 Le 03/06/2025, à 13:59
- ikewdu
Re : RESOLU dual boot
Salut,
Toujours d'actualité, ce problème ? En tout cas, ton Windows n'a pas été détruit si l'on en croit ce rapport boot-info.
/dev/sda2 172.3G 58% /media/anne/Windows7_OS
Hors ligne
#3 Le 03/06/2025, à 19:22
- gilles deloustal
Re : RESOLU dual boot
Bonjour
Oui mon problème est toutjours d'actualité. Je n'ai toujours pas de dual boot sur windows. Merci pour m'avoir sollicité.
Cordialement
Je suis en Ubuntu 24.04.2 LTS installé from scratch depuis une clé usb
Lenovo intel core i3-2328Mx4 4Go RAM 500Go SSD
Hors ligne
#4 Le 03/06/2025, à 23:59
- ikewdu
Re : RESOLU dual boot
Re,
Le menu GRUB est caché :
======================= sda6/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
Remplace en admin la mention. hidden par menu et mets timeout à 10 avec un éditeur, puis actualise GRUB avec un
sudo update-grub
Et vois si c'est mieux. Note que boot-repair propose la même chose.
Dernière modification par ikewdu (Le 04/06/2025, à 00:06)
Hors ligne
#5 Le 04/06/2025, à 08:27
- iznobe
Re : RESOLU dual boot
Bonjour , tu parles probablement de la partition windobz EFI ?
Ce n' est pas grave si c' est le cas , ca se reconstruit relativement facilement .
ce qui a l' air d ' etre le cas , puisque :
Disks info: ____________________________________________________________________ sda : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, has-win, 2048 sectors * 512 bytes sdb : notGPT, no-BIOSboot, has-noESP, usb-disk, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
Par contre , ton disque sda est en table MSDOS , il a une partition etendue , et il semblerait que la nouvelle partition VFAT que tu as créée serait dans dans cette partition étendue ... ( a faire confirmer ) , je ne sais pas comment ce comporte le systeme dans un tel cas .
De plus , on voit que ton systeme demarre en mode legacy :
===================================== UEFI ===================================== BIOS/UEFI firmware: 80ET61WW (2.01 )(2.1) from LENOVO This installed-session is in Legacy/BIOS/CSM mode (not in EFI mode).
une erreur s'est produite lors de l'installation sans doute du fait que j'avais défini une partition en vfat /boot au lieu de /boot/efi.
si c' est le cas pour windobz et ubuntu ( installés en mode LEGACY ) , alors la partition EFI n' a aucun interet .
Bref , selon que windobz est en mode LEGACY ou EFI , il faut regler le BIOS pour que ce soit toujours le cas , ensuite tu fais en sorte que ubuntu se gere dans le meme mode que windobz et que le reglage de ton BIOS .
Puis tu fais ce que t ' as dis l' intervenant précédent . ca devrait résoudre ton soucis .
Dernière modification par iznobe (Le 04/06/2025, à 08:33)
retour COMPLET et utilisable de commande | script montage partitions
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#6 Le 04/06/2025, à 09:14
- ikewdu
Re : RESOLU dual boot
Re,
En y regardant de plus près, je pense que tu devrais aussi commenter l'avant-dernière ligne de ton fichier fstab qui monte abusivement cette partition fat32 :
========================== sda6/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda6 during curtin installation
/dev/disk/by-uuid/69d19cc6-3b42-4731-aaf6-bc78afe8d15c / ext4 defaults 0 1
# /boot/efi was on /dev/sda5 during curtin installation
/dev/disk/by-uuid/CC90-5186 /boot/efi vfat defaults 0 1
/swap.img none swap sw 0 0
Tu ajoutes un # devant /dev/disk/by-uuid/CC90-5186 /boot/efi vfat defaults 0 1
Hors ligne
#7 Le 04/06/2025, à 10:42
- gilles deloustal
Re : RESOLU dual boot
Bonjour
Je n'ai pas compris ni su que faire avec les indications de iznobe. Désolé
J'ai exécuté boot-repair et cliqué sur "réparation recommandée" sans modifier les options avancées.
L'avant dernière line du fstab a été mise en commentaire par boot-repair.
Concernant le problème efi, si vous le jugez préférable, je pourrais recommencer mon installation from scratch.
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda6 during curtin installation
/dev/disk/by-uuid/69d19cc6-3b42-4731-aaf6-bc78afe8d15c / ext4 defaults 0 1
# /boot/efi was on /dev/sda5 during curtin installation
#/dev/disk/by-uuid/CC90-5186 /boot/efi vfat defaults 0 1
/swap.img none swap sw 0 0
J'ai ainsi pu re-démarrer windows et je m'aperçois que j'ai perdu tous mes dossiers. De plus, à l'arrêt de windows, j'ai le message éphémère
A problem has occured on BitDefender Threat Scanner.
Pour réparer ce problème, je pourrais recopier mes vieilles sauvegardes de sda2 ou sda1 dont je dispose sur sdc. Qu'en pensez-vous ?
boot-repair-4ppa2081 [20250604_1036]
============================== 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 (,msdos6)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk
---------------------------------------------------------------------------
=> Windows is installed in the MBR of /dev/sdc.
sda1: __________________________________________________________________________
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: /bootmgr /Boot/BCD
sda2: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
sda3: __________________________________________________________________________
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:
sda4: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda6: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 24.04.2 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
sdc1: __________________________________________________________________________
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: /bootmgr /Boot/BCD
sdc2: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
sdc3: __________________________________________________________________________
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:
================================ 5 OS detected =================================
OS#1 (linux): L'OS actuellement utilisé - Ubuntu 24.04.2 LTS on sda6
OS#2 (windows): Windows 7 (boot) on sda1
OS#3 (windows): Windows 7 on sda2
OS#4 (windows): Windows 7 (boot) on sdc1
OS#5 (windows): Windows 7 on sdc2
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: Core Processor Integrated Graphics Controller from Intel Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-6.11.0-26-generic root=UUID=69d19cc6-3b42-4731-aaf6-bc78afe8d15c ro quiet splash vt.handoff=7
df -Th / : /dev/sda6 ext4 38G 18G 19G 48% /
===================================== UEFI =====================================
BIOS/UEFI firmware: 80ET61WW (2.01 )(2.1) 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
sdc : notGPT, no-BIOSboot, has-noESP, liveusb, not-mmc, has-os, has-win, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda6 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, end-after-100GB
sda2 : is-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sda5 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sda3 : 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
sdc1 : is-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sdc2 : is-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sdc3 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
Partitions info (2/3): _________________________________________________________
sda6 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ext4
sda2 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, is-winboot, ntfs
sda5 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, vfat
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
sdc1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, bootmgr, is-winboot, ntfs
sdc2 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, is-winboot, ntfs
sdc3 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ntfs
Partitions info (3/3): _________________________________________________________
sda6 : 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
sda5 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sda3 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sda1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sdc1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdc
sdc2 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdc
sdc3 : 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: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 0xc2d62af5
Boot Start End Sectors Size Id Type
sda1 2048 3074047 3072000 1.5G 7 HPFS/NTFS/exFAT
sda2 * 3074048 870275071 867201024 413.5G 7 HPFS/NTFS/exFAT
sda3 952195072 976771071 24576000 11.7G 7 HPFS/NTFS/exFAT
sda4 870277118 952195071 81917954 39.1G 5 Extended
sda5 870277120 871325695 1048576 512M b W95 FAT32
sda6 871327744 952195071 80867328 38.6G 83 Linux
Partition table entries are not in disk order.
Disk sdc: 465.76 GiB, 500107861504 bytes, 976773167 sectors
Disk identifier: 0xc2d62af5
Boot Start End Sectors Size Id Type
sdc1 * 2048 3074047 3072000 1.5G 7 HPFS/NTFS/exFAT
sdc2 3074048 869189631 866115584 413G 7 HPFS/NTFS/exFAT
sdc3 952195072 976771071 24576000 11.7G 7 HPFS/NTFS/exFAT
parted -lm (filtered): _________________________________________________________
sda:500GB:scsi:512:512:msdos:ATA Samsung SSD 860:;
1:1049kB:1574MB:1573MB:ntfs::;
2:1574MB:446GB:444GB:ntfs::boot;
4:446GB:488GB:41.9GB:::;
5:446GB:446GB:537MB:fat32::;
6:446GB:488GB:41.4GB:ext4::;
3:488GB:500GB:12.6GB:ntfs::;
sdc:500GB:scsi:512:512:msdos:Generic External:;
1:1049kB:1574MB:1573MB:ntfs::boot;
2:1574MB:445GB:443GB:ntfs::;
3:488GB:500GB:12.6GB:ntfs::;
Free space >10MiB: ______________________________________________________________
sdc: 424409MiB:464939MiB:40530MiB
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 ntfs 1C6C4B086C4ADC60 c2d62af5-01 SYSTEM_DRV
├─sda2 ntfs 0A364F05364EF16D c2d62af5-02 Windows7_OS
├─sda3 ntfs 4CCA4CBBCA4CA356 c2d62af5-03 Lenovo_Recovery
├─sda4 c2d62af5-04
├─sda5 vfat CC90-5186 c2d62af5-05
└─sda6 ext4 69d19cc6-3b42-4731-aaf6-bc78afe8d15c c2d62af5-06
sdb
sdc
├─sdc1 ntfs 1C6C4B086C4ADC60 c2d62af5-01 SYSTEM_DRV
├─sdc2 ntfs 0A364F05364EF16D c2d62af5-02 Windows7_OS
└─sdc3 ntfs 4CCA4CBBCA4CA356 c2d62af5-03 Lenovo_Recovery
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda1 1.1G 24% /mnt/boot-sav/sda1
/dev/sda2 168.5G 59% /mnt/boot-sav/sda2
/dev/sda3 11.6G 1% /mnt/boot-sav/sda3
/dev/sda5 511M 0% /mnt/boot-sav/sda5
/dev/sda6 18.6G 45% /
/dev/sdc1 1.1G 24% /mnt/boot-sav/sdc1
/dev/sdc2 122.5G 70% /mnt/boot-sav/sdc2
/dev/sdc3 11.6G 1% /mnt/boot-sav/sdc3
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/sda5 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sda6 ext4 rw,relatime
/dev/sdc1 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdc2 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdc3 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
====================== sda6/boot/grub/grub.cfg (filtered) ======================
Ubuntu 69d19cc6-3b42-4731-aaf6-bc78afe8d15c
Windows 7 (on sda1) 1C6C4B086C4ADC60
Windows 7 (on sda2) 0A364F05364EF16D
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
========================== sda6/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda6 during curtin installation
/dev/disk/by-uuid/69d19cc6-3b42-4731-aaf6-bc78afe8d15c / ext4 defaults 0 1
# /boot/efi was on /dev/sda5 during curtin installation
/swap.img none swap sw 0 0
======================= sda6/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false
==================== sda6: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
418,131752014 = 448,965550080 boot/grub/grub.cfg 1
418,131736755 = 448,965533696 boot/grub/i386-pc/core.img 1
428,511375427 = 460,110585856 boot/vmlinuz 1
428,511375427 = 460,110585856 boot/vmlinuz-6.11.0-26-generic 1
428,511375427 = 460,110585856 boot/vmlinuz.old 1
432,106441498 = 463,970758656 boot/initrd.img 2
432,106441498 = 463,970758656 boot/initrd.img-6.11.0-26-generic 2
432,106441498 = 463,970758656 boot/initrd.img.old 2
===================== sda6: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18133 Sep 11 2024 10_linux
-rwxr-xr-x 1 root root 43202 Sep 11 2024 10_linux_zfs
-rwxr-xr-x 1 root root 14513 Sep 11 2024 20_linux_xen
-rwxr-xr-x 1 root root 786 Sep 11 2024 25_bli
-rwxr-xr-x 1 root root 13120 Sep 11 2024 30_os-prober
-rwxr-xr-x 1 root root 1174 Sep 11 2024 30_uefi-firmware
-rwxr-xr-x 1 root root 722 Dec 5 16:53 35_fwupd
-rwxr-xr-x 1 root root 214 Sep 11 2024 40_custom
-rwxr-xr-x 1 root root 215 Sep 11 2024 41_custom
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub2 of
sda6 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
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your BIOS boot on sda (ATA Samsung SSD 860) disk!
Dernière modification par gilles deloustal (Le 04/06/2025, à 10:46)
Je suis en Ubuntu 24.04.2 LTS installé from scratch depuis une clé usb
Lenovo intel core i3-2328Mx4 4Go RAM 500Go SSD
Hors ligne
#8 Le 04/06/2025, à 10:45
- geole
Re : RESOLU dual boot
Bonjour
La partition EFI est vide
sda5: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
Et ubuntu est installé en mode légacy puisqu'il a détecté windows et qu'il n'a pas de structure de boot EFI
====================== sda6/boot/grub/grub.cfg (filtered) ======================
Ubuntu 69d19cc6-3b42-4731-aaf6-bc78afe8d15c
Windows 7 (on sda1) 1C6C4B086C4ADC60
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
Il faut juste bien choisir à l'affichage...
Dernière modification par geole (Le 04/06/2025, à 10:46)
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
Je défie QUICONQUE de trouver une discussion où j'aurais suggéré de remplacer un SSD par un disque dur.
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#9 Le 04/06/2025, à 11:03
- gilles deloustal
Re : RESOLU dual boot
Bonjour
Il faut juste bien choisir à l'affichage...
Je viens de re-démarrer. J'ai bien l'option dual boot et linux ne me demande pas de choisir quoi que ce soit.
Je suis en Ubuntu 24.04.2 LTS installé from scratch depuis une clé usb
Lenovo intel core i3-2328Mx4 4Go RAM 500Go SSD
Hors ligne
#10 Le 04/06/2025, à 11:26
- ikewdu
Re : RESOLU dual boot
Salut,
Au vu de l'espace occupé, c'est surprenant que les données ne soient plus présentes
/dev/sda2 172.3G 58% /media/anne/Windows7_OS
Le système, à ma connaissance, n'occupe pas 172G à lui tout seul.
Pour le reste :
- La partition fat32 créée par l'installation d'Ubuntu ne sert strictement à rien sinon à foutre le bazar (je résume Iznobe). C'est une des âneries de l'installateur depuis la version 24.04. Ça simule une pseudo-installation efi sur un disque ms-dos (ton cas). Perso, sur les disques ms-dos, je conseille de zapper la demande de création de partition efi à l'installation, de n'installer aucun grub, et de laisser faire boot-repair à la fin pour qu'il mette en place les bons fichiers (grub-pc). En agissant ainsi, on n'a jamais de souci.
- Le message bitdeffender est spécifique à Windows... Peut-être en réinstallant l'application. Là, je n'ai pas d'idée.
Dernière modification par ikewdu (Le 04/06/2025, à 11:30)
Hors ligne
#11 Le 04/06/2025, à 12:55
- gilles deloustal
Re : RESOLU dual boot
Je propose d'installer 22.04 from scratch peut-être avec un bon efi cette fois, puis migrer sur 24.04
Qu'en pensez-vous ?
Je suis en Ubuntu 24.04.2 LTS installé from scratch depuis une clé usb
Lenovo intel core i3-2328Mx4 4Go RAM 500Go SSD
Hors ligne
#12 Le 04/06/2025, à 13:18
- ikewdu
Re : RESOLU dual boot
De mon point de vue, c'est une erreur.
Ton Windows étant installé en mode Legacy, il ne bootera probablement pas.
Attends tout de même l'avis d'autres aidants pour te décider.
===========
Edit. Si tu veux de l'Uefi, mieux vaut convertir le disque en gpt, puis réparer Windows pour qu'il boote dans ce mode (W7, pas sûr que ça marche), et réparer Ubuntu pour le mode efi. Même pas besoin de réinstaller.
Dernière modification par ikewdu (Le 04/06/2025, à 13:25)
Hors ligne
#13 Le 04/06/2025, à 14:06
- geole
Re : RESOLU dual boot
De mon point de vue, c'est une erreur.
Ton Windows étant installé en mode Legacy, il ne bootera probablement pas.
Attends tout de même l'avis d'autres aidants pour te décider.
===========
Edit. Si tu veux de l'Uefi, mieux vaut convertir le disque en gpt, puis réparer Windows pour qu'il boote dans ce mode (W7, pas sûr que ça marche), et réparer Ubuntu pour le mode efi. Même pas besoin de réinstaller.
C'est inutile de faire une installation EFI car le grub EFI ne détectera pas windows LEGACY
A ma connaissance, l'outil MBR2GPT n'a pas son équivalent en windows 7 de plus il ne doit y avoir de partitions non windows dans le disque pour que cela fonctionne.
Reste donc en LEGACY et fait visualiser le grub.
Dernière modification par geole (Le 04/06/2025, à 14:15)
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
Je défie QUICONQUE de trouver une discussion où j'aurais suggéré de remplacer un SSD par un disque dur.
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#14 Le 04/06/2025, à 14:26
- ikewdu
Re : RESOLU dual boot
@geole,
Nous sommes donc d'accord. Installer Ubuntu en efi n'est pas une bonne idée.
Petite précision tout de même. Windows 7 est parfaitement capable de fonctionner en mode efi. Asus l'a fait un peu avant la sortie de W8. Quant à une éventuelle conversion de legacy vers uefi, elle ne nécessite pas d'utiliser absolument mbr2gpt. Une conversion de disque via gdisk suivie d'une création des fichiers efi via bcdboot pourrait parfaitement faire l'affaire (c'est même préférable d'ailleurs si on veut quelque chose de propre). Mais j'avoue que si je l'ai fait X fois avec W10, je n'ai jamais tenté ça avec Seven.
J'avais fait une demo W8/Ubuntu ici, mais les captures d'écran ayant sauté, ce n'est plus très lisible.
Dernière modification par ikewdu (Le 04/06/2025, à 14:33)
Hors ligne
#15 Le 04/06/2025, à 15:13
- gilles deloustal
Re : RESOLU dual boot
Si je comprends bien, je suis en mode legacy et je ne change rien sur linux.
Mais quel est l'intérêt de efi. Car j'ai une vieille sauvegarde de windows toute seule sur un disque sur lequel je pourrais installer la 22.4, puis migrer en 24.2
Je suis en Ubuntu 24.04.2 LTS installé from scratch depuis une clé usb
Lenovo intel core i3-2328Mx4 4Go RAM 500Go SSD
Hors ligne
#16 Le 04/06/2025, à 15:22
- geole
Re : RESOLU dual boot
Bonjour
geole a écrit :Il faut juste bien choisir à l'affichage...
Je viens de re-démarrer. J'ai bien l'option dual boot et linux ne me demande pas de choisir quoi que ce soit.
Je ne comprends pas ce que tu expliques, si le grub s'affiche, tu dois avoir un écran te permettant de te positionner sur la seconde ligne car tout me semble correct
Mais tu n'as que 10 secondes pour choisir
====================== sda6/boot/grub/grub.cfg (filtered) ======================
Ubuntu 69d19cc6-3b42-4731-aaf6-bc78afe8d15c
Windows 7 (on sda1) 1C6C4B086C4ADC60
Windows 7 (on sda2) 0A364F05364EF16D
### END /etc/grub.d/30_os-prober ###
======================= sda6/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
Je défie QUICONQUE de trouver une discussion où j'aurais suggéré de remplacer un SSD par un disque dur.
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#17 Le 04/06/2025, à 17:27
- gilles deloustal
Re : RESOLU dual boot
Je n'avais pas compris : oui le grub s'affiche en effet et je peux choisir de démarrer ubuntu ou windows à volonté
Je suis en Ubuntu 24.04.2 LTS installé from scratch depuis une clé usb
Lenovo intel core i3-2328Mx4 4Go RAM 500Go SSD
Hors ligne
#18 Le 04/06/2025, à 18:38
- ikewdu
Re : RESOLU dual boot
Donc, tout va bien. Le reste n'est qu'un problème propre à Windows.
Hors ligne
#19 Le 04/06/2025, à 19:09
- gilles deloustal
Re : RESOLU dual boot
Un grand merci à tous
Je suis en Ubuntu 24.04.2 LTS installé from scratch depuis une clé usb
Lenovo intel core i3-2328Mx4 4Go RAM 500Go SSD
Hors ligne
Pages : 1