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 06/03/2025, à 20:41

droopy

Dual Boot windows 11 / xubuntu 24-04 L, démarre uniquement sur win11 !

Bonsoir,

J'ai du installer un win11 sur un PC DELL OptiPlex 3060 (SSD 120GiB, 4Gb de RAM, proces Dual Core), qui n'acceptait pas l'installation de xubuntu 24-04-1 LTS !
Une fois installé j'ai lancer le "dell-command-update" via win11 pour réaliser une MAJ (avec celle du BIOS)..... ce qui m'a permis d'installer xubuntu 24-04 LTS, et j'ai pris l'option de l'installateur xubuntu et laisser win11, ce qui fait qu'en théorie je devrait avoir un Dual Boot win11 / xubuntu 24-04 LTS.
J'ai vérifier en relançant le LiveUSB, et utiliser Gparted : la Partition de 30GiB en Ext4 (avec 11GiB d'utilisé) est bien présente...
Malheureusement je constate que le PC ne démarre que sur win11, écran noir jusqu'au lancement de windows et pas d'écran d’accueil pour choisir sur quel OS démarrer !
Si quelqu'un a une idée de solution pour pouvoir disposer d'un Dual Boot opérationnel, je reste à l'écoute


Longue Vie au Libre ....

@ + droopy

Hors ligne

#2 Le 06/03/2025, à 21:40

geole

Re : Dual Boot windows 11 / xubuntu 24-04 L, démarre uniquement sur win11 !

Bonsoir
Tu devrais fournir l'URL générée par un boot-info. Cela permettra de voir les forces en présence


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

#3 Le 07/03/2025, à 17:00

droopy

Re : Dual Boot windows 11 / xubuntu 24-04 L, démarre uniquement sur win11 !

Hello Geole,

Merci pour ta réponse,... je vais juste devoir attendre lundi soir, car je n´ai pas le PC sous la main,..... il est dans le local de notre FabLab / Repair-Cafe...
Il fait parti d´un lot de PC DELL, qui vont avoir une nouvelle Vie (celui qui devrait fonctionner en Dual Boot, est le seul qui n´avait pas accepte l´install de xubuntu....) je fais suivre les infos au plus vite ;-)


Longue Vie au Libre ....

@ + droopy

Hors ligne

#4 Le 10/03/2025, à 19:42

droopy

Re : Dual Boot windows 11 / xubuntu 24-04 L, démarre uniquement sur win11 !

Bonsoir Geole

Je suis dans le Local de notre Repair Cafe .
https://paste.ubuntu.com/p/WtZ8NcVwTR/

Merci par avance


Longue Vie au Libre ....

@ + droopy

Hors ligne

#5 Le 10/03/2025, à 19:54

xubu1957

Re : Dual Boot windows 11 / xubuntu 24-04 L, démarre uniquement sur win11 !

Bonsoir,

Collage du Boot-info :

boot-info-4ppa2081                                              [20250310_1834]

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

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 2048 
    of the same hard drive for core.img. core.img is at this location and 
    looks for (,gpt6)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_gpt biosdisk
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

    File system:       BIOS Boot partition
    Boot sector type:  Grub2's core.img
    Boot sector info: 

sda2: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/Boot/bootx64.efi 
                       /efi/Microsoft/Boot/SecureBootRecovery.efi 
                       /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

    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

sda5: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sda6: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 24.04.1 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub 
                       /boot/grub/i386-pc/core.img

sdb: ___________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Grub2 (v1.99-2.00)
    Boot sector info:  Grub2 (v1.99-2.00) is installed in the boot sector of 
                       sdb and looks at sector 0 of the same hard drive for 
                       core.img, but core.img can not be found at this 
                       location.
    Mounting failed:   mount: /mnt/BootInfo/FD/sdb: /dev/sdb already mounted or mount point busy.
       dmesg(1) may have more information after failed mount system call.


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

OS#1 (linux):   Ubuntu 24.04.1 LTS on sda6
OS#2 (windows):   Windows 10 or 11 on sda4

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

CPU architecture: 64-bit
Video: CoffeeLake-S GT1 [UHD Graphics 610] from Intel Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 24.04.1 LTS, noble, x86_64)

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

BIOS/UEFI firmware: 1.23.0(1.23) from Dell Inc.
The firmware is EFI-compatible, but this live-session is in Legacy/BIOS/CSM mode (not in EFI mode).


17b3fa127f74e0189c6192a80c3fe28f   sda2/Boot/bootx64.efi
23837e7f81b5b729c2cc673d3da56273   sda2/Microsoft/Boot/SecureBootRecovery.efi
17b3fa127f74e0189c6192a80c3fe28f   sda2/Microsoft/Boot/bootmgfw.efi
3134a3c759cae87284e8e37d6b841318   sda2/Microsoft/Boot/bootmgr.efi

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

Disks info: ____________________________________________________________________

sda	: is-GPT,	hasBIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	has-win,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda2	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda4	: is-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda5	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
sda6	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ok,	update-grub,	end-after-100GB

Partitions info (2/3): _________________________________________________________

