Ask Your Question

No OS boots after installing Fedora 20

asked 2014-01-05 06:02:39 -0500

not_for_sale gravatar image

updated 2014-01-05 06:34:38 -0500

FranciscoD_ gravatar image

Hello everyone! I know this has been a common issue and extensively discussed in forums, but I couldn't find a solution in my case... I have a new ACER Aspire 5600U (all-in-one). OS is Win 8, upgraded to Win 8.1. CPU is Intel Core i5 3230M. I wanted to try Linux and was disappointed with Win 8. So this was a good opportunity. I decided to try Fedora 20 Mate edition (don't ask me why!). Installed Fedora 20 from the Live CD, with the 'Secure Boot' turned off (it was impossible otherwise) and with the CSM/Legacy turned on. Installation went without visible complications, but Windows nor Fedora could boot afterwards. I've been getting something like "insert a proper boot device and reboot". I could only boot Fedora either from the Live CD or from an installation DVD in the rescue mode. I could successfully reboot with the CSM/Legacy set on. I've been browsing Fedora forums and sites (like Roderick W. Smith's Rodsbooks) and tried various things, incl. 'dracut', 'yum' and 'efibootmgr' commands. Sorry I am not that skilled to quote the response from all these commands (and it would take too much space here). 'dracut' commands return 'cannot find /usr/lib/dracut/'. 'yum' commands return 'ImportError: No module named yummain'. So I couldn't install or update anything. After mounting my EFI partition /dev/dsb on /boot (failed to mount it on /boot/efi), and using 'efibootmgr', I could add additional EFI boot entry for Linux. Still no system could boot from the hard disk. Using various 'parted...' and 'df' and 'ls' commands I could see an EFI/fedora folder on the efi partition. There are also 'initramfs...', 'grubx64.efi', 'shim.efi' and 'shim-fedora.efi' files. But no idea how to make all those work. I will appreciate any ideas. Or shall I just recourse to something like 'restore the factory settings' and just install Fedora again? Please take note that I am very new to Fedora and may not know many Fedora-specific terms. Many thanks in advance!

PS. 'lvscan' command returns: ACTIVE '/dev/fedora/root' [50.00 GiB] inherit ACTIVE '/dev/fedora/home' [57.75 GiB] inherit ACTIVE '/dev/fedora/swap' [57.75 GiB] inherit

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2014-01-05 09:18:54 -0500

Ahmad Samir gravatar image

I think you needn't have enabled CMS/Legacy mode, the Fedora installer can boot in UEFI mode.

It would be easier to boot the Live CD in UEFI mode and reinstall Fedora, usually the BIOS/firmware has an option to select the boot the device e.g. pressing F12 at boot - of course it varies from one manufacturer to another - an entry for the Live CD should be displayed. You'll need to delete the partitions Fedora created using the installer partitioning tool "Reclaim space" option, (be careful not to touch the windows partitions or the EFI partition).

Then you can let installer automatically create the partitions like before, the difference is since you booted in UEFI mode the installer should detect you have an ESP (EFI system partition) and set the mount point for it as /boot/efi (that's supposed to be the default with F20) and install all the necessary packages to boot the system in UEFI mode.

For more info about UEFI and Fedora read

edit flag offensive delete link more


Thanks a lot Ahmad! You saved me, after a few days of investigations. It turned out to be very simple: I have re-installed Fedora 20 with the CMS/Legacy mode off, reclaimed space used by the previous installation of Fedora and it worked! The link you posted was also very informative. Now, I only have a smaller problem with permanently mounting the drives/partitions, without entering a password each time. And the problem with mounting the windows drive in Fedora... I will probably post this in another question if this problem persists. Kirill.

not_for_sale gravatar imagenot_for_sale ( 2014-01-06 14:58:29 -0500 )edit

Hi @Ahmad, I am facing exactly similar problem in my asus notebook. I wanted to follow your answer to get my windows 8.1 back, but when I disable the CSM/Legacy mode, Fedora installer cannot boot - its only possible with CSM enabled. Do you have any suggestion for me?

Maruf gravatar imageMaruf ( 2015-01-25 14:11:15 -0500 )edit

answered 2014-01-05 06:33:58 -0500

FranciscoD_ gravatar image

You need to install grub. That's all. Please read this page and follow the commands.

edit flag offensive delete link more


Thanks! Unfortunately, it doesn't work. Or I do something wrong. 'grub2-install /dev/sdb' returns 'Path /boot/grub2 is not readable by GRUB on boot. Installation is impossible. Aborting'. I assume the reason is because I am in EFI mode now. So I try 'yum install grub2-efi shim' and get 'File /usr/bin/yum, line 28, in <module>' 'import yummain' 'ImportError: no module named yummain'.

not_for_sale gravatar imagenot_for_sale ( 2014-01-05 06:39:36 -0500 )edit

Question Tools


Asked: 2014-01-05 06:02:39 -0500

Seen: 5,288 times

Last updated: Jan 05 '14