Win 10 dual boot issues after reinstall Mag 5

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

Win 10 dual boot issues after reinstall Mag 5

Postby DRNewcomb » Nov 26th, '15, 05:17

I have a dual boot Dell Inspiron N5010 64-bit laptop, which was originally Win 7, but has updated to Win 10. Windows was working OK but I was having some issues with Mageia's system control utility not running and rather than figuring out the problem I just reinstalled Mageia 5. After the reinstall, Mageia booted just fine but Windows was not in the boot list. I added the Windows partition (/dev/sda3) in the boot section of the Mageia system configuration utility but when I boot to Windows, I get a Windows trouble/recovery program rather than Windows 10. I know I'm missing something basic about booting and there must be a FAQ for this but I can't seem to find it. AFAIK the laptop predates (does not use) UEFI. The partitions are sda1: 100 MB unformatted, sda2: 14 GB Windows recovery, sda3: 244 GB Windows, sda5: 244 GB Linux root, sda6: swap. I know there must be a simple fix for this. I don't want to do anything to destroy the Windows 10 system that seems to be intact.
DRNewcomb
 
Posts: 3
Joined: Jan 21st, '15, 00:10

Re: Win 10 dual boot issues after reinstall Mag 5

Postby gohlip » Nov 26th, '15, 06:02

First, try at Mageia terminal
Code: Select all
sudo update-grub
(or sudo update-grub2)

If it does not correct the problem, provide the following...
o Windows entry of /boot/grub2/grub.cfg (or /boot/grub/menu.lst)
o lsblk -f (or sudo blkid)
o find which partition is windows file for /bootmgr (either (hd0,2)/bootmgr or (hd0,3)/bootmgr)
Why do we live? To prove not everything in nature has a purpose.
gohlip
 
Posts: 573
Joined: Jul 9th, '12, 10:50

Re: Win 10 dual boot issues after reinstall Mag 5

Postby fixxer » Nov 27th, '15, 00:45

Post output of bootinfoscript:
http://sourceforge.net/projects/bootinfoscript/ .
fixxer
 
Posts: 13
Joined: Nov 15th, '15, 20:56

Re: Win 10 dual boot issues after reinstall Mag 5

Postby laidlaws » Nov 27th, '15, 18:57

I am running Windows 10 with Mageia 5, but I think that the problem is more basic.

Windows creates /boot/EFI, and I am told that uppercase is standard.

But Grub2 looks for /boot/efi.

As a workaround, I run

Code: Select all
 grub2-install /dev/sda --efi-directory=/boot/EFI


(Corrected: no whitespace either side of the "=")

Perhaps the OP can report whether it overcomes his problem.

Should I file a bug about this?
Last edited by isadora on Nov 27th, '15, 19:39, edited 1 time in total.
Reason: Corrected [CODE]-tags
laidlaws
 
Posts: 287
Joined: May 24th, '11, 04:58

Re: Win 10 dual boot issues after reinstall Mag 5

Postby doktor5000 » Nov 27th, '15, 18:59

laidlaws wrote:Should I file a bug about this?

Yes, please do so.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Win 10 dual boot issues after reinstall Mag 5

Postby gohlip » Nov 27th, '15, 19:48

The Op had stated he does not have uefi
AFAIK the laptop predates (does not use) UEFI.


laidlaws uses uefi and that means there has to be an esp (/boot/efi) partiticion in vfat format.
In this format, upper and lower case does not have any distinction.
As long as /boot/efi is mounted (use 'findmnt /boot/efi' to check),
Code: Select all
sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=mageia --recheck
is the command to use.

Grub commands are different in bios-legacy and uefi.

[edit] - arghh - grub2 and grub - grub2-install grub-install -update-grub update-grub2 - arghh.
Why do we live? To prove not everything in nature has a purpose.
gohlip
 
Posts: 573
Joined: Jul 9th, '12, 10:50

Re: Win 10 dual boot issues after reinstall Mag 5

Postby laidlaws » Nov 28th, '15, 09:15

The "grub-install" command will install Legacy GRUB. Regardless of EFI, you need "grub2-install."

The contents of /boot/efi are in vfat format, but it is Linux that is looking for the file.

All I can say is that case matters on my system.

Oh, and Isadora: thanks for fixing those tags.

Bug filed: https://bugs.mageia.org/show_bug.cgi?id=17243
laidlaws
 
Posts: 287
Joined: May 24th, '11, 04:58


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest