Page 1 of 1
boot problem with dual boot

Posted:
Sep 14th, '12, 21:25
by hocico0777
I will try to exeplain as thoroygly as i can.In my pc i have 2 hard drives.In the first i have 2 partitions (ntfs file system). I used the first partition to install windows 7 and kept the second only for storage.In the second hard drive i installed mageia 2 and installed it in a way that i gave the linux boot entry through easybcd (a program for windows).Today i installed windows 7 (64 bit) in the same partition that i had winows 7 (32 bit) after i formatted it first but i cannot boot into mageia 2 eventhough i reentered the linux boot entry (with easybcd again) since i had new windows installation.the message i get is the following "welcome to emergency mode use system default or D to ener default mode Give root password for maintenace. Thanks in advance for any help.
Re: boot problem with dual boot

Posted:
Sep 14th, '12, 22:51
by joeshmoe
Do you use grub?
Did you follow these steps
here, the first method under "Linux before Vista" or what else did you do after reinstalling Windows?
If you reinstall grub as described there, you probably want to put it in the /boot partition of Mageia, if you have one, or in / of Mageia otherwise.
I guess you'll need a Mageia live (or rescue; don't know which one that is) medium to repair your installation. With that, you can chroot into the Mageia installation on your harddisk and perform the grub repair as described in the EasyBCD doc.
Re: boot problem with dual boot

Posted:
Sep 15th, '12, 11:10
by hocico0777
As a matter of fact no.As i said before the first time i made the installs first i installed windows and then linux.In easybcd when i used the add new entry i selected the third tab (which is mac,EFI mode) and everything worked just fine.Another thing that maybe messed things up is the letters for the drives because in my second ntfs partitions before yesterday was C(D:) and after yesterdays install is C(E:),this maybe irrelevant to the problem maybe not,i do not know.mageia uses grub or grub2?
Re: boot problem with dual boot

Posted:
Sep 15th, '12, 13:07
by joeshmoe
Mageia uses grub, not grub2.
Generally speaking; Linux "plays well with others", Windows doesn't (someone please correct me if that changed with newer versions). If you install Mageia after Windows, Mageia will automatically set up dual boot afair. Of course, once you need to reinstall Windows, like you did, that doesn't help you anymore and you need to repair the setup.
Edit: This is not relevant now, but for completeness' sake: If EasyBCD works like I suspect it does, you need to run it again if you ever reinstall grub.
Since I have neither Windows nor EasyBCD, I'm not sure what exactly that tool does. But looking at its documentation, the process described there should fix your problem. I now saw that under "Linux before Vista" they describe the "Super Grub Disk" step. Use that and you can forget what I said about a live or rescue medium.
From the documentation, it seems drive letters are irrelevant; EasyBCD refers to partitions like grub does.
Re: boot problem with dual boot

Posted:
Sep 15th, '12, 17:37
by hocico0777
I cannot fix it with this grub disk mentioned in the easybcd guide. I will try to do it with a mageia live cd.can you tell me which commands i give in the terminal to reinstall the grub in the root partition?
Re: boot problem with dual boot

Posted:
Sep 15th, '12, 18:27
by joeshmoe
If you want to use a Mageia 2 Live CD, the commands are exactly what it says in the link under "Booting into Linux"; use the variant with su, not sudo.
Re: boot problem with dual boot

Posted:
Sep 16th, '12, 16:52
by hocico0777
Did the procedure but i get a black screen with somewhow like a repeating scrolling "g" letter.