#26 Le 01/08/2025, à 22:35
- Wiizard-Ubuntu
Re : [RESOLU] Clonage disque W11 depuis Kubuntu
Je continue mes tests...
Avec une clef bootable Win 11 je lance la commande dos et je suis les propositions de ce site pour reconstruire le boot EFI de windows. Je n'ai plus l'écran bleu, Windows semble vouloir se lancer mais je finis au bout de 2 sec sur un écran noir et rien ne se passe (ma souris perd même son alimentation).
J'ai relancé un boot-repair en mode "réparation recommandée" et je retrouve mon écran bleu. Par contre dans le log il y a un truc qui me chagrine, il me dit que Windows est installé dans le MBR de /dev/sdb (qui est un disque Ext4 de données).
J'ai donc supprimé la partition Windows (nvme0n1p3) et relancé un boot-repair. Voici le log :
boot-repair-4ppa2081 [20250801_2202]
============================= Boot Repair Summary ==============================
modprobe: FATAL: Module efivars not found in directory /lib/modules/6.8.0-71-generic
Recommended repair: ____________________________________________________________
The default repair of the Boot-Repair utility will reinstall the grub-efi of
nvme0n1p2,
using the following options: nvme0n1p1/boot/efi
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups
rm /boot/efi/efi/Boot/bootx64.efi
mv /boot/efi/efi/Boot/bkpbootx64.efi /boot/efi/efi/Boot/bootx64.efi
/dev/nvme0n1p2/boot/efi not empty
=================== Reinstall the grub-efi of /dev/nvme0n1p2 ===================
grub-install --version
grub-install (GRUB) 2.12-1ubuntu7.3
modprobe: FATAL: Module efivars not found in directory /lib/modules/6.8.0-71-generic
modprobe efivars
efibootmgr -v (filtered) before grub install
BootCurrent: 0002
Timeout: 1 seconds
BootOrder: 0002,0000,0001,0003,0004
Boot0000* Windows Boot Manager HD(1,GPT,d15551bd-19ab-4325-a4f4-631e3d3d02d4,0x800,0x100000)/File(EFIMICROSOFTBOOTBOOTMGFW.EFI)57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000061000100000010000000040000007fff0400
Boot0001* UEFI:CD/DVD Drive BBS(129,,0x0)
Boot0002* Ubuntu HD(1,GPT,d15551bd-19ab-4325-a4f4-631e3d3d02d4,0x800,0x100000)/File(EFIUBUNTUSHIMX64.EFI)
Boot0003* UEFI:Removable Device BBS(130,,0x0)
Boot0004* UEFI:Network Device BBS(131,,0x0)
uname -r
6.8.0-71-generic
grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
Installation finished. No error reported.
df /dev/nvme0n1p1
mv /boot/efi/EFI/Boot/bootx64.efi /boot/efi/EFI/Boot/bkpbootx64.efi
cp /boot/efi/efi/ubuntu/grubx64.efi /boot/efi/EFI/Boot/bootx64.efi
grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
Installation finished. No error reported.
efibootmgr -v (filtered) after grub install
BootCurrent: 0002
Timeout: 1 seconds
BootOrder: 0002,0000,0001,0003,0004
Boot0000* Windows Boot Manager HD(1,GPT,d15551bd-19ab-4325-a4f4-631e3d3d02d4,0x800,0x100000)/File(EFIMICROSOFTBOOTBOOTMGFW.EFI)57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000061000100000010000000040000007fff0400
Boot0001* UEFI:CD/DVD Drive BBS(129,,0x0)
Boot0002* Ubuntu HD(1,GPT,d15551bd-19ab-4325-a4f4-631e3d3d02d4,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0003* UEFI:Removable Device BBS(130,,0x0)
Boot0004* UEFI:Network Device BBS(131,,0x0)
update-grub
Sourcing file `/etc/default/grub'
Found linux image: /boot/vmlinuz-6.8.0-71-generic
Found initrd image: /boot/initrd.img-6.8.0-71-generic
Found linux image: /boot/vmlinuz-6.8.0-64-generic
Found initrd image: /boot/initrd.img-6.8.0-64-generic
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
Unhide GRUB boot menu in nvme0n1p2/boot/grub/grub.cfg
Le démarrage de l'ordinateur a été correctement réparé.
Vous pouvez maintenant redémarrer votre ordinateur.
N'oubliez pas de faire démarrer votre firmware UEFI sur l'entrée L'OS actuellement utilisé - Ubuntu 24.04.2 LTS (fichier nvme0n1p1/efi/ubuntu/grubx64.efi) !
============================ Boot Info After Repair ============================
=> No boot loader is installed in the MBR of /dev/nvme0n1.
=> libparted MBR boot code is installed in the MBR of /dev/sda.
=> Windows is installed in the MBR of /dev/sdb.
=> No boot loader is installed in the MBR of /dev/sdc.
nvme0n1p1: _____________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/BOOT/bkpbootx64.efi /efi/BOOT/bootx64.efi
/efi/BOOT/fbx64.efi /efi/BOOT/mmx64.efi
/efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi
/efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg
/efi/Microsoft/Boot/bootmgfw.efi
/efi/Microsoft/Boot/bootmgr.efi
/efi/Microsoft/Boot/SecureBootRecovery.efi /bootmgr
/boot/bcd
nvme0n1p2: _____________________________________________________________________
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
sda1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdb1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdc1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
================================ 1 OS detected =================================
OS#1 (linux): L'OS actuellement utilisé - Ubuntu 24.04.2 LTS on nvme0n1p2
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: CoffeeLake-S GT2 [UHD Graphics 630] from Intel Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-6.8.0-71-generic root=UUID=8e3ce5fe-e4d6-43d0-969f-6a287be70d78 ro quiet splash vt.handoff=7
df -Th / : /dev/nvme0n1p2 ext4 576G 183G 364G 34% /
===================================== UEFI =====================================
BIOS/UEFI firmware: 1101(5.13) from American Megatrends Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0002
Timeout: 1 seconds
BootOrder: 0002,0000,0001,0003,0004
Boot0000* Windows Boot Manager HD(1,GPT,d15551bd-19ab-4325-a4f4-631e3d3d02d4,0x800,0x100000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000061000100000010000000040000007fff0400
Boot0001* UEFI:CD/DVD Drive BBS(129,,0x0)
Boot0002* Ubuntu HD(1,GPT,d15551bd-19ab-4325-a4f4-631e3d3d02d4,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot0003* UEFI:Removable Device BBS(130,,0x0)
Boot0004* UEFI:Network Device BBS(131,,0x0)
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
nvme0n1 : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
sdb : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
sdc : is-GPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
sda : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
nvme0n1p2 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, end-after-100GB
nvme0n1p1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sdb1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sdc1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sda1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
Partitions info (2/3): _________________________________________________________
nvme0n1p2 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ext4
nvme0n1p1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, bootmgr, is-winboot, vfat
sdb1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ext4
sdc1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ext4
sda1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ext4
Partitions info (3/3): _________________________________________________________
nvme0n1p2 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, nvme0n1
nvme0n1p1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, nvme0n1
sdb1 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sdc1 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdc
sda1 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk nvme0n1: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk identifier: 2F1E32C7-4279-4029-B19E-8037E00F9869
Start End Sectors Size Type
nvme0n1p1 2048 1050623 1048576 512M EFI System
nvme0n1p2 1050624 1229850623 1228800000 585.9G Linux filesystem
Disk sda: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk identifier: 0xaa6aa753
Boot Start End Sectors Size Id Type
sda1 2048 3907028991 3907026944 1.8T 83 Linux
Disk sdb: 1.82 TiB, 2000000000512 bytes, 3906250001 sectors
Disk identifier: 0x4e506310
Boot Start End Sectors Size Id Type
sdb1 2048 3906248703 3906246656 1.8T 83 Linux
Disk sdc: 2.73 TiB, 3000592982016 bytes, 5860533168 sectors
Disk identifier: A99E909E-6F40-46E5-8A2A-DC9B6CC7E5D8
Start End Sectors Size Type
sdc1 2048 5860532223 5860530176 2.7T Linux filesystem
parted -lm (filtered): _________________________________________________________
sda:2000GB:scsi:512:4096:msdos:ATA ST2000DM008-2FR1:;
1:1049kB:2000GB:2000GB:ext4::;
sdb:2000GB:scsi:512:4096:msdos:ATA WDC WD20EFRX-68E:;
1:1049kB:2000GB:2000GB:ext4::;
sdc:3001GB:scsi:512:4096:gpt:ATA WDC WD30EFRX-68N:;
1:1049kB:3001GB:3001GB:ext4::;
nvme0n1:2000GB:nvme:512:512:gpt:Corsair MP600 ELITE:;
1:1049kB:538MB:537MB:fat32::boot, esp;
2:538MB:630GB:629GB:ext4::;
Free space >10MiB: ______________________________________________________________
nvme0n1: 600513MiB:1907729MiB:1307216MiB
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
└─sda1 ext4 a632664d-3c12-4f3f-86d5-5a4e833204a5 aa6aa753-01 Data
sdb
└─sdb1 ext4 08f9e153-e91f-4506-9cdc-607069e49cb6 4e506310-01 Data_Bckp
sdc
└─sdc1 ext4 d48843ee-7440-4157-af04-43ffa1de7c1d 32b7a682-6701-4c8a-8454-43b872aaa6be Pensine
sdd
sde
sdf
sdg
nvme0n1
├─nvme0n1p1 vfat 1C70-82F3 d15551bd-19ab-4325-a4f4-631e3d3d02d4
├─nvme0n1p2 ext4 8e3ce5fe-e4d6-43d0-969f-6a287be70d78 c193488b-db8a-4c8a-87f1-d926fba49e82 Kubuntu
└─nvme0n1p3
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/nvme0n1p2 363.5G 32% /
/dev/sda1 1T 38% /media/usul/Data
/dev/sdb1 1009.8G 40% /media/usul/Data_Bckp
/dev/sdc1 785.6G 66% /media/usul/Pensine
efivarfs 107.4K 41% /sys/firmware/efi/efivars
Mount options (filtered): ______________________________________________________
/dev/nvme0n1p2 ext4 rw,relatime,errors=remount-ro
/dev/sda1 ext4 rw,relatime
/dev/sdb1 ext4 rw,relatime
/dev/sdc1 ext4 rw,relatime
=================== nvme0n1p1/efi/ubuntu/grub.cfg (filtered) ===================
search.fs_uuid 8e3ce5fe-e4d6-43d0-969f-6a287be70d78 root
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
=================== nvme0n1p2/boot/grub/grub.cfg (filtered) ====================
Ubuntu 8e3ce5fe-e4d6-43d0-969f-6a287be70d78
Windows Boot Manager (on nvme0n1p1) osprober-efi-1C70-82F3
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
======================== nvme0n1p2/etc/fstab (filtered) ========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/nvme0n1p2 during installation
UUID=8e3ce5fe-e4d6-43d0-969f-6a287be70d78 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=1C70-82F3 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
UUID=a632664d-3c12-4f3f-86d5-5a4e833204a5 /media/usul/Data ext4 defaults,nofail 0 2
UUID=08f9e153-e91f-4506-9cdc-607069e49cb6 /media/usul/Data_Bckp ext4 defaults,nofail 0 2
UUID=d48843ee-7440-4157-af04-43ffa1de7c1d /media/usul/Pensine ext4 defaults,nofail 0 2
==================== nvme0n1p2/etc/default/grub (filtered) =====================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false
================= nvme0n1p2: Location of files loaded by Grub ==================
GiB - GB File Fragment(s)
4,635734558 = 4,977582080 boot/grub/grub.cfg 1
203,304012299 = 218,296020992 boot/vmlinuz 1
98,093074799 = 105,326637056 boot/vmlinuz-6.8.0-64-generic 1
203,304012299 = 218,296020992 boot/vmlinuz-6.8.0-71-generic 1
98,093074799 = 105,326637056 boot/vmlinuz.old 1
202,313472748 = 217,232437248 boot/initrd.img 4
221,993160248 = 238,363340800 boot/initrd.img-6.8.0-64-generic 9
202,313472748 = 217,232437248 boot/initrd.img-6.8.0-71-generic 4
221,993160248 = 238,363340800 boot/initrd.img.old 9
=================== nvme0n1p2: 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 Dec 2 2022 40_custom
-rwxr-xr-x 1 root root 215 Dec 2 2022 41_custom
Selon la ligne 71, il trouve encore une trace de Windows Boot Manager (y a-t-il un moyen de l'effacer si je n'ai plus de Windows ??).
Selon la ligne 85, il trouve une trace de libparted MBR boot dans /dev/sda, c'est quoi ce truc là ?
Selon la ligne 86, il trouve que Windows est encore installé dans le MBR de /dev/sdb...
j'ai peut-être loupé d'autres trucs
J'imagine qu'il pourrait donc être intéressant de réinitialiser le MBR de sda et sdb. Cela peut se faire sans effacer les données ? Peut-être est-il possible de transformer la table msdos en gpt (est-ce préférable aujourd'hui ? est-ce possible sans effacer les données ?). Bref, j'ai des recherches à faire...
Autre solution que je pourrai essayer de mettre en oeuvre (demain ?) : recréer une partition ntfs sur mon nvme, y installer Windows à l'arrache et voir si Windows boot correctement. Si oui, je remets Grub en boot par défaut et je vérifie que Windows continue de bien se lancer. Et enfin je recopie la partition de mon Win11 sur ce Win fraichement installé en croisant les doigts pour qu'il continue de se lancer.
Hors ligne
#27 Le 01/08/2025, à 22:49
- Wiizard-Ubuntu
Re : [RESOLU] Clonage disque W11 depuis Kubuntu
Dernières vérifications pour ce soir :
sudo gdisk /dev/nvme0n1p1
GPT fdisk (gdisk) version 1.0.10
Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: not present
***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory. THIS OPERATION IS POTENTIALLY DESTRUCTIVE! Exit by
typing 'q' if you don't want to convert your MBR partitions
to GPT format!
***************************************************************
Sachant que j'ai créé une table de partition GPT pour nvme0n1 avant d'y copier mes partitions, c'est normal qu'il trouve un MBR ? Dois-je le convertir en GPT comme proposé ?
sudo gdisk /dev/nvme0n1p2
GPT fdisk (gdisk) version 1.0.10
Partition table scan:
MBR: not present
BSD: not present
APM: not present
GPT: not present
Creating new GPT entries in memory.
Là je suis surpris de voir qu'il ne détecte pas de GPT...
sudo gdisk /dev/sda1
[sudo] Mot de passe de usul :
GPT fdisk (gdisk) version 1.0.10
Partition table scan:
MBR: not present
BSD: not present
APM: not present
GPT: not present
Creating new GPT entries in memory.
Normalement sda est en table de partition msdos donc je devrai trouver un MBR ?
sudo gdisk /dev/sdb1
GPT fdisk (gdisk) version 1.0.10
Partition table scan:
MBR: not present
BSD: not present
APM: not present
GPT: not present
Creating new GPT entries in memory.
Idem pour sdb.
sudo gdisk /dev/sdc1
GPT fdisk (gdisk) version 1.0.10
Partition table scan:
MBR: not present
BSD: not present
APM: not present
GPT: not present
Creating new GPT entries in memory.
sdc a une table de partition GPT, mais elle n'est pas détectée...
Hors ligne
#28 Le 01/08/2025, à 22:57
- ylag
Re : [RESOLU] Clonage disque W11 depuis Kubuntu
Bonsoir,
La commande gdisk devrait s'utiliser sur un périphérique bloc, pas une partition ...
sudo gdisk /dev/nvme0n1
sudo gdisk /dev/sdb
sudo gdisk /dev/sdc
Dernière modification par ylag (Le 01/08/2025, à 22:59)
Hors ligne
#29 Le 01/08/2025, à 23:21
- geole
Re : [RESOLU] Clonage disque W11 depuis Kubuntu
Bonsoir
Extrait de ton boot-info du message 17
Disks info: ____________________________________________________________________
nvme0n1 : is-GPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, has-win, 2048 sectors * 512 bytes
sdb : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
sdc : is-GPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
sda : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
D'autre part, comme le boot actuel est en EFI, oublie ce qui se passait au 20e siècle (Le MBR)
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#30 Le 02/08/2025, à 09:37
- Wiizard-Ubuntu
Re : [RESOLU] Clonage disque W11 depuis Kubuntu
La commande gdisk devrait s'utiliser sur un périphérique bloc, pas une partition ...
Ah oui, merci bien, sda et sdb sont donc bien MBR et sdc en GPT mais MBR protective
sudo gdisk /dev/sdc
GPT fdisk (gdisk) version 1.0.10
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
D'autre part, comme le boot actuel est en EFI, oublie ce qui se passait au 20e siècle (Le MBR)
Ça c'est sûr que je ferai gaffe la prochaine fois que je créerai un disque à le mettre en GPT ! Ma question est : dois-je convertir mes disques MBR en GPT et si oui, dois-je prévoir une copie de mes données avant ou c'est safe ? Le fait que boot-repair trouve un Windows dans le MBR de sdb me pose réellement question. Mais tu voulais peut-être dire que comme je boot en UEFI le MBR, même présent, n'est pas pris en compte ?
Hors ligne
#31 Le 02/08/2025, à 10:02
- geole
Re : [RESOLU] Clonage disque W11 depuis Kubuntu
Bonjour
Avant de répondre à tes questions
Comme windows ne boote pas, je suis retourné voir ton premier boot-info.
On y voit
nvme0n1p1: _____________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/BOOT/fbx64.efi /efi/BOOT/mmx64.efi
.......
/efi/Microsoft/Boot/bootmgfw.efi
/efi/Microsoft/Boot/bootmgr.efi
/efi/Microsoft/Boot/SecureBootRecovery.efi
================================ 2 OS detected =================================
OS#1 (linux): L'OS actuellement utilisé - Ubuntu 24.04.2 LTS on nvme0n1p2
OS#2 (windows): Windows 10 or 11 on sdd1
===================================== UEFI =====================================
.....
BootOrder: 0002,0000,0001,0003,0004
Boot0000* Windows Boot Manager HD(1,GPT,b8aec9f9-7f29-41de-9771-ead64e9af707,0x800,0x100000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000065000100000010000000040000007fff0400
Boot0001* UEFI:CD/DVD Drive BBS(129,,0x0)
Boot0002* Ubuntu HD(1,GPT,b8aec9f9-7f29-41de-9771-ead64e9af707,0x800,0x100000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Je ne suis pas allé plus loin pour dire qu'il y avait un dual-boot. Je suis parti du principe qu'il fonctionnait
Comme déjà dit, les clones doivent dupliquer sans changer les UUID. Ce qui fait que cela reboote bien après déplacement
D'ailleurs, tu n'as pas eu de problèmes pour ubuntu
Comme cela fonctionne pas, en regardant de plus près,
sdd1: __________________________________________________________________________
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: /Windows/System32/winload.exe
sdd : is-GPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, has-win, 2048 sectors * 512 bytes
Je trouve que ce disque a quelques anomalies
1) Pas de partition MSR, (déjà signalé)
2) habituellement, la partition de boot EFI est créée par windows dans le même disque. Ce n'est pas le cas chez toi; Mais peut-etre as-tu dupliqué la partition de boot EFI dans le NVME puis supprimé cette partition, ainsi que la partition MSR et agrandi le C: avec un outil du commerce, Toi seul le sait.
Mon avis. Tente une réparation avec le support de boot windows.
Le boot-info est capable de regarder le passé!
=> libparted MBR boot code is installed in the MBR of /dev/sda.
=> Windows is installed in the MBR of /dev/sdb.
Ce qui veut dire qu'a un moment donné, SDA a été réparé pour installer une structure de boot standard LEGACY ( ubuntu?) et SDB une structure de boot d'un windows légacy. Mais ce n'est plus le cas.
Si tu modifies ton bios pour le passer en legacy; ces deux disques seront incapable de booter car plus de fichier de boot!
sda1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdb1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
La conversion MS-DOS => GPT est inutile. Si tu la fais, elle est sans danger et rapide. Elle permettra de supprimer la trace des vieux boots et de créer une table de partition de deux exemplaires. Ce qui peut se révéler utile. Elle nécessitera un reboot pour prise en compte.
sudo sgdisk -g /dev/sda
sudo sgdisk -g /dev/sdb
Je suis surpris que tu ne sauvegardes pas régulièrement les données de tes disques.
Dernière modification par geole (Le 02/08/2025, à 10:23)
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#32 Le 02/08/2025, à 11:56
- Wiizard-Ubuntu
Re : [RESOLU] Clonage disque W11 depuis Kubuntu
Les choses avancent et sont presque résolues !
J'ai lancé l'installation de Windows sur mon nvme et dès le partitionnement il me crée automatiquement une partition MSR (merci geole tu m'en avais parlé mais j'avais finit par zapper cette info vu que cette partition n'existait nulle part sur mes disques, je ne sais pas comment j'ai fait pour la faire sauter sans que ça n'empêche le lancement de Windows). J'ai alors cloné on ancien Windows sur la partition NTFS créée par l'installeur et ça boot !
Par contre, en sortie de Grub j'arrive à un écran bleu qui me demande de choisir quel Windows 11 je veux lancer. Le premier est indiqué "sur le volume 8" et il fonctionne, pour le second rien n'est indiqué et il ne fonctionne pas. Ce doit être le fameux Windows 11 sur /dev/sdb... qui est aussi reconnu par l'installateur windows ? Reste plus qu'à trouver comment dégager cette bizarrerie et on sera bon !
Hors ligne
#33 Le 02/08/2025, à 12:07
- Wiizard-Ubuntu
Re : [RESOLU] Clonage disque W11 depuis Kubuntu
Je suis surpris que tu ne sauvegardes pas régulièrement les données de tes disques
Si si je sauvegarde mes données, je me suis déjà fait avoir une fois par un défaut matériel de mon disque principal... Mon sdb est une copie en temps réel de mon sda (via freefilesync). Mais je ne sais pas comment tout ça va se comporter, du genre si je foire la conversion du sda, je crains que cela ne se répercute sur sdb et donc entraîne une perte de mes données. Si je me lance je pense donc désactiver la synchro puis convertir sdb et si tout est ok convertir ensuite sda. Enfin si tout est bien passé, je remettrai la synchro en fonction (j'en profiterai peut-être pour passer par rclone que j'ai appris à utiliser entre temps).
Hors ligne
#34 Le 02/08/2025, à 12:17
- Wiizard-Ubuntu
Re : [RESOLU] Clonage disque W11 depuis Kubuntu
Allez, je marque résolu car j'ai trouvé comment supprimer mon ancien système Windows, tout simplement depuis Windows "msconfig" !
Un grand merci en tout cas de m'avoir suivi, épaulé et aidé malgré mes nombreuses relances !
Hors ligne