Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 15/11/2020, à 18:49

malbo

[Résolu] Réinstall propre de Win10 sans casser Ubuntu 20.04

Je fais cet essai dans une machine virtuelle (VirtualBox) suite à cette discussion : https://forum.ubuntu-fr.org/viewtopic.php?id=2058145
Mon but est d'avoir une solution "sur étagère" à proposer à un novice si le cas se représente. J'ai mis "Résolu" au début de mon titre parce que je ne demande pas d'aide. 

1) État de départ :
Boot-info réalisé depuis une session du Ubuntu 20.04 installé (ne pas tenir compte de sdb, ni de sdb1) :

boot-info-4ppa125                                              [20201115_1312]

============================== Boot Info Summary ===============================

 => No boot loader is installed in the MBR of /dev/sda.
 => No boot loader is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/2012: 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/Microsoft/Boot/memtest.efi

sda2: __________________________________________________________________________

    File system:       
    Boot sector type:  -
    Boot sector info: 

sda3: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 10
    Boot files:        /Windows/System32/winload.exe

sda4: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 20.04.1 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub

sdb1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        


================================ 2 OS detected =================================

OS#1:   L'OS actuellement utilisé - Ubuntu 20.04.1 LTS CurrentSession on sda4
OS#2:   Windows 10 on sda3

============================ Architecture/Host Info ============================

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-53-generic root=UUID=b5afe1f3-1b56-4d38-abe5-2395ffcd5aaa ro quiet splash vt.handoff=7


===================================== UEFI =====================================

BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.

