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.

#26 Le 11/12/2023, à 15:26

iznobe

Re : [Résolu] Double boot si Ubuntu déjà installé

Bonjour, si la clé apparait 2 fois , c ' est parceque le BIOS n ' est pas reglé pour le mode demarrage EFI exclusif .

Dernière modification par iznobe (Le 11/12/2023, à 15:26)


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

En ligne

#27 Le 11/12/2023, à 16:32

geole

Re : [Résolu] Double boot si Ubuntu déjà installé

Bonjour.
Certains bios ne permettent pas de déactiver totalement le legacy.
Je pense qu'en 2023, il est plus sain de tout avoir en EFI.
Sinon,Tu peux aussi convertir ubuntu en legacy ou installer refind et positionner son option de détection des installations legacy.
A toi de dire clairement ton choix.  Sinon on risque de te conseiller du contradictoire.

Dernière modification par geole (Le 11/12/2023, à 16:35)


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

#28 Le 11/12/2023, à 20:47

Fred69100

Re : [Résolu] Double boot si Ubuntu déjà installé

Je n'avais pas trouvé ce réglage dans le bios. Comme ma clé apparaît deux fois dont une avec la mention EFI, j'ai cru qu'il fallait booter dessus, que c'était ça. Je viens de trouver et de changer le paramtre puis d'installer Windows comme ça. Puis j'ai fait :
sudo os-prober
sudo update-grub
Mais c'est toujours pareil... est-ce que le démarrage rapide peut en être la cause ?

Dernière modification par Fred69100 (Le 11/12/2023, à 20:57)


Kubuntu 22.04 / Plasma : 5.24.7
AMD Ryzen 5 5600X 6-Core
NVIDIA GeForce GTX 1050 Ti
DDR4 32 Go

Hors ligne

#29 Le 11/12/2023, à 21:06

geole

Re : [Résolu] Double boot si Ubuntu déjà installé

le démarrage rapide n'empêche pas la détection mais le montage par ubuntu.
Refais un boot-info.


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

#30 Le 12/12/2023, à 22:15

Fred69100

Re : [Résolu] Double boot si Ubuntu déjà installé

Merci beaucoup pour toute cette aide, tout a est compliqué pour moi. Je suis pas sûr de bien comprendre, pour être honnête... Tout en EFI, ça me paraît bien, c'est vrai.
Le rapport de boot-info :
Résultat de boot-info


Kubuntu 22.04 / Plasma : 5.24.7
AMD Ryzen 5 5600X 6-Core
NVIDIA GeForce GTX 1050 Ti
DDR4 32 Go

Hors ligne

#31 Le 12/12/2023, à 22:39

geole

Re : [Résolu] Double boot si Ubuntu déjà installé

Bonsoir.

===================================== UEFI =====================================
BIOS/UEFI firmware: 3404(5.17) from American Megatrends Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot enabled according to mokutil.

BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0001,0002,0003,0004
Boot0000* ubuntu	HD(1,MBR,0x4bdc68c3,0x800,0x3b9000)/File(\EFI\UBUNTU\SHIMX64.EFI

Il semble donc que ton ordinateur  boote bien en EFI.

================================ 2 OS detected =======s========================
OS#1:   L'OS actuellement utilisé - Ubuntu 22.04.3 LTS on /dev/sdb5
OS#2:   Windows 10 or 11 on /dev/sdc1
======

Windows est bien présent sur le disque SDC.

On voit que le disque SDC n'a pas une table de partition GPT.

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

Je croyais pourtant avoir bien expliqué qu'il en fallait une.

Au point, où on en est, il a cinq solutions possibles.

A) Pour booter windows, tu positionnes le bios en Legacy et tu lui dis de booter en legacy  pour  lancer windows qui est  dans la partition SDC1.
En toute logique, je devrais te dire de choisir SDC mais

> Windows 7/8/10/11/2012 is installed in the MBR of /dev/sda.
 => Windows 7/8/10/11/2012 is installed in the MBR of /dev/sdb.
 => No boot loader is installed in the MBR of /dev/sdc.

Il n'y a pas de structure de boot  legacy dans SDC.
Il y en a dans SDA et SDB. Mais je ne sais pas dire si cela lancera le windows de SDC.
Pour booter ubuntu, tu positionnes le bios pour booter en EFI

B) Tu modifies le bios pour booter en legacy le support d'installation de ubuntu.  Tu fais la réparation recommandée et tu modifies le bios pour booter ubuntu en legacy.

C) Tu installes refind et tu modifies l'une de ses options pour lui dire de détecter les  installations windows faites en legacy,

D) Tu fais ce que je t'ai demandé
Installer windows dans le disque SDC qui a de nouveau une table de partition GPT.
Ce qui est la solution de bon sens.

E) Installer un des O.S. en  mode virtuel.

Remarque, Une chose qui me surprend. il y a deux noms qui font penser à windows dans cette  partition de boot EFI.

sdb1:__________________________________________________________________________
    File system:       vfat
    Boot sector type:  Windows 8/10/11/2012: FAT32
    Boot files:    /bootmgr 
                       /boot/bcd

Dernière modification par geole (Le 12/12/2023, à 23:34)


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

#32 Le 12/12/2023, à 22:43

xubu1957

Re : [Résolu] Double boot si Ubuntu déjà installé

Bonjour,

Collage du Boot-info du #30 :

boot-info-4ppa2061                                              [20231212_2112]

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

 => Windows 7/8/10/11/2012 is installed in the MBR of /dev/sda.
 => Windows 7/8/10/11/2012 is installed in the MBR of /dev/sdb.
 => No boot loader is installed in the MBR of /dev/sdc.

sda1: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/10/11/2012: 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/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi 
                       /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg /bootmgr 
                       /boot/bcd

sdb2: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  Unknown
    Boot sector info: 

sdb5: __________________________________________________________________________

    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

sdc1: __________________________________________________________________________

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


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

OS#1:   L'OS actuellement utilisé - Ubuntu 22.04.3 LTS on /dev/sdb5
OS#2:   Windows 10 or 11 on /dev/sdc1

================================ Host/Hardware =================================

CPU architecture: 64-bit
Video: GP107 [GeForce GTX 1050 Ti] EFI VGA from NVIDIA Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-6.2.0-37-generic root=UUID=43909438-0763-4af7-9f52-51208027d1ed ro quiet splash vt.handoff=7
df -Th / : /dev/sdb5      ext4  108G   18G   85G  17% /

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

BIOS/UEFI firmware: 3404(5.17) from American Megatrends Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot enabled according to mokutil - Veuillez indiquer ce message à boot.repair@gmail.com.
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0001,0002,0003,0004
Boot0000* ubuntu	HD(1,MBR,0x4bdc68c3,0x800,0x3b9000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0001* Hard Drive	BBS(HD,,0x0)..GO..NO........u.K.I.N.G.S.T.O.N. .S.U.V.4.0.0.S.3.7.1.2.0.G....................A.................................>..Gd-.;.A..MQ..L.0.5.2.0.B.6.6.7.9.6.1.0.C.1.8.F. . . . ........BO..NO........u.S.a.m.s.u.n.g. .S.S.D. .8.7.0. .E.V.O. .4.T.B....................A.................................>..Gd-.;.A..MQ..L.7.S.8.5.S.N.W.0.0.A.7.2.9.4. .B. . . . ........BO..NO........u.O.C.Z.-.A.G.I.L.I.T.Y.3....................A.................................>..Gd-.;.A..MQ..L.C.O.-.Z.P.4.J.Z.S.1.5.R.1.3.F.E.5.0.D.K........BO
Boot0002* UEFI:CD/DVD Drive	BBS(129,,0x0)
Boot0003* UEFI:Removable Device	BBS(130,,0x0)
Boot0004* UEFI:Network Device	BBS(131,,0x0)

a9c517741ac31962d7feb152948ad1ee   /dev/sdb1/BOOT/fbx64.efi
a660182adef313615746a665966d2ccc   /dev/sdb1/BOOT/mmx64.efi
a1da253696a304dce6b4668b70151c0e   /dev/sdb1/ubuntu/grubx64.efi
a660182adef313615746a665966d2ccc   /dev/sdb1/ubuntu/mmx64.efi
64349b3622c65f495a99dbf6102496e3   /dev/sdb1/ubuntu/shimx64.efi
64349b3622c65f495a99dbf6102496e3   /dev/sdb1/BOOT/BOOTX64.efi

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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

sdb5	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	end-after-100GB
sdb1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sdc1	: is-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): _________________________________________________________

sdb5	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot
sdc1	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sdb5	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sdb
sdb1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdb
sdc1	: not--sepboot,	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 sda: 3.64 TiB, 4000787030016 bytes, 7814037168 sectors
Disk identifier: 770B8AAE-2130-4869-A0AC-E38686324FEF
     Start        End    Sectors  Size Type
sda1   2048 7814035455 7814033408  3.6T Linux filesystem
Disk sdb: 111.79 GiB, 120034123776 bytes, 234441648 sectors
Disk identifier: 0x4bdc68c3
     Boot   Start       End   Sectors   Size Id Type
sdb1  *       2048   3905535   3903488   1.9G ef EFI (FAT-12/16/32)
sdb2       3907582 234440703 230533122 109.9G  5 Extended
sdb5       3907584 234440703 230533120 109.9G 83 Linux
Disk sdc: 111.79 GiB, 120034123776 bytes, 234441648 sectors
Disk identifier: 0x9d62a67b
     Boot Start       End   Sectors   Size Id Type
sdc1        2048 234438655 234436608 111.8G  7 HPFS/NTFS/exFAT

parted -lm (filtered): _________________________________________________________

sda:4001GB:scsi:512:512:gpt:ATA Samsung SSD 870:;
1:1049kB:4001GB:4001GB:ext4::;
sdb:120GB:scsi:512:4096:msdos:ATA KINGSTON SUV400S:;
1:1049kB:2000MB:1999MB:fat32::boot, esp;
2:2001MB:120GB:118GB:::;
5:2001MB:120GB:118GB:ext4::;
sdc:120GB:scsi:512:512:msdos:ATA OCZ-AGILITY3:;
1:1049kB:120GB:120GB:ntfs::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL PARTLABEL
sda                                                                                             
└─sda1 ext4     bbf2c340-57d8-452e-84e5-9bb645dd6fd8 11594462-486c-475c-b23f-b85ae4ceb771       
sdb                                                                                             
├─sdb1 vfat     946B-D201                            4bdc68c3-01                                
├─sdb2                                               4bdc68c3-02                                
└─sdb5 ext4     43909438-0763-4af7-9f52-51208027d1ed 4bdc68c3-05                                
sdc                                                                                             
└─sdc1 ntfs     D288F6F888F6D9C5                     9d62a67b-01                                

