[Solved] How to install windows beside mageia "easily"

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[Solved] How to install windows beside mageia "easily"

Postby Spinnifex » Dec 30th, '19, 17:44

Hello

My experience from past tells me that it works if I first install windows and then install linux because grub automatically recognize windows.
Now I have mageia already installed. How should I proceed?

So my setup of disks looks

Code: Select all
sda : mageia
sdb: windows


Regards

Spinnifex
Last edited by Spinnifex on Apr 11th, '20, 16:47, edited 2 times in total.
Spinnifex
 
Posts: 141
Joined: Nov 25th, '19, 12:38
Location: Europe / Potsdam

Re: How to install windows beside mageia "easily"

Postby JoesCat » Dec 31st, '19, 18:46

to avoid issues, I would clonezilla or dd sda, then pull-out sda == {your mageia drive} and park it aside.
then make microsoft windows as sda, install it, ensure it runs.
add mageia drive as sdb.
You will need to reinstall grub on sda using an install disk or a live distro.
You'll probably be fighting with UEFI as well to get it working right.

The main point is, try to make windows as sda to avoid problems, because mageia will easily live on sdb.
User avatar
JoesCat
 
Posts: 177
Joined: Sep 15th, '11, 04:27
Location: Richmond, BC, Canada

Re: How to install windows beside mageia "easily"

Postby benmc » Jan 2nd, '20, 06:02

to expand on JoesCat reply.

it would be helpful to provide make and model of your machine.

be sure both are installed in the same mode (UEFI or bios MBR),
check the drive partitioning with say Gparted or diskdrake, to determine where, if installed in UEFI mode, the /boot/efi partition resides.
you can have more than one in a machine, however, the booted system boot/efi partition is the only active one.
if the Mageia drive has one (if the system is booted in UEFI mode) all well and good.
if there is none on any drive, that means the system was installed in bios MBR.
remove the windows drive and check to see that the system still boots to Mageia.
if all good, then as JoesCat suggest, remove the Mageia drive and refit the windows drive
now install windows. reboot and be sure all is working ok ( wifi, video card etc)
refit Mageia drive.
see if system boots to windows or Mageia.
if Windows, reboot and enter into the bios. change the drive boot order and reboot.
it should now boot into Mageia. if so, run as root
Code: Select all
update-grub2

this will add the Windows entry to your grub boot menu
benmc
 
Posts: 1214
Joined: Sep 2nd, '11, 12:45
Location: Pirongia, New Zealand

Re: How to install windows beside mageia "easily"

Postby Spinnifex » Jan 4th, '20, 00:00

Hello JoesCat and benmc

Thank you for your advice. :-)
I will try this and tell you if I stuck.
Currently on
Code: Select all
sda
my old fedora disk reside. So i will format this disk and
install windows on.
Later I try to boot from
Code: Select all
sdb
where mageia reside.
and run
Code: Select all
update-grub2

I hope for best result.

Thanks much :!:
Spinnifex
Spinnifex
 
Posts: 141
Joined: Nov 25th, '19, 12:38
Location: Europe / Potsdam

Re: How to install windows beside mageia "easily"

Postby Spinnifex » Apr 11th, '20, 16:45

Hello

I have installed windows via UEFI. Then two boot options appear in BIOS.
When I choose mageia I get no windows entry.
I run
Code: Select all
update-grub2

Nothing changed.

After delving through the very good doc of Grub2-efi I tried
grub-customizer which did not do anything. Even modifing existing entries failed when try to write them to disk.
Later I remembered that there is a boot menu tool in the mcc.
There I checked "probe foreign os".

Then I get the windows entry.

So the important point was to add this option.

best regards
Spinnifex
Spinnifex
 
Posts: 141
Joined: Nov 25th, '19, 12:38
Location: Europe / Potsdam

Re: How to install windows beside mageia "easily"

Postby ictiosis » Apr 11th, '20, 17:43

Spinnifex wrote:
I run
Code: Select all
update-grub2

Nothing changed.


For another time you can also try:
Code: Select all
# os-prober


and later

Code: Select all
# grub2-mkconfig -o /boot/grub2/grub.cfg

reboot.
Hijo mío, siempre en mi corazón y alma !!!
"This isn't right. This isn't even wrong."
-- Wolfgang Pauli --
User avatar
ictiosis
 
Posts: 20
Joined: Apr 8th, '20, 19:33
Location: San Nicolás, Argentina


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron