Sunday, October 28, 2012

Unable to boot into Fedora 17 after upgrading windows 7 to windows 8

Okay, so today i thought of upgrading to the new and improved Windows 8 on my Fedora17 and Windows7 dual boot laptop.

It was a tiring process and took a lot of time, and after finishing the upgrade and playing with Win8 a little, i restarted my system to do some work on Fedora, but after restarting, Win8 started by itself, there were no options to select any option to boot into linux.

That was when i felt like beating myself up for upgrading windows. This feeling was much intensified after reading that Win8 uses SecureBoot and there are no ways to as of now to dual boot it.



But that's all bullshit, its a piece of cake if you have the Fedora17 Live Disc/USB handy.

What you need to do is, boot into the live Disc/USB, open the terminal, login as root, you can do that as follows:

su -

then type:

df -h

to see at what partition your old fedora lies. We suppose its /dev/sda1. So now mount this partition:

mount /dev/sda1 /mnt

After that, run this command:

grub2-install --root-directory=/mnt  /dev/sda

Notice at the end of this command that its /dev/sda and not /dev/sda1.

And thats about it. You can reboot your system, boot into your deal old Fedora and live happily ever after ;)

No comments:

Post a Comment