Mount points (filtered): _______________________________________________________

                                Avail Use% Mounted on
/dev/sda1                      934.2G  69% /home
/dev/sdb1                        1.8G   1% /mnt/boot-sav/sdb1
/dev/sdb5                       84.8G  16% /
/dev/sdc1                      102.2G   9% /media/freggy/D288F6F888F6D9C5

Mount options (filtered): ______________________________________________________

/dev/sda1                      ext4        rw,relatime
/dev/sdb1                      vfat        rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sdb5                      ext4        rw,relatime,errors=remount-ro
/dev/sdc1                      ntfs3       rw,nosuid,nodev,relatime,uid=1000,gid=1000,iocharset=utf8,windows_names

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

search.fs_uuid 43909438-0763-4af7-9f52-51208027d1ed root hd1,msdos5 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   43909438-0763-4af7-9f52-51208027d1ed
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sdb5/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdb5 during installation
UUID=43909438-0763-4af7-9f52-51208027d1ed /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sdb1 during installation
UUID=946B-D201  /boot/efi       vfat    umask=0077      0       1
# /home was on /dev/sda1 during installation
UUID=bbf2c340-57d8-452e-84e5-9bb645dd6fd8 /home           ext4    defaults        0       2

======================= sdb5/etc/default/grub (filtered) =======================

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

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

           GiB - GB             File                                 Fragment(s)
  51,654418945 = 55,463510016   boot/grub/grub.cfg                             1
   5,180816650 = 5,562859520    boot/vmlinuz                                   1
  63,290164948 = 67,957297152   boot/vmlinuz-6.2.0-26-generic                  1
   5,180816650 = 5,562859520    boot/vmlinuz-6.2.0-37-generic                  1
  63,290164948 = 67,957297152   boot/vmlinuz.old                               1
  85,238277435 = 91,523903488   boot/initrd.img                                2
  85,332027435 = 91,624566784   boot/initrd.img-6.2.0-26-generic               5
  85,238277435 = 91,523903488   boot/initrd.img-6.2.0-37-generic               2
  85,332027435 = 91,624566784   boot/initrd.img.old                            5

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

-rwxr-xr-x 1 root root 18683 Dec 18  2022 10_linux
-rwxr-xr-x 1 root root 43031 Dec 18  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 18  2022 30_os-prober
-rwxr-xr-x 1 root root  1372 Dec 18  2022 30_uefi-firmware
-rwxr-xr-x 1 root root   700 May 17  2023 35_fwupd
-rwxr-xr-x 1 root root   214 Dec 18  2022 40_custom
-rwxr-xr-x 1 root root   215 Dec 18  2022 41_custom



Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would purge (in order to remove grub-efi) and reinstall the grub2 of
sdb5 into the MBR of sdb.
Grub-efi would not be selected by default because legacy Windows detected.
Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix

Blockers in case of suggested repair: __________________________________________

LegacyWindows detected. Please enable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, and use this software from a live-CD (or live-USB). 

Confirmation request before suggested repair: __________________________________

LegacyWindows detected. The boot of your PC is in EFI mode. You may want to retry after changing it to BIOS-compatibility/CSM/Legacy mode.
Are you sure you want to continue anyway?

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your BIOS boot on sdb (ATA KINGSTON SUV400S) disk!
The boot of your PC is in UEFI mode. You may want to retry after changing it to BIOS-compatibility/CSM/Legacy mode.

==============

 

Celui du #20 :

boot-info-4ppa2058                                              [20231209_1422]

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

 => Windows 7/8/10/11/2012 is installed in the MBR of /dev/sda.
 => Windows 7/8/10/11/2012 is installed in the MBR of /dev/sdb.
 => Windows 7/8/10/11/2012 is installed in the MBR of /dev/sdc.

sda1: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    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/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi 
                       /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg

sdb2: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  Unknown
    Boot sector info: 

sdb5: __________________________________________________________________________

    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

sdc1: __________________________________________________________________________

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

sdc2: __________________________________________________________________________

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


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

OS#1:   Ubuntu 22.04.3 LTS on sdb5
OS#2:   Windows 10 or 11 on sdc1

================================ Host/Hardware =================================

CPU architecture: 64-bit
Video: GP107 [GeForce GTX 1050 Ti] EFI VGA from NVIDIA Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-6.2.0-37-generic root=UUID=43909438-0763-4af7-9f52-51208027d1ed ro quiet splash vt.handoff=7
df -Th / : /dev/sdb5      ext4  108G   15G   88G  14% /

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