sda2	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, vfat
sda4	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ntfs
sda5	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot, ntfs
sda6	: isnotESP,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ext4

Partitions info (3/3): _________________________________________________________

sda2	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda4	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda5	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda6	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk sda: 119.24 GiB, 128035676160 bytes, 250069680 sectors
Disk identifier: 6DD6C1F8-DE3C-4869-A130-4CC0646C53EC
         Start       End   Sectors  Size Type
sda1       2048      4095      2048    1M BIOS boot
sda2       4096    208895    204800  100M EFI System
sda3     208896    241663     32768   16M Microsoft reserved
sda4     241664 191264767 191023104 91.1G Microsoft basic data
sda5  248723456 250066943   1343488  656M Windows recovery environment
sda6  191264768 248723455  57458688 27.4G Linux filesystem
Partition table entries are not in disk order.
Disk sdb: 14.91 GiB, 16011755520 bytes, 31272960 sectors
Disk identifier: 5A4EE0F7-0A35-4E68-B678-B1DA822EB157
       Start      End  Sectors  Size Type
sdb1       64  7998003  7997940  3.8G Microsoft basic data
sdb2  7998004  8008147    10144    5M EFI System
sdb3  8008148  8008747      600  300K Microsoft basic data
sdb4  8011776 31270911 23259136 11.1G Linux filesystem

parted -lm (filtered): _________________________________________________________

sda:128GB:scsi:512:512:gpt:ATA LITEON CV8-8E128:;
1:1049kB:2097kB:1049kB:::bios_grub;
2:2097kB:107MB:105MB:fat32:Basic data partition:boot, esp, no_automount;
3:107MB:124MB:16.8MB::Microsoft reserved partition:msftres, no_automount;
4:124MB:97.9GB:97.8GB:ntfs:Basic data partition:msftdata, no_automount;
6:97.9GB:127GB:29.4GB:ext4::;
5:127GB:128GB:688MB:ntfs::hidden, diag, no_automount;
sdb:16.0GB:scsi:512:512:gpt:Intenso Rainbow Line:;
1:32.8kB:4095MB:4095MB::ISO9660:hidden, msftdata;
2:4095MB:4100MB:5194kB::Appended2:boot, esp;
3:4100MB:4100MB:307kB::Gap1:hidden, msftdata;
4:4102MB:16.0GB:11.9GB:ext4::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL                     PARTLABEL
sda                                                                                                                 
├─sda1                                               8c33b380-1675-4bc0-8be2-f94fbd7c8029                           
├─sda2 vfat     9473-1F35                            68fcad1a-2197-45c4-8ece-5b3e69286dd9                           Basic data partition
├─sda3                                               5e2edcae-90be-4ddb-800d-12387fc27c67                           Microsoft reserved partition
├─sda4 ntfs     CE4A76CD4A76B237                     d0731e61-0220-40f0-8dff-5dc2bf55be5b                           Basic data partition
├─sda5 ntfs     B454807654803D5C                     15c210da-3861-4ce5-a8fa-d17c56d0b3fb                           
└─sda6 ext4     f5a478f6-23c6-464e-a661-721b9e25dd77 5f83bf22-ebb9-4eb8-95b0-12c3addf3a2c                           
sdb    iso9660  2024-08-27-14-40-30-00                                                    Xubuntu 24.04.1 LTS amd64 
├─sdb1 iso9660  2024-08-27-14-40-30-00               5a4ee0f7-0a35-4e68-b679-b1da822eb157 Xubuntu 24.04.1 LTS amd64 ISO9660
├─sdb2 vfat     3C53-CAEB                            5a4ee0f7-0a35-4e68-b67a-b1da822eb157 ESP                       Appended2
├─sdb3                                               5a4ee0f7-0a35-4e68-b67b-b1da822eb157                           Gap1
└─sdb4 ext4     67075221-7d13-4854-b216-064111f7ca9a c1bfb9c6-d460-48ca-9dda-351ecbe5aa8f writable                  

Mount points (filtered): _______________________________________________________

                                                               Avail Use% Mounted on
/dev/sda2                                                      62.8M  35% /mnt/boot-sav/sda2
/dev/sda4                                                      68.8G  24% /mnt/boot-sav/sda4
/dev/sda5                                                     119.7M  82% /mnt/boot-sav/sda5
/dev/sda6                                                      15.6G  37% /mnt/boot-sav/sda6
/dev/sdb1                                                          0 100% /cdrom

Mount options (filtered): ______________________________________________________

/dev/sda2                                                     vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sda4                                                     fuseblk         ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda5                                                     fuseblk         ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda6                                                     ext4            rw,relatime
/dev/sdb1                                                     iso9660         ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8

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

