Page 1 of 1

INSTALL MAGEIA with more than one DD

PostPosted: Apr 18th, '26, 09:37
by taboutanche
Hello,
Before upgrading to Mageia 10, I need some help with booting.

I have a 1TB hard drive with Mageia 9(dev /sda) and another 500MB hard drive (dev/sdb)with Windows 10.
With Mageia 8, I had the choice between Mageia and Windows on boot (which I keep for a few programs that don't run under Linux).
The Linux drive has two partitions: 1 - 50GB with the Mageia 1 system and 876GB with the /home folder.

The Windows drive also has two partitions: 1 - win_sys (500MB) and WIN (500GB) for user files.

Since Mageia 9, I no longer have the choice; I have to go through the computer's setup and force the boot to either use the Mageia EFI for Linux or choose the Windows hard drive to boot into Windows. I'm definitely missing a startup configuration somewhere!

I'd really like to get back the old options. Could someone guide me?
TKS

Re: INSTALL MAGEIA with more than one DD

PostPosted: Apr 18th, '26, 13:40
by Telemex

Re: INSTALL MAGEIA with more than one DD

PostPosted: Apr 18th, '26, 20:22
by doktor5000
taboutanche wrote:Since Mageia 9, I no longer have the choice; I have to go through the computer's setup and force the boot to either use the Mageia EFI for Linux or choose the Windows hard drive to boot into Windows.

Hi there, is windows listed in Mageia grub? Then simply boot to Mageia as default, that's the way this is done for all dualboot systems.
If it is not, then running os-prober as root under Mageia and posting the relevant log entries generated by os-prober would be helpful.

Also see https://wiki.mageia.org/en/Installation ... on_Windows and the rest of that wiki page,
or maybe https://wiki.mageia.org/en/Mageia_in_du ... s_directly

Re: INSTALL MAGEIA with more than one DD

PostPosted: Apr 18th, '26, 23:17
by benmc
please post output of:
Code: Select all
$ lsblk


TIA

Re: INSTALL MAGEIA with more than one DD

PostPosted: Apr 19th, '26, 06:03
by taboutanche
Code: Select all
[root@localhost jplajoie]# lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda      8:0    0 931,5G  0 disk
├─sda1   8:1    0 140,2M  0 part /boot/EFI
├─sda2   8:2    0     1K  0 part
├─sda5   8:5    0  50,3G  0 part /
├─sda6   8:6    0     4G  0 part [SWAP]
└─sda7   8:7    0 876,9G  0 part /home
sdb      8:16   0 465,8G  0 disk
├─sdb1   8:17   0   549M  0 part /media/win_c
└─sdb2   8:18   0 465,2G  0 part /media/windows
sr0     11:0    1  1024M  0 rom 
sr1     11:1    1  1024M  0 rom

Re: INSTALL MAGEIA with more than one DD

PostPosted: Apr 19th, '26, 06:10
by taboutanche
Code: Select all
os-prober : dont answer (nothing)
[root@localhost jplajoie]# os-prober
[root@localhost jplajoie]# os-prober
[root@localhost jplajoie]#

Re: INSTALL MAGEIA with more than one DD

PostPosted: Apr 19th, '26, 10:55
by benmc
looks like windows was installed in bios / legacy mode, and Mageia was installed in EFI mode.

to check, as root, is there a windows sub-directory in your /boot/EFI directory?

Re: INSTALL MAGEIA with more than one DD

PostPosted: Apr 19th, '26, 15:51
by doktor5000
doktor5000 wrote:If it is not, then running os-prober as root under Mageia and posting the relevant log entries generated by os-prober would be helpful.

os-prober does not output anything directly, it only writes to system logs (query with journalctl) - that is what we would need.

Also the question if windows is present in grub is not answered.

Re: INSTALL MAGEIA with more than one DD

PostPosted: Apr 19th, '26, 19:15
by taboutanche
Here journalctl after reboot and os-prober

Re: INSTALL MAGEIA with more than one DD

PostPosted: Apr 19th, '26, 19:35
by taboutanche
AND Boot EFI on WIN DD

Re: INSTALL MAGEIA with more than one DD

PostPosted: Apr 19th, '26, 20:37
by doktor5000
taboutanche wrote:Here journalctl after reboot and os-prober

Did you maybe forget to add the attachment or actually post it ?

Re: INSTALL MAGEIA with more than one DD

PostPosted: Apr 19th, '26, 20:56
by benmc
and in your Mageia9 /boot/EFI?

the UEFI bootloader system look for specifically an entry in a /boot/EFI partition.
your windows DD has no such partition.

Re: INSTALL MAGEIA with more than one DD

PostPosted: Apr 20th, '26, 06:01
by taboutanche
good morning
sorry
here is journalctl
tks for your help
efi partition seems to be on is on mageia DD (sda1) and windows is on sdb
but on my DD windows i have also a boot efi (see screen copy) but it's not in a spécial partition

Re: INSTALL MAGEIA with more than one DD

PostPosted: Apr 20th, '26, 06:19
by taboutanche
ihave pb with journalctl :ugeek: :roll:

Re: INSTALL MAGEIA with more than one DD

PostPosted: Apr 20th, '26, 07:02
by benmc
so, no Windows entry in your /boot/EFI

Can you post the output of

Code: Select all
# update-grub2

Re: INSTALL MAGEIA with more than one DD

PostPosted: Apr 20th, '26, 07:37
by taboutanche
Code: Select all
Création du fichier de configuration GRUB…
Thème trouvé : /boot/grub2/themes/maggy/theme.txt
Image Linux trouvée : /boot/vmlinuz-6.6.130-desktop-1.mga9
Image mémoire initiale trouvée : /boot/initrd-6.6.130-desktop-1.mga9.img
Image Linux trouvée : /boot/vmlinuz-6.6.120-desktop-1.mga9
Image mémoire initiale trouvée : /boot/initrd-6.6.120-desktop-1.mga9.img
Image Linux trouvée : /boot/vmlinuz-6.6.116-desktop-1.mga9
Image mémoire initiale trouvée : /boot/initrd-6.6.116-desktop-1.mga9.img
Image Linux trouvée : /boot/vmlinuz-6.4.9-desktop-4.mga9
Image mémoire initiale trouvée : /boot/initrd-6.4.9-desktop-4.mga9.img
Ajout de l'entrée du menu d'amorçage pour les paramètres du firmware UEFI …
fait

Re: INSTALL MAGEIA with more than one DD

PostPosted: Apr 20th, '26, 07:59
by benmc
so, the issue is that your Mageia is booting in UEFI mode and your Windows is in bios / legacy mode.

GRUB is unable to discover Widows as it is in a different mode.

To fix:
option 1: re-install Mageia in bios / legacy mode. To do this, boot the Mageia install media in bios / legacy mode via the boot hotkey ( choose the none UEFI option, or set BIOS to bios / legacy / CSM. ) You have a separate /home partition, so be sure to not format it in the disk partitioning stage. you will loose any installed applications since original install. take a note of all of the installed applications before you start. . also maybe create a backup system image before you start. disconnect the windows DD before you start - mistakes happen!. after install complete, re-connect windows DD
option 2: reinstall window in UEFI mode. To do this, boot the Windows install media in UEFI mode via the boot hotkey ( choose the UEFI option, or set BIOS to UEFI ). you will then have to re-onstall the Mageia bootloader - see option 3.
option 3: download the Mageia9 netinstall-nonfree to suit your arch and create a boot medium. Boot the net-install medium in bios / legacy mode via the boot hotkey ( choose the none UEFI option, or set BIOS to bios / legacy / CSM. ) Choose "re-install bootloader". You will need to be connected to the internet and select a Mageia9 mirror.

have fun :)

Re: INSTALL MAGEIA with more than one DD

PostPosted: Apr 20th, '26, 16:49
by taboutanche
TKS so much for the help
I'm not going to take the risk of breaking everything
I'm waiting to upgrade to Mageia10 and then I'm going to normalize everything.
I thought there must be a problem with uefi but I didn't know how to get out of it
thank you for everything