BIOS/UEFI firmware: 3404(5.17) 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: 0000
Timeout: 1 seconds
BootOrder: 0000,0001,0002,0003,0004
Boot0000* ubuntu	HD(1,MBR,0x4bdc68c3,0x800,0x3b9000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0001* Hard Drive	BBS(HD,,0x0)..GO..NO........u.K.I.N.G.S.T.O.N. .S.U.V.4.0.0.S.3.7.1.2.0.G....................A.................................>..Gd-.;.A..MQ..L.0.5.2.0.B.6.6.7.9.6.1.0.C.1.8.F. . . . ........BO..NO........u.S.a.m.s.u.n.g. .S.S.D. .8.7.0. .E.V.O. .4.T.B....................A.................................>..Gd-.;.A..MQ..L.7.S.8.5.S.N.W.0.0.A.7.2.9.4. .B. . . . ........BO..NO........u.O.C.Z.-.A.G.I.L.I.T.Y.3....................A.................................>..Gd-.;.A..MQ..L.C.O.-.Z.P.4.J.Z.S.1.5.R.1.3.F.E.5.0.D.K........BO
Boot0002* UEFI:CD/DVD Drive	BBS(129,,0x0)
Boot0003* UEFI:Removable Device	BBS(130,,0x0)
Boot0004* UEFI:Network Device	BBS(131,,0x0)


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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

sdb5	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios
sdb1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sdc2	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sdc1	: is-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios

Partitions info (2/3): _________________________________________________________

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

Partitions info (3/3): _________________________________________________________

sdb5	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sdb
sdb1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdb
sdc2	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdc
sdc1	: not--sepboot,	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 sda: 3.64 TiB, 4000787030016 bytes, 7814037168 sectors
Disk identifier: 770B8AAE-2130-4869-A0AC-E38686324FEF
      Start        End    Sectors  Size Type
sda1   2048 7814035455 7814033408  3.6T Linux filesystem
Disk sdb: 111.79 GiB, 120034123776 bytes, 234441648 sectors
Disk identifier: 0x4bdc68c3
      Boot   Start       End   Sectors   Size Id Type
sdb1  *       2048   3905535   3903488   1.9G ef EFI (FAT-12/16/32)
sdb2       3907582 234440703 230533122 109.9G  5 Extended
sdb5       3907584 234440703 230533120 109.9G 83 Linux
Disk sdc: 111.79 GiB, 120034123776 bytes, 234441648 sectors
Disk identifier: 0xdf323a46
      Boot     Start       End   Sectors   Size Id Type
sdc1            2048 233226239 233224192 111.2G  7 HPFS/NTFS/exFAT
sdc2       233226240 234436607   1210368   591M 27 Hidden NTFS WinRE

parted -lm (filtered): _________________________________________________________

sda:4001GB:scsi:512:512:gpt:ATA Samsung SSD 870:;
1:1049kB:4001GB:4001GB:ext4::;
sdb:120GB:scsi:512:4096:msdos:ATA KINGSTON SUV400S:;
1:1049kB:2000MB:1999MB:fat32::boot, esp;
2:2001MB:120GB:118GB:::;
5:2001MB:120GB:118GB:ext4::;
sdc:120GB:scsi:512:512:msdos:ATA OCZ-AGILITY3:;
1:1049kB:119GB:119GB:ntfs::;
2:119GB:120GB:620MB:ntfs::msftres;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL PARTLABEL
sda                                                                                             
└─sda1 ext4     bbf2c340-57d8-452e-84e5-9bb645dd6fd8 11594462-486c-475c-b23f-b85ae4ceb771       
sdb                                                                                             
├─sdb1 vfat     946B-D201                            4bdc68c3-01                                
├─sdb2                                               4bdc68c3-02                                
└─sdb5 ext4     43909438-0763-4af7-9f52-51208027d1ed 4bdc68c3-05                                
sdc                                                                                             
├─sdc1 ntfs     FEE880D5E8808E19                     df323a46-01                                
└─sdc2 ntfs     48F8105DF8104C16                     df323a46-02                                

Mount points (filtered): _______________________________________________________

                                Avail Use% Mounted on
/dev/sda1                        1.1T  63% /home
/dev/sdb5                       87.8G  13% /
/dev/sdc1                       76.5G  31% /mnt/boot-sav/sdc1
/dev/sdc2                      143.8M  76% /mnt/boot-sav/sdc2

Mount options (filtered): ______________________________________________________


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

search.fs_uuid 43909438-0763-4af7-9f52-51208027d1ed root hd1,msdos5 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   43909438-0763-4af7-9f52-51208027d1ed
Ubuntu, with Linux 6.2.0-37-generic   43909438-0763-4af7-9f52-51208027d1ed
Ubuntu, with Linux 6.2.0-26-generic   43909438-0763-4af7-9f52-51208027d1ed
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sdb5/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdb5 during installation
UUID=43909438-0763-4af7-9f52-51208027d1ed /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sdb1 during installation
UUID=946B-D201  /boot/efi       vfat    umask=0077      0       1
# /home was on /dev/sda1 during installation
UUID=bbf2c340-57d8-452e-84e5-9bb645dd6fd8 /home           ext4    defaults        0       2

======================= sdb5/etc/default/grub (filtered) =======================

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

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

           GiB - GB             File                                 Fragment(s)
  73,417976379 = 78,831951872   boot/grub/grub.cfg                             1
   5,180816650 = 5,562859520    boot/vmlinuz                                   1
  63,290164948 = 67,957297152   boot/vmlinuz-6.2.0-26-generic                  1
   5,180816650 = 5,562859520    boot/vmlinuz-6.2.0-37-generic                  1
  63,290164948 = 67,957297152   boot/vmlinuz.old                               1
  85,238277435 = 91,523903488   boot/initrd.img                                2
  85,332027435 = 91,624566784   boot/initrd.img-6.2.0-26-generic               5
  85,238277435 = 91,523903488   boot/initrd.img-6.2.0-37-generic               2
  85,332027435 = 91,624566784   boot/initrd.img.old                            5

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

-rwxr-xr-x 1 root root 18683 Dec 18  2022 10_linux
-rwxr-xr-x 1 root root 43031 Dec 18  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 18  2022 30_os-prober
-rwxr-xr-x 1 root root  1372 Dec 18  2022 30_uefi-firmware
-rwxr-xr-x 1 root root   700 May 17  2023 35_fwupd
-rwxr-xr-x 1 root root   214 Dec 18  2022 40_custom
-rwxr-xr-x 1 root root   215 Dec 18  2022 41_custom

======================== Unknown MBRs/Boot Sectors/etc =========================

Unknown BootLoader on sdb2




Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would purge (in order to remove grub-efi) and reinstall the grub2 of
sdb5 into the MBR of sdb.
Grub-efi would not be selected by default because legacy Windows detected.
Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix

Blockers in case of suggested repair: __________________________________________

LegacyWindows detected. Please enable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, and use this software from a live-CD (or live-USB). 

Confirmation request before suggested repair: __________________________________

LegacyWindows detected. The boot of your PC is in EFI mode. You may want to retry after changing it to BIOS-compatibility/CSM/Legacy mode.
Are you sure you want to continue anyway?

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your BIOS boot on sdb (ATA KINGSTON SUV400S) disk!
The boot of your PC is in UEFI mode. You may want to retry after changing it to BIOS-compatibility/CSM/Legacy mode

Dernière modification par xubu1957 (Le 15/12/2023, à 09:59)


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] 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