Ubuntu   f5a478f6-23c6-464e-a661-721b9e25dd77
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sda6/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda6 during curtin installation
/dev/disk/by-uuid/f5a478f6-23c6-464e-a661-721b9e25dd77 / ext4 defaults 0 1
/swap.img	none	swap	sw	0	0

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

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

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

           GiB - GB             File                                 Fragment(s)
 107.106433868 = 115.004657664  boot/grub/grub.cfg                             1
 103.952491760 = 111.618138112  boot/grub/i386-pc/core.img                     1
 100.950477600 = 108.394749952  boot/vmlinuz                                   1
 100.950477600 = 108.394749952  boot/vmlinuz-6.8.0-55-generic                  1
 100.950477600 = 108.394749952  boot/vmlinuz.old                               1
  96.561607361 = 103.682236416  boot/initrd.img                                1
  96.561607361 = 103.682236416  boot/initrd.img-6.8.0-55-generic               1
  96.561607361 = 103.682236416  boot/initrd.img.old                            1

===================== sda6: 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 Apr  4  2024 40_custom
-rwxr-xr-x 1 root root   215 Apr  4  2024 41_custom



Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub-efi of
sda6,
using the following options:  sda2/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file

Blockers in case of suggested repair: __________________________________________

The current session is in BIOS-compatibility mode. Please disable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, and use this software from a live-CD (or live-USB) that is compatible with UEFI booting mode. For example, use a live-USB of Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd), after making sure your BIOS is set up to boot USB in EFI mode. 

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your UEFI firmware boot on the Ubuntu 24.04.1 LTS entry (sda2/efi/****/grub****.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\****\grub****.efi (**** will be updated in the final message)
The boot of your PC is in BIOS-compatibility/CSM/Legacy mode. You may want to retry after changing it to UEFI mode.

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne

#6 Le 10/03/2025, à 20:09

droopy

Re : Dual Boot windows 11 / xubuntu 24-04 L, démarre uniquement sur win11 !

Bonsoir xubu1957,
Merci d'avoir pris la main pour éditer le "Boot-info" smile
Tu as une idée sur l'origine du démarrage systématique de win11 ?


Longue Vie au Libre ....

@ + droopy

Hors ligne

#7 Le 10/03/2025, à 20:51

ikewdu

Re : Dual Boot windows 11 / xubuntu 24-04 L, démarre uniquement sur win11 !

Salut,

La réponse est explicitement donnée dans le rapport. Tu as installé Ubuntu en mode Legacy alors que ton Windows l'est en UEFI. Tu n'as aucun GRUB dans la partition efi. Et tu bootes dans le mauvais mode :

The firmware is EFI-compatible, but this live-session is in Legacy/BIOS/CSM mode.

Désactive l'option CSM ou la compatibilité bios, et fais la réparation de boot-repair. Autre option, tu réinstalles ton Linux en UEFI.

Dernière modification par ikewdu (Le 10/03/2025, à 20:55)

Hors ligne

#8 Hier à 10:34

droopy

Re : Dual Boot windows 11 / xubuntu 24-04 L, démarre uniquement sur win11 !

Hello ikewdu,

Merci pour ton message, mais j'ai du démarrer une session LiveUSB pour pouvoir lancer le "Boot-info" (du fait que le PC démarre uniquement sur win11)...
La clé USB que j'utilise a été générée via "Gnome-Disk-Utility",... LiveUSB que j'ai également utilisée pour installer Xubuntu 24-04 LTS sur tous les autres PC DELL Optiplex (PC qui sont identiques) qui ont accepté l'installation....
Faut-il dans ce cas que je génère une nouvelle LiveUSB si je prends l'option de réinstaller Xubuntu (option la plus rapide) ?
Merci pour vos compléments


Longue Vie au Libre ....

@ + droopy

Hors ligne

#9 Hier à 14:32

geole

Re : Dual Boot windows 11 / xubuntu 24-04 L, démarre uniquement sur win11 !

Bonjour
Normalement, il faut que tu conserves le boot EFI prioritaire surtout en bootant avec le support d'installation
Tu pourras alors faire la réparation recommandée et boot-repair mettra à jour la partition de boot EFI

sda2: __________________________________________________________________________
    File system:       vfat
    Boot sector type:  FAT32
    Boot files:        /efi/Boot/bootx64.efi 
                       /efi/Microsoft/Boot/SecureBootRecovery.efi 
                       /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.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

#10 Hier à 15:38

droopy

Re : Dual Boot windows 11 / xubuntu 24-04 L, démarre uniquement sur win11 !

Merci à Geole, Ikewdu et Xubu1957,

Le mois que l'on puisse dire c'est que la cohabitation Linux / windows est compliquée !!
Sur les anciennes versions, je n'ai aucun souvenir de difficultés de la sorte pour faire fonctionner un PC en Dual-boot sadhmm


Longue Vie au Libre ....

@ + droopy

Hors ligne

#11 Hier à 15:46

geole

Re : Dual Boot windows 11 / xubuntu 24-04 L, démarre uniquement sur win11 !

Les vieux ordinateurs  sont LEGACY <=> LEGACY 
Les futurs ordinateurs seront EFI <=> EFI

Les ordinateurs actuels offrent le panachage  en plus mais les logiciels de dual boot ne savent pas le traiter.
LEGACY <=> LEGACY    C'est OK
LEGACY <=> EFI             Cela foire
EFI <=> EFI                      C'est OK
EFI <=> LEGACY             Cela foire


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