efibootmgr -v
BootCurrent: 0001
BootOrder: 0006,0005,0004,0000,0001,0002,0003
Boot0000* EFI DVD/CDROM	PciRoot(0x0)/Pci(0xd,0x0)/Sata(1,0,0)
Boot0001* EFI Hard Drive	PciRoot(0x0)/Pci(0xd,0x0)/Sata(0,0,0)
Boot0002* EFI Hard Drive 1	PciRoot(0x0)/Pci(0xd,0x0)/Sata(2,0,0)
Boot0003* EFI Internal Shell	MemoryMapped(11,0x2100000,0x28fffff)/FvFile(7c04a583-9e3e-4f1c-ad65-e05268d0b4d1)
Boot0004* OS on hard drive	HD(1,GPT,6b936e07-6179-4a9d-8f47-5fb8b4be700c,0x800,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)
Boot0005* Windows Boot Manager	HD(1,GPT,6b936e07-6179-4a9d-8f47-5fb8b4be700c,0x800,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...a................
Boot0006* ubuntu	HD(1,GPT,6b936e07-6179-4a9d-8f47-5fb8b4be700c,0x800,0x32000)/File(\EFI\ubuntu\shimx64.efi)

78415fb8fb9b909f8029858113f1335f   sda1/Boot/bootx64.efi
2895d47544fd587b26c7e29be1295c27   sda1/Boot/fbx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   sda1/Boot/mmx64.efi
d8b4b9ae3018b1f4612611be7f42507a   sda1/ubuntu/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   sda1/ubuntu/mmx64.efi
78415fb8fb9b909f8029858113f1335f   sda1/ubuntu/shimx64.efi
e69be5ddc7c4165e0f3e5ee05d267ec2   sda1/Microsoft/Boot/bootmgfw.efi
5a0ceb06ab09d5c2be36b38bcb33617f   sda1/Microsoft/Boot/bootmgr.efi


============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________

sda	: is-GPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes
sdb	: is-GPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, no-os,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda4	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	not-far
sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda3	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sdb1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far

Partitions info (2/3): _________________________________________________________

sda4	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda3	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sda4	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sda1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda3	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sdb1	: maybesepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb

fdisk -l (filtered): ___________________________________________________________

Disk sda: 70.2 GiB, 75369676800 bytes, 147206400 sectors
Disk identifier: C8A6757F-8E2C-433B-9443-908C14024B22
          Start       End   Sectors  Size Type
sda1       2048    206847    204800  100M EFI System
sda2     206848    239615     32768   16M Microsoft reserved
sda3     239616 103564765 103325150 49.3G Microsoft basic data
sda4  103567360 146141183  42573824 20.3G Linux filesystem
Disk sdb: 40.58 GiB, 43552735232 bytes, 85063936 sectors
Disk identifier: F1F26032-8293-4FA3-9DD7-26B596A08F7A
      Start      End  Sectors  Size Type
sdb1   2048 85063679 85061632 40.6G Linux filesystem

parted -lm (filtered): _________________________________________________________

sda:75.4GB:scsi:512:512:gpt:ATA VBOX HARDDISK:;
1:1049kB:106MB:105MB:fat32:EFI system partition:boot, esp;
2:106MB:123MB:16.8MB::Microsoft reserved partition:msftres;
3:123MB:53.0GB:52.9GB:ntfs:Basic data partition:msftdata;
4:53.0GB:74.8GB:21.8GB:ext4::;
sdb:43.6GB:scsi:512:512:gpt:ATA VBOX HARDDISK:;
1:1049kB:43.6GB:43.6GB:ext4::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL           PARTLABEL
sda                                                                                                       
├─sda1 vfat     EC3F-70FA                            6b936e07-6179-4a9d-8f47-5fb8b4be700c                 EFI system partition
├─sda2                                               075ee5f4-d3c8-4fc0-a300-d43fa5cb0f6b                 Microsoft reserved partition
├─sda3 ntfs     2E7A4CDA7A4CA107                     4763b382-7b29-4bb0-bf04-bc964a69151d                 Basic data partition
└─sda4 ext4     b5afe1f3-1b56-4d38-abe5-2395ffcd5aaa 9cf72085-0ea9-4018-9034-bf670c5466c9                 
sdb                                                                                                       
└─sdb1 ext4     e400e99e-a76f-42a8-a120-d454ddcee09d 3d269221-7246-40cc-afbd-e2cc9caf91a4 clone_W10_focal 

df (filtered): _________________________________________________________________

       Avail Use% Mounted on
sda3      34G  31% /mnt/boot-sav/sda3
sda4      12G  35% /
sdb1    17.6G  50% /mnt/boot-sav/sdb1

Mount options: __________________________________________________________________

sda3   rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda4   rw,relatime,errors=remount-ro
sdb1   rw,relatime

===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================

search.fs_uuid b5afe1f3-1b56-4d38-abe5-2395ffcd5aaa root hd0,gpt4 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

====================== sda4/boot/grub/grub.cfg (filtered) ======================

Ubuntu   b5afe1f3-1b56-4d38-abe5-2395ffcd5aaa
Ubuntu, avec Linux 5.4.0-53-generic   b5afe1f3-1b56-4d38-abe5-2395ffcd5aaa
Ubuntu, avec Linux 5.4.0-42-generic   b5afe1f3-1b56-4d38-abe5-2395ffcd5aaa
Windows Boot Manager (sur sda1)   osprober-efi-EC3F-70FA
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sda4/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=b5afe1f3-1b56-4d38-abe5-2395ffcd5aaa /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=EC3F-70FA  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

======================= sda4/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=""

==================== sda4: Location of files loaded by Grub ====================

           GiB - GB             File                                 Fragment(s)
  54,338119507 = 58,345111552   boot/grub/grub.cfg                             1
  55,067516327 = 59,128295424   boot/vmlinuz                                   1
  53,143558502 = 57,062461440   boot/vmlinuz-5.4.0-42-generic                  2
  55,067516327 = 59,128295424   boot/vmlinuz-5.4.0-53-generic                  1
  53,143558502 = 57,062461440   boot/vmlinuz.old                               2
  51,095413208 = 54,863282176   boot/initrd.img                                5
  51,142261505 = 54,913585152   boot/initrd.img-5.4.0-42-generic               3
  51,095413208 = 54,863282176   boot/initrd.img-5.4.0-53-generic               5
  51,142261505 = 54,913585152   boot/initrd.img.old                            3

===================== sda4: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 17622 oct.   1 17:19 10_linux
-rwxr-xr-x 1 root root 42359 oct.   1 17:19 10_linux_zfs
-rwxr-xr-x 1 root root 12894 juil. 31 02:34 20_linux_xen
-rwxr-xr-x 1 root root 12059 juil. 31 02:34 30_os-prober
-rwxr-xr-x 1 root root  1424 juil. 31 02:34 30_uefi-firmware
-rwxr-xr-x 1 root root   214 juil. 31 02:34 40_custom
-rwxr-xr-x 1 root root   216 juil. 31 02:34 41_custom


Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of
sda4,
using the following options:        sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix use-standard-efi-file    

Final advice in case of suggested repair: ______________________________________


Please do not forget to make your UEFI firmware boot on the L'OS actuellement utilisé - Ubuntu 20.04.1 LTS CurrentSession entry (sda1/efi/****/shim****.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\****\shim****.efi (**** will be updated in the final message)


2) Installation de Windows 10 :

A noter : c'est le fichier ISO de la version Windows 10 2020 que j'utilise. Et c'est "Windows 10 famille" (EDIT : après install, dans les informations système, je peux lire : "Édition : Windows 10 Famille ; version : 2004" )

1605458914.png
Sélection de la partition système de Windows, clic sur formatage. Message d'avertissement "cette partition peut contenir des applications ou fichiers importants fournis par le fabricant de votre ordinateur. Si vous formatez cette partition, les données stockées sur celles-ci seront perdues" :
1605459030.png
Mais formater, c'est ce que je veux sinon l'installateur va stocker l'install actuelle dans un fichier Windows.old et je ne veux pas de ça. Je veux un Win10 tout neuf et tout propre, sans traces du passé. Je poursuis l'installation (j'en mentionne quelques péripéties dans le post #2).

3) Etat final :

Boot-info depuis une session du Ubuntu 20.04 installé :

boot-info-4ppa125                                              [20201115_1705]

============================== Boot Info Summary ===============================

 => No boot loader is installed in the MBR of /dev/sda.
 => No boot loader is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/2012: 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/Microsoft/Boot/memtest.efi

sda2: __________________________________________________________________________

    File system:       
    Boot sector type:  -
    Boot sector info: 

sda3: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 8 or 10
    Boot files:        /Windows/System32/winload.exe

sda4: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 20.04.1 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub

sdb1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        


================================ 2 OS detected =================================

OS#1:   L'OS actuellement utilisé - Ubuntu 20.04.1 LTS CurrentSession on sda4
OS#2:   Windows 8 or 10 on sda3

============================ Architecture/Host Info ============================

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-53-generic root=UUID=b5afe1f3-1b56-4d38-abe5-2395ffcd5aaa ro quiet splash vt.handoff=7


===================================== UEFI =====================================

BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.