#33 Le 15/12/2023, à 09:53

Fred69100

Re : [Résolu] Double boot si Ubuntu déjà installé

Bonjour,
Un immense merci pour toute cette aide.
Il me semblait pourtant bien avoir choisi une table de partition GPT... ça a peut-être été changé pendant l'installation de Windows (il refusait d'installer sur cette partitition, alors l'outil de Windows a supprimé et re-créé).
J'ai eu (et j'ai encore) quelques jours compliqués sur d'autres plans et je me suis un peu découragé (malgré ces super explications, ça reste difficile pour moi, sûrement en partie parce que je ne maîtrise pas bien les réglages de mon bios).
Je vais tenter à nouveau dès que possible.


Kubuntu 22.04 / Plasma : 5.24.7
AMD Ryzen 5 5600X 6-Core
NVIDIA GeForce GTX 1050 Ti
DDR4 32 Go

Hors ligne

#34 Le 15/12/2023, à 10:05

iznobe

Re : [Résolu] Double boot si Ubuntu déjà installé

Fred69100 a écrit :

Il me semblait pourtant bien avoir choisi une table de partition GPT... ça a peut-être été changé pendant l'installation de Windows (il refusait d'installer sur cette partitition, alors l'outil de Windows a supprimé et re-créé).

Bonjour,

il te faut lancer ubuntu , puis gparted ( l' installer si il ne l' est pas encore ) .
Dans gparted , tu selectionnes le disque C .

tu regardes dans le menu de gparted , afin de creer une table de partition GPT , y auras un avertissement , tu valides , puis tu appliques les changements ( toujours dans le menu de gparted ) .
si tout se passe bien , tu quittes gparted sans creer de partition sur le disque  C .

Tu redemarres de façon a installer windobz sur ton disque SDC . il n ' y a aucune raison qu ' il ne veuille pas s ' installer .

Dernière modification par iznobe (Le 15/12/2023, à 10:07)


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

En ligne

#35 Le 01/01/2024, à 17:03

Fred69100

Re : [Résolu] Double boot si Ubuntu déjà installé

Bonjour,
Un très grand merci pour ces réponses. J'ai (ré)essayé la D proposée par geole. Je ne sais pas ce que j'ai fait de travers la fois précédente, mais ça a marché. Je peux booter sur Windows en allant dans le bios, par contre je n'ai pas le menu de GRUB pour choisir quel OS lancer. Si quelqu'un sait comment l'avoir, ça m'intéresse, mais ça n'est pas grave sinon : j'utilise très peu Windows et je peux changer la séquence de boot provisoirement pour l'utiliser.


Kubuntu 22.04 / Plasma : 5.24.7
AMD Ryzen 5 5600X 6-Core
NVIDIA GeForce GTX 1050 Ti
DDR4 32 Go

Hors ligne

#36 Le 02/01/2024, à 11:04

geole

Re : [Résolu] Double boot si Ubuntu déjà installé

Bonjour.
Pourrais-tu refaire un nouveau boot-info afin de voir comment la proposition standard de boot-repair se présente.


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

#37 Le 02/01/2024, à 15:11

Fred69100

Re : [Résolu] Double boot si Ubuntu déjà installé

Voici le rapport en ligne généré par Boot-info :
Rapport


Kubuntu 22.04 / Plasma : 5.24.7
AMD Ryzen 5 5600X 6-Core
NVIDIA GeForce GTX 1050 Ti
DDR4 32 Go

Hors ligne

#38 Le 02/01/2024, à 15:35

nany

Re : [Résolu] Double boot si Ubuntu déjà installé

Bonjour et bonne année,



Fred69100 a écrit :

Je peux booter sur Windows en allant dans le bios, par contre je n'ai pas le menu de GRUB pour choisir quel OS lancer. Si quelqu'un sait comment l'avoir, ça m'intéresse,

Passe cette commande :

