Ask Your Question
-1

Why can't I use grub in fedora 25 live

asked 2017-06-22 09:14:54 -0600

I booted system with fedora 25 with usb-drive, expecting to use grub to restore the MBR for the fedora I have previously installed, which is the version of 18. But the system seems don't recognize the command "grub" or "grub2" or "grub-install". What's worse, when I try to install grub2 with DNF(internet connected), it tells me that grubs have been found on the repository, but the installation skipped because of dependency issues. Can some people please explain to me these two misteries?

edit retag flag offensive close merge delete

Comments

Strange, because the fedora 25 live does have grub2 available as "grub2-install". How else could it be used to install fedora on a hard disk?

villykruse gravatar imagevillykruse ( 2017-06-22 12:20:19 -0600 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2017-06-22 16:47:40 -0600

Aeyoun gravatar image

You have to setup a chroot with the actual system disk mounted from within the Live system environment. Running grub-install on the Live environment is entirely pointless. From within this chroot of your actual system, you can run grub-install etc. You’ll find great tutorials for this if you spend two minutes searching on the web.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2017-06-22 09:14:54 -0600

Seen: 54 times

Last updated: Jun 22 '17