fedora 21 windows duel boot reinstall windows
hi here,
i need some urgent help. i was running duel boot of fedora 21 and win 7 on my pc without any problem. long story short: an electrical disturbance near my home fried my motherboard and processor. so i had to get a new mb, processor and rom (everything else unchanged). with my new hardwares, fedora 21 is running just fine. but no surprise, windows in not running. so i need to reinstall windows 7 or install win 8.1 (i dont want win 10 yet). now how can i reinstall windows without creating any issues with my current fedora? i want to keep the fedora as it is. the last time i installed fedora, i made a boot partition of 150 MB. so after installing windows (7 or 8.1, fresh install), can i create a boot file like what i have right now? thanks in advance. |
Is your system Uefi or Bios?
|
according to the setupact.log file from my windows>panther, its BIOS.
|
Windows does not respect any other OS and a Windows install will certainly destroy the Linux bootloader. If you're very careful it may not damage your Linux partition and then you can repair the bootloader...
|
so can i repair/recreate the bootloader from the installation disk?
|
Yes - trivial.
As for Win7, if you have it already on the disk, it will be recognised by the installer, and will probably offer to repair it for you. I have had occasions where I needed to run the repair a couple of times. You may even need to do a full install after all that - it just doesn't seem to work correctly. As stated, grub will be be over-written. |
ok i get it.
but now my question is, how can i repair/recreate the grub? someone told me once that if i run the fedora installation in the regular way (from usb/dvd) and at the time of partitions, i just put the /boot partition on the previous /boot and leave everything untouched, it will again create the grub. will it work? |
Once you have windows booting from your disk, use the method at the fedora project site to create a new grub.cfg file and reinstall grub2.
https://ask.fedoraproject.org/en/que...ub2-fedora-21/ |
BE AWARE
Fedora 21 is now PAST it's End Of Life !!! there will NEVER be any more security updates and there is no more support Please stay current and install Fedora 23 |
Quote:
this shows the easiest way to recreate grub. i hope it will work after i'm done with the installation. i'll post the updates. |
Quote:
|
hi yancek,
the procedures given in that link is not working :-( i ran win 8.1. after running that grub repair method, now i'm getting error at boot. 'error: no such device entering rescue mode grub rescue>' what should i do now? |
anyway,
using supegrubdisk2, i could log into my old fedora. any help on how can i now repair the grub? the instructions provided on their page is not working. when i put Quote:
i get, Quote:
|
update: Solved it finally !!!
once i tried after logging in from my old fedora 21 installation, the instructions provided at the link by yancek worked like a charm! they weren't working from the live DVD. anyway, whoever faces the same problem in future (grub2 gone in duel boot after reinstalling windows and the pc boots to windows right away), can follow the below procedures: 1. don't panic. unless u have messed up with the installation location (the HD and the partitions), ur old linux with all the files are completely ok. 2. from windows, download supergrubdisk2 http://www.supergrubdisk.org. u'll also need yumi to make a bootable cd/dvd/usb drive. follow the instructions and links provided at supergrubdisk2's website for how it do it. 3. using the bootable cd/dvd/usb, log in to your old fedora installation. again, supergrubdisk2's website has the instructions on how to do it. 4. using terminal from fedora, follow the steps given here :https://ask.fedoraproject.org/en/que...ub2-fedora-21/ 5. ur old grub menu is back. |
Quote:
|
All times are GMT -5. The time now is 06:20 PM. |