Oh ! In the same time I also meet that problem !
I solved it in another way :
https://www.mageialinux-online.org/foru ... ows-10.phpIf I'm not wrong, the windows update add a new partition (what for ? I don't know) and it shift all the partitioning number. Grub is not updated by windows (of course) and does not find the root partition (where the second stage of the bootloader is stored (/boot)).
When grub started, it shown :
- Code: Select all
Grub rescue : unknown file system
stem.
grub rescue >
We can list the partitions with ls, for example :
- Code: Select all
grub rescue >ls
(hd0,gpt1) (hd0,gpt2) (hd0,gpt3) (hd0,gpt4)
We have to find the root partition of Mageia, recursively, we probe all partition (here called gptX), also with ls :
- Code: Select all
ls (hd0,gpt1)/
unknown file system
ls (hd0,gpt2)/
unknown file system
ls (hd0,gpt3)/
boot/ dev/ etc/ home/ lost+found/ media/ mnt/ opt/ proc/ root/ run/ srv/ sys/ tmp/ usr/ var/
On this example, the root partition (which contains /boot) is on gpt
3. We have to set it for Grub manually : (Here, all gpt3 occurrences must match the previous partition found)
- Code: Select all
set root=(hd0,gpt3)
set prefix=(hd0,gpt3)/boot/grub2
insmod normal
normal
Normally it boots now !
But all this changes are ONLY temporary. If someone reset the computer, all this commands shoud be do again.
In order to fix definitively the bootloader grub :
Start the MCC
Go on the tab "boot"
and clic on "Set up boot system"
clic on "Next"
clic on "Next" again
and finally "OK".