efibootmgr -v
BootCurrent: 0004
BootOrder: 0004,0005,0000,0001,0002,0003
Boot0000* EFI DVD/CDROM	PciRoot(0x0)/Pci(0xd,0x0)/Sata(1,0,0)
Boot0001* EFI Hard Drive	PciRoot(0x0)/Pci(0xd,0x0)/Sata(0,0,0)
Boot0002* EFI Hard Drive 1	PciRoot(0x0)/Pci(0xd,0x0)/Sata(2,0,0)
Boot0003* EFI Internal Shell	MemoryMapped(11,0x2100000,0x28fffff)/FvFile(7c04a583-9e3e-4f1c-ad65-e05268d0b4d1)
Boot0004* ubuntu	HD(1,GPT,6b936e07-6179-4a9d-8f47-5fb8b4be700c,0x800,0x32000)/File(\EFI\ubuntu\shimx64.efi)
Boot0005* Windows Boot Manager	HD(1,GPT,6b936e07-6179-4a9d-8f47-5fb8b4be700c,0x800,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...a................

78415fb8fb9b909f8029858113f1335f   sda1/Boot/bootx64.efi
2895d47544fd587b26c7e29be1295c27   sda1/Boot/fbx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   sda1/Boot/mmx64.efi
d8b4b9ae3018b1f4612611be7f42507a   sda1/ubuntu/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   sda1/ubuntu/mmx64.efi
78415fb8fb9b909f8029858113f1335f   sda1/ubuntu/shimx64.efi
e69be5ddc7c4165e0f3e5ee05d267ec2   sda1/Microsoft/Boot/bootmgfw.efi
5a0ceb06ab09d5c2be36b38bcb33617f   sda1/Microsoft/Boot/bootmgr.efi


============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________

sda	: is-GPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes
sdb	: is-GPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, no-os,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda4	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	not-far
sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda3	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sdb1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far

Partitions info (2/3): _________________________________________________________

sda4	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda3	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sda4	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sda1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda3	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sdb1	: maybesepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb

fdisk -l (filtered): ___________________________________________________________

Disk sda: 70.2 GiB, 75369676800 bytes, 147206400 sectors
Disk identifier: C8A6757F-8E2C-433B-9443-908C14024B22
          Start       End   Sectors  Size Type
sda1       2048    206847    204800  100M EFI System
sda2     206848    239615     32768   16M Microsoft reserved
sda3     239616 103564765 103325150 49.3G Microsoft basic data
sda4  103567360 146141183  42573824 20.3G Linux filesystem
Disk sdb: 40.58 GiB, 43552735232 bytes, 85063936 sectors
Disk identifier: F1F26032-8293-4FA3-9DD7-26B596A08F7A
      Start      End  Sectors  Size Type
sdb1   2048 85063679 85061632 40.6G Linux filesystem

parted -lm (filtered): _________________________________________________________

sda:75.4GB:scsi:512:512:gpt:ATA VBOX HARDDISK:;
1:1049kB:106MB:105MB:fat32:EFI system partition:boot, esp;
2:106MB:123MB:16.8MB::Microsoft reserved partition:msftres;
3:123MB:53.0GB:52.9GB:ntfs:Basic data partition:msftdata;
4:53.0GB:74.8GB:21.8GB:ext4::;
sdb:43.6GB:scsi:512:512:gpt:ATA VBOX HARDDISK:;
1:1049kB:43.6GB:43.6GB:ext4::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL           PARTLABEL
sda                                                                                                       
├─sda1 vfat     EC3F-70FA                            6b936e07-6179-4a9d-8f47-5fb8b4be700c                 EFI system partition
├─sda2                                               075ee5f4-d3c8-4fc0-a300-d43fa5cb0f6b                 Microsoft reserved partition
├─sda3 ntfs     EED4AD50D4AD1BB9                     4763b382-7b29-4bb0-bf04-bc964a69151d                 Basic data partition
└─sda4 ext4     b5afe1f3-1b56-4d38-abe5-2395ffcd5aaa 9cf72085-0ea9-4018-9034-bf670c5466c9                 
sdb                                                                                                       
└─sdb1 ext4     e400e99e-a76f-42a8-a120-d454ddcee09d 3d269221-7246-40cc-afbd-e2cc9caf91a4 clone_W10_focal 

df (filtered): _________________________________________________________________

       Avail Use% Mounted on
sda3    38.9G  21% /mnt/boot-sav/sda3
sda4      12G  35% /
sdb1    17.6G  50% /mnt/boot-sav/sdb1

Mount options: __________________________________________________________________

sda3   rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda4   rw,relatime,errors=remount-ro
sdb1   rw,relatime

===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================

search.fs_uuid b5afe1f3-1b56-4d38-abe5-2395ffcd5aaa root hd0,gpt4 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

====================== sda4/boot/grub/grub.cfg (filtered) ======================

Ubuntu   b5afe1f3-1b56-4d38-abe5-2395ffcd5aaa
Ubuntu, avec Linux 5.4.0-53-generic   b5afe1f3-1b56-4d38-abe5-2395ffcd5aaa
Ubuntu, avec Linux 5.4.0-42-generic   b5afe1f3-1b56-4d38-abe5-2395ffcd5aaa
Windows Boot Manager (sur sda1)   osprober-efi-EC3F-70FA
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sda4/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=b5afe1f3-1b56-4d38-abe5-2395ffcd5aaa /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=EC3F-70FA  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

======================= sda4/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=""

==================== sda4: Location of files loaded by Grub ====================

           GiB - GB             File                                 Fragment(s)
  54,338119507 = 58,345111552   boot/grub/grub.cfg                             1
  55,067516327 = 59,128295424   boot/vmlinuz                                   1
  53,143558502 = 57,062461440   boot/vmlinuz-5.4.0-42-generic                  2
  55,067516327 = 59,128295424   boot/vmlinuz-5.4.0-53-generic                  1
  53,143558502 = 57,062461440   boot/vmlinuz.old                               2
  51,095413208 = 54,863282176   boot/initrd.img                                5
  51,142261505 = 54,913585152   boot/initrd.img-5.4.0-42-generic               3
  51,095413208 = 54,863282176   boot/initrd.img-5.4.0-53-generic               5
  51,142261505 = 54,913585152   boot/initrd.img.old                            3

===================== sda4: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 17622 oct.   1 17:19 10_linux
-rwxr-xr-x 1 root root 42359 oct.   1 17:19 10_linux_zfs
-rwxr-xr-x 1 root root 12894 juil. 31 02:34 20_linux_xen
-rwxr-xr-x 1 root root 12059 juil. 31 02:34 30_os-prober
-rwxr-xr-x 1 root root  1424 juil. 31 02:34 30_uefi-firmware
-rwxr-xr-x 1 root root   214 juil. 31 02:34 40_custom
-rwxr-xr-x 1 root root   216 juil. 31 02:34 41_custom


Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of
sda4,
using the following options:        sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix use-standard-efi-file    

Final advice in case of suggested repair: ______________________________________


Please do not forget to make your UEFI firmware boot on the L'OS actuellement utilisé - Ubuntu 20.04.1 LTS CurrentSession entry (sda1/efi/****/shim****.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\****\shim****.efi (**** will be updated in the final message)

Par comparaison entre le Boot-info initial et final, on peut voir que seule la partition système de Win10 (sda3) a changé d'UUID, ce qui est normal puisque j'ai demandé le formatage pendant l'installation de Win10. Par contre, les autres partitions ont conservé leur taille et leur UUID.
On peut noter que le taux d'ocupation de la partition sda3 est passé de 31% à 21% mais c'est seulement parce que la nouvelle install de Windows est toute propre, pas encore mise à jour.

Dernière modification par malbo (Le 17/11/2020, à 09:28)

Hors ligne

#2 Le 15/11/2020, à 21:41

malbo

Re : [Résolu] Réinstall propre de Win10 sans casser Ubuntu 20.04

En complément de mon post #1, je vais détailler quelques étapes parce que j'en ai bavé pour installer Win10.
Déjà, cette version 2020 de Win10 veut absolument qu'on crée un compte Windows vers la fin de l'iinstall. Moi je n'en veux pas : la solution que j'ai pompée sur la toile, c'est de désactiver (*) la connexion internet (dans VirtualBox) et de cliquer sur "Créer un compte" :
1605469664.png
Après ça, l'installateur - constatant qu'il n'y a pas d'internet - arrête de faire chier avec ça et consent à créer un compte "simple" (et non pas un compte Windows).

Autre problème : OOBESETTINGSMULTIPAGE
1605469923.png
J'ai eu ça vers la fin de l'installation et j'étais bloqué là. Alors je me suis appuyé sur cette page du site malekal.com sauf que je l'ai interprétée à ma sauce :
1605470226.png1605470285.png1605470317.png
Sur la 3ème capture, je tape "msoobe" et je valide par Entrée.Après ça, j'ai eu un "veuillez patienter" pendant plus d'une demi-heure. Comme ça n'en finissait pas, j'ai arrêté la machine virtuelle (arrêt de sauvage) et je l'ai redémarrée. En fait, l'install de Win10 était faite et fonctionnelle. Il y a eu juste une petite phase merdique au redémarrage, probablement due au fait que j'ai interrompu brutalement l'installation :
1605470760.png1605470826.png1605470884.png
C'est à dire que la fenêtre de connexion de session est positionnée sur "defaultuser0" (je ne sais pas ce que c'est). Je dois cliquer sur "malbo" en bas à gauche pour parvenir à ouvrir une session sur mon compte. 

(*) moi j'ai laissé activé la connexion jusqu'à ce que j'arrive à cette étape. C'est seulement quand c'est arrivé à "Ajoutez votre compte" que j'ai coupé internet. Après création du compte "simple", j'ai remis internet.

Dernière modification par malbo (Le 19/04/2021, à 08:37)

Hors ligne