grep -n "DISABLE_OS_PROBER" /etc/default/grub && sudo sed -i 's/^#GRUB_DISABLE_OS_PROBER/GRUB_DISABLE_OS_PROBER/' /etc/default/grub || sudo sed -i '/GRUB_CMDLINE_LINUX=/a\GRUB_DISABLE_OS_PROBER=false' /etc/default/grub

Puis donne le retour de :

sudo update-grub

Hors ligne

#39 Le 02/01/2024, à 15:47

nany

Re : [Résolu] Double boot si Ubuntu déjà installé

Collage du rapport boot-info pour la pérennité :

boot-info-4ppa2075                                              [20240102_1409]

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

 => Windows 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.

sda1: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    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/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi 
                       /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg /bootmgr 
                       /boot/bcd

sdb2: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  Unknown
    Boot sector info: 

sdb5: __________________________________________________________________________

    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/refind_linux.conf

sdc1: __________________________________________________________________________

    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


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

OS#1:   L'OS actuellement utilisé - Ubuntu 22.04.3 LTS on sdb5
OS#2:   Windows 10 or 11 on sdc1

================================ Host/Hardware =================================

CPU architecture: 64-bit
Video: GP107 [GeForce GTX 1050 Ti] EFI VGA from NVIDIA Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-6.2.0-39-generic root=UUID=43909438-0763-4af7-9f52-51208027d1ed ro quiet splash
df -Th / : /dev/sdb5      ext4  108G   19G   84G  18% /

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

BIOS/UEFI firmware: 3404(5.17) 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: 0000
Timeout: 1 seconds
BootOrder: 0000,0001,0002,0003,0004
Boot0000* ubuntu	HD(1,MBR,0x4bdc68c3,0x800,0x3b9000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0001* Hard Drive	BBS(HD,,0x0)..GO..NO........u.K.I.N.G.S.T.O.N. .S.U.V.4.0.0.S.3.7.1.2.0.G....................A.................................>..Gd-.;.A..MQ..L.0.5.2.0.B.6.6.7.9.6.1.0.C.1.8.F. . . . ........BO..NO........u.S.a.m.s.u.n.g. .S.S.D. .8.7.0. .E.V.O. .4.T.B....................A.................................>..Gd-.;.A..MQ..L.7.S.8.5.S.N.W.0.0.A.7.2.9.4. .B. . . . ........BO..NO........u.O.C.Z.-.A.G.I.L.I.T.Y.3....................A.................................>..Gd-.;.A..MQ..L.C.O.-.Z.P.4.J.Z.S.1.5.R.1.3.F.E.5.0.D.K........BO
Boot0002* UEFI:CD/DVD Drive	BBS(129,,0x0)
Boot0003* UEFI:Removable Device	BBS(130,,0x0)
Boot0004* UEFI:Network Device	BBS(131,,0x0)

a9c517741ac31962d7feb152948ad1ee   sdb1/BOOT/fbx64.efi
a660182adef313615746a665966d2ccc   sdb1/BOOT/mmx64.efi
a1da253696a304dce6b4668b70151c0e   sdb1/ubuntu/grubx64.efi
a660182adef313615746a665966d2ccc   sdb1/ubuntu/mmx64.efi
64349b3622c65f495a99dbf6102496e3   sdb1/ubuntu/shimx64.efi
64349b3622c65f495a99dbf6102496e3   sdb1/BOOT/BOOTX64.efi

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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

sdb5	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	end-after-100GB
sdb1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sdc1	: is-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): _________________________________________________________

sdb5	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot
sdc1	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sdb5	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sdb
sdb1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdb
sdc1	: not--sepboot,	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 sda: 3.64 TiB, 4000787030016 bytes, 7814037168 sectors
Disk identifier: 770B8AAE-2130-4869-A0AC-E38686324FEF
     Start        End    Sectors  Size Type
sda1   2048 7814035455 7814033408  3.6T Linux filesystem
Disk sdb: 111.79 GiB, 120034123776 bytes, 234441648 sectors
Disk identifier: 0x4bdc68c3
     Boot   Start       End   Sectors   Size Id Type
sdb1  *       2048   3905535   3903488   1.9G ef EFI (FAT-12/16/32)
sdb2       3907582 234440703 230533122 109.9G  5 Extended
sdb5       3907584 234440703 230533120 109.9G 83 Linux
Disk sdc: 111.79 GiB, 120034123776 bytes, 234441648 sectors
Disk identifier: 0xfa8b9814
     Boot Start       End   Sectors   Size Id Type
sdc1        2048 234438655 234436608 111.8G  7 HPFS/NTFS/exFAT

parted -lm (filtered): _________________________________________________________

sda:4001GB:scsi:512:512:gpt:ATA Samsung SSD 870:;
1:1049kB:4001GB:4001GB:ext4::;
sdb:120GB:scsi:512:4096:msdos:ATA KINGSTON SUV400S:;
1:1049kB:2000MB:1999MB:fat32::boot, esp;
2:2001MB:120GB:118GB:::;
5:2001MB:120GB:118GB:ext4::;
sdc:120GB:scsi:512:512:msdos:ATA OCZ-AGILITY3:;
1:1049kB:120GB:120GB:ntfs::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL PARTLABEL
sda                                                                                             
└─sda1 ext4     bbf2c340-57d8-452e-84e5-9bb645dd6fd8 11594462-486c-475c-b23f-b85ae4ceb771       
sdb                                                                                             
├─sdb1 vfat     946B-D201                            4bdc68c3-01                                
├─sdb2                                               4bdc68c3-02                                
└─sdb5 ext4     43909438-0763-4af7-9f52-51208027d1ed 4bdc68c3-05                                
sdc                                                                                             
└─sdc1 ntfs     82B27C7CB27C768F                     fa8b9814-01                                

