Ask Your Question
2

after installing windows 8.1 i cant see fedora in boot menu? how do i boot into fedora?

asked 2014-04-20 13:27:41 -0500

Akash8523 gravatar image

updated 2014-04-20 16:36:35 -0500

remjg gravatar image

my harddisk had 4 partitions one for daa other two for windows and fedora and 1 for swap.i installed windows on one partion and fedora on another i could use both Operating systems as they were in my boot menu but after a month my windows 8.1 got corrupted so i formatted the partition and i could still use fedora but after some thime i installed windows on that partition my PC directly boots to windows i cant see fedora as there is no boot menu but i can access my files from fedora using a live disk. please help me

edit retag flag offensive close merge delete

Comments

Is this a regular BIOS or UEFI system?

Ahmad Samir gravatar imageAhmad Samir ( 2014-04-22 01:05:31 -0500 )edit

Regular BIOS.

Akash8523 gravatar imageAkash8523 ( 2014-04-25 22:42:38 -0500 )edit

If it's a BIOS system then you need to re-install the Fedora bootloader, like other people have said already, since windows installations usually overwrite the MBR of the HDD.

Ahmad Samir gravatar imageAhmad Samir ( 2014-04-26 01:53:42 -0500 )edit

3 Answers

Sort by ยป oldest newest most voted
1

answered 2014-04-21 18:57:53 -0500

deusdara gravatar image

Hi

Reinstall Grub2 on Fedora 20

You will need to boot your system from a Fedora DVD or LIVE CD.

  1. From the DVD choose the Rescue Fedora system from the Trouble Shooting menu. as this boots it should mount your root and boot partitions if you have both. They will be mounted in /mnt/sysimage and /mnt/sysimage/boot. To reinstall Grub and assuming you only have one disk, run these commands

  2. chroot /mnt/sysimage

  3. grub2-install /dev/sda

  4. grub2-mkconfig -o /boot/grub2/grub.cfg

Take a look at the official documentation http://fedoraproject.org/wiki/GRUB_2

edit flag offensive delete link more
0

answered 2014-04-22 13:09:28 -0500

mohanprakash gravatar image

If you are planning for a dual boot, with a windows and a Fedora on your system, it is good for beginners to first install windows and then install Fedora. This solves the problem for them. Of course if one already has Fedora installed earlier, and then want to install windows then you have to go through the steps that have been mentioned above.

edit flag offensive delete link more
0

answered 2014-04-20 19:19:48 -0500

NickTux gravatar image

When you reinstalled Windows 8.1, the Fedora Grub bootloader vanished. Windows wrote its own bootloader in the MBR of HDD. So, you have to reinstall/restore the Grub bootloader.

How can I reinstall Grub bootloader on Fedora ?

I quoting the answer from the official documentation, here.

In many cases, the GRUB boot loader can mistakenly be deleted, corrupted, or replaced by other operating systems.

The following steps detail the process on how GRUB is reinstalled on the master boot record:

Boot the system from an installation boot medium.

Type linux rescue at the installation boot prompt to enter the rescue environment.

Type chroot /mnt/sysimage to mount the root partition.

Type /sbin/grub-install bootpart to reinstall the GRUB boot loader, where bootpart is the boot partition (typically, /dev/sda).

Review the /etc/grub.d/10_linux file, as additional entries may be needed in the /etc/grub.d/40_custom for GRUB to control additional operating systems.

Reboot the system.

edit flag offensive delete link more

Comments

you mean i should execute those commands using a fedora live disk?

Akash8523 gravatar imageAkash8523 ( 2014-04-20 21:24:34 -0500 )edit

Yes, boot from the installation media and follow the procedure.

NickTux gravatar imageNickTux ( 2014-04-21 11:51:43 -0500 )edit

but my hard disk is an external hard disk. Seagate 2TB backup+

Akash8523 gravatar imageAkash8523 ( 2014-04-24 23:38:09 -0500 )edit

Doesn't matter if external or internal. Install/restore Grub at the MBR of the disk where your Fedora is installed. You must boot from this disk in order to see Grub menu and be able to select an operating system from the menu. Choose this disk on BIOS settings as the first boot disk (or select it by pressing one boot key - usually F11 or F12 to select boot device without the need to login in BIOS configuration page).

NickTux gravatar imageNickTux ( 2014-04-25 15:25:41 -0500 )edit

Question Tools

Stats

Asked: 2014-04-20 13:27:41 -0500

Seen: 5,096 times

Last updated: Apr 22 '14