Ask Your Question
0

Cannot Boot Fedora Partition on Dual Boot System

asked 2016-11-21 11:51:45 -0500

graceful gravatar image

updated 2016-11-21 12:04:38 -0500

Win10/Fed24/Gnome3/MBR

I do not have a grub2 prompt. I will have to reinstall grub2 from a usb stick.

After a recent backup to an image file using clonezilla, "Tweak Tool" stopped working. I then tried to restore my hdd from the archived image; but it failed to complete, stating that the Fedora partition on the image did not exist. The Fedora partition on the hdd still exists, with all the data still apparently intact. Is there anyway to reinstall grub2, so that I can recover my dual boot menu; and what software do I need?

Thanks

edit retag flag offensive close merge delete

Comments

It's Windows 10 and MBR partition layout? That's very unusual. I would expect EFI boot with GPT partitions.

ssieb gravatar imagessieb ( 2016-11-22 02:30:18 -0500 )edit

I can assure you that I am on legacy. This system started as a Win7/Ubuntu14.04 dual. I then upgraded to Win10, when it was free to do so. I then deleted the Ubuntu partition and installed Fedora 24 along side. I upgraded the BIOS myself, so I know that it is legacy.

Please provide explicit steps for legacy. I haven't done this before; and I haven't been able to find explicit steps for legacy on the net.

Thanks

graceful gravatar imagegraceful ( 2016-11-22 05:59:01 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-11-21 23:13:11 -0500

Yes, you can reinstall grub2.

  1. Boot from a live image of Fedora or another distro
  2. mount all your of Fedora filesystems in the same relative path
  3. chroot into the root of your Fedora filesystem
  4. Use dnf to reinstall the appropriate grub packages
  5. reinstall the bootloader[*0]
  6. Use grub2-mkconfig [*0] to regenerate the grub config
  7. reboot.

[*0] I'm not describing literal usage here because it varies based on whether you have an efi or legacy boot setup, especially when dual booting, and if you do it the wrong way you'll make your problems worse. We can expand in the comments if needed.

edit flag offensive delete link more

Comments

I can assure you that I am on legacy. This system started as a Win7/Ubuntu14.04 dual. I then upgraded to Win10, when it was free to do so. I then deleted the Ubuntu partition and installed Fedora 24 along side. I upgraded the BIOS myself, so I know that it is legacy.

Please provide explicit steps for legacy. I haven't done this before; and I haven't been able to find explicit steps for legacy on the net.

Thanks

graceful gravatar imagegraceful ( 2016-11-22 05:58:01 -0500 )edit

On EFI systems, reinstalling the package does (5) given a complete chroot. On legacy systems, use grub2-install to install to the root node of the drive, ie /dev/sdx not /dev/sdx1. Skim the manual for each command for best results.

randomuser gravatar imagerandomuser ( 2016-11-29 08:23:30 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-11-21 11:51:45 -0500

Seen: 53 times

Last updated: Nov 21 '16