Mount points (filtered): _______________________________________________________

                                                                      Avail Use% Mounted on
/dev/sda1                                                              1.8T  45% /home
/dev/sdb1                                                              1.8G   1% /mnt/boot-sav/sdb1
/dev/sdb5                                                               84G  17% /
/dev/sdc1                                                             64.5G  42% /media/freggy/82B27C7CB27C768F

Mount options (filtered): ______________________________________________________

/dev/sda1                                                             ext4                                                                       rw,relatime
/dev/sdb1                                                             vfat                                                                       rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sdb5                                                             ext4                                                                       rw,relatime,errors=remount-ro
/dev/sdc1                                                             ntfs3                                                                      rw,nosuid,nodev,relatime,uid=1000,gid=1000,iocharset=utf8,windows_names

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

search.fs_uuid 43909438-0763-4af7-9f52-51208027d1ed root hd1,msdos5 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   43909438-0763-4af7-9f52-51208027d1ed
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sdb5/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdb5 during installation
UUID=43909438-0763-4af7-9f52-51208027d1ed /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sdb1 during installation
UUID=946B-D201  /boot/efi       vfat    umask=0077      0       1
# /home was on /dev/sda1 during installation
UUID=bbf2c340-57d8-452e-84e5-9bb645dd6fd8 /home           ext4    defaults        0       2

======================= sdb5/etc/default/grub (filtered) =======================

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

==================== sdb5/boot/refind_linux.conf (filtered) ====================

"Boot with standard options"  "root=UUID=43909438-0763-4af7-9f52-51208027d1ed ro quiet splash vt.handoff=7"
"Boot to single-user mode"    "root=UUID=43909438-0763-4af7-9f52-51208027d1ed ro quiet splash vt.handoff=7 single"
"Boot with minimal options"   "ro root=UUID=43909438-0763-4af7-9f52-51208027d1ed"

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

           GiB - GB             File                                 Fragment(s)
  75,490348816 = 81,057144832   boot/grub/grub.cfg                             1
  75,001129150 = 80,531849216   boot/vmlinuz                                   1
   5,180816650 = 5,562859520    boot/vmlinuz-6.2.0-37-generic                  1
  75,001129150 = 80,531849216   boot/vmlinuz-6.2.0-39-generic                  1
   5,180816650 = 5,562859520    boot/vmlinuz.old                               1
  74,343738556 = 79,825981440   boot/initrd.img                                1
  85,238277435 = 91,523903488   boot/initrd.img-6.2.0-37-generic               2
  74,343738556 = 79,825981440   boot/initrd.img-6.2.0-39-generic               1
  85,238277435 = 91,523903488   boot/initrd.img.old                            2

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

-rwxr-xr-x 1 root root 18683 Dec 18  2022 10_linux
-rwxr-xr-x 1 root root 43031 Dec 18  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 18  2022 30_os-prober
-rwxr-xr-x 1 root root  1372 Dec 18  2022 30_uefi-firmware
-rwxr-xr-x 1 root root   700 May 17  2023 35_fwupd
-rwxr-xr-x 1 root root   214 Dec 18  2022 40_custom
-rwxr-xr-x 1 root root   215 Dec 18  2022 41_custom



Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would purge (in order to remove grub-efi) and reinstall the grub2 of
sdb5 into the MBR of sdb.
Grub-efi would not be selected by default because legacy Windows detected.
Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix

Blockers in case of suggested repair: __________________________________________

LegacyWindows detected. Please enable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, and use this software from a live-CD (or live-USB). 

Confirmation request before suggested repair: __________________________________

LegacyWindows detected. The boot of your PC is in EFI mode. You may want to retry after changing it to BIOS-compatibility/CSM/Legacy mode.
Are you sure you want to continue anyway?

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your BIOS boot on sdb (ATA KINGSTON SUV400S) disk!
The boot of your PC is in UEFI mode. You may want to retry after changing it to BIOS-compatibility/CSM/Legacy mode.

On peut y voir une trace de rEFInd :

==================== sdb5/boot/refind_linux.conf (filtered) ====================

"Boot with standard options"  "root=UUID=43909438-0763-4af7-9f52-51208027d1ed ro quiet splash vt.handoff=7"
"Boot to single-user mode"    "root=UUID=43909438-0763-4af7-9f52-51208027d1ed ro quiet splash vt.handoff=7 single"
"Boot with minimal options"   "ro root=UUID=43909438-0763-4af7-9f52-51208027d1ed"

Donc ce n’est pas sûr que ma proposition ci-dessus soit d’une quelconque utilité.

Hors ligne

#40 Le 02/01/2024, à 16:03

geole

Re : [Résolu] Double boot si Ubuntu déjà installé

Ubuntu boote en EFI et windows en legacy.
Tu as quatre solutions
-Booter avec refind et mettre le parametre de détection des O.S.Legacy.
-Booter avec windows puis installer MBR2GPT  afin de le transformer en EFI.
=> https://learn.microsoft.com/fr-fr/windo … mbr-to-gpt 
======> Un exemple
Puis après boot-repair réparation recommandée ou solution nany.
-Déactiver EFI, Booter avec boot-repair en legacy et reparer ubuntu.
-Rester en l'état

Extraits du boot-info

The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
sdc	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	has-win,	2048 sectors * 512 bytes
OS#2:   Windows 10 or 11 on sdc1
Disk sdc: 111.79 GiB, 120034123776 bytes, 234441648 sectors
Disk identifier: 0xfa8b9814
     Boot Start       End   Sectors   Size Id Type
sdc1        2048 234438655 234436608 111.8G  7 HPFS/NTFS/exFAT

Dernière modification par geole (Le 02/01/2024, à 17:57)


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

#41 Le 02/01/2024, à 16:30

nany

Re : [Résolu] Double boot si Ubuntu déjà installé

geole a écrit :

Ubuntu boote en EFI et windows en legacy.

En effet, j’aurais dû lire attentivement le rapport avant de poster. hmm

La suggestion de réparation est d’ailleurs de passer en LEGACY :

Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would purge (in order to remove grub-efi) and reinstall the grub2 of
sdb5 into the MBR of sdb.
Grub-efi would not be selected by default because legacy Windows detected.

Mais je trouve ta proposition que tu as mise en gras plus séduisante.

Hors ligne

#42 Le 03/01/2024, à 15:37

Fred69100

Re : [Résolu] Double boot si Ubuntu déjà installé

Bonjour,
MBR2GPT me répond "Disk layout validation failed for disk 2". Je ne vais pas embêter tout le monde avec un problème windows, du coup, je peux essayer de voir ça ailleurs.


Kubuntu 22.04 / Plasma : 5.24.7
AMD Ryzen 5 5600X 6-Core
NVIDIA GeForce GTX 1050 Ti
DDR4 32 Go

Hors ligne

#43 Le 03/01/2024, à 16:39

geole

Re : [Résolu] Double boot si Ubuntu déjà installé

Bonjour.
Tu pourrais installer de nouveau, le boot refind puis valider le paramètre de détection des O.S, legacy.

Dernière modification par geole (Le 03/01/2024, à 16:42)


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

#44 Le 04/01/2024, à 13:55

Fred69100

Re : [Résolu] Double boot si Ubuntu déjà installé

Bonjour,
Je l'ai installé, mais je ne suis pas doué, je ne trouve pas ce paramètre et il n'y a donc qu'Ubuntu...


Kubuntu 22.04 / Plasma : 5.24.7
AMD Ryzen 5 5600X 6-Core
NVIDIA GeForce GTX 1050 Ti
DDR4 32 Go

Hors ligne

#45 Le 04/01/2024, à 14:11

geole

Re : [Résolu] Double boot si Ubuntu déjà installé

Bonjour.
Je cible ce paramètre.
uefi_deep_legacy_scan
Dans le fichier /boot/efi/EFI/refind/refind.conf


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

#46 Le 04/01/2024, à 14:25

Fred69100

Re : [Résolu] Double boot si Ubuntu déjà installé

Merci, je n'ai pas réussi à ouvrir ce dossier (et le fichier), je me doutais que ça devait être là... Il est verrouillé et je ne peux lancer ni Dolphin ni Kate en root, je ne sais pas comment m'y prendre pour l'ouvrir.


Kubuntu 22.04 / Plasma : 5.24.7
AMD Ryzen 5 5600X 6-Core
NVIDIA GeForce GTX 1050 Ti
DDR4 32 Go

Hors ligne

#47 Le 04/01/2024, à 15:09

geole

Re : [Résolu] Double boot si Ubuntu déjà installé

sudo nano  ....... ou la seconde ligne de ma signature.

Dernière modification par geole (Le 04/01/2024, à 15:10)


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

#48 Le 04/01/2024, à 16:14

Fred69100

Re : [Résolu] Double boot si Ubuntu déjà installé

J'ai eu un message d'erreur en utilisant la deuxième possibilité (j'avais du mal avec nano) : Could'nt share file :///boot/efi/EFI/refinf.conf
En validant, il s'est ouvert avec Libreoffice. Je l'ai modifié (j'en ai profité pour réduire le timeout) et j'ai enregistré en refusant odt pour prendre en txt.
Au redémarrage, rien de changé. Quand je retourne dans le fichier, les mofifications sont pourtant bien là...

Dernière modification par Fred69100 (Le 04/01/2024, à 16:16)


Kubuntu 22.04 / Plasma : 5.24.7
AMD Ryzen 5 5600X 6-Core
NVIDIA GeForce GTX 1050 Ti
DDR4 32 Go

Hors ligne

#49 Le 04/01/2024, à 18:07

geole

Re : [Résolu] Double boot si Ubuntu déjà installé

Restent deux possibilités
A) Modifier le bios pour ne plus booter en EFI et lancer boot-repair pour installer le boot ubuntu dans le MBR (réparation recommandée)
B) Lancer gparted et fabriquer une table de partition GPT  dans le disque de windos et réiunstaller windows. Il sera sera EFI


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

#50 Le 13/01/2024, à 13:25

Fred69100

Re : [Résolu] Double boot si Ubuntu déjà installé

Bonjour,
Merci pour tout ça. Il y a beaucoup d'éléments pouvant servir à tout le monde, je le note donc comme résolu.


Kubuntu 22.04 / Plasma : 5.24.7
AMD Ryzen 5 5600X 6-Core
NVIDIA GeForce GTX 1050 Ti
DDR4 32 Go

Hors ligne