Ask Your Question

Lost all boots after fedora 24 install

asked 2016-06-23 14:12:20 -0600

pflau gravatar image

I installed fedora 24 (from scientific live dvd) to (hd1,1) which had fedora 15 before. Install completed but I lost all boots including previously working boots. Booting comes to a stop at a fedora 15 GRUB prompt, but the fedora 15 partition has just been reused. How can I recover/boot my systems? .

grub> version GNU GRUB version 0.97-71.fc15

grub> setup (hd1,1) or setup (hd1,0) failed to find stage1 file

grub> geometry hd0 win7....

hd1 hd1,0 fedora 13 hd1,1 fedora 15 <--- reclaimed (deleted) for fedora 24 install hd1,2 partition type 0x8e hd1,3 partition type 0x7

edit retag flag offensive close merge delete


Why didn't fedora 24 install replace the fedora 15 GRUB? Do I need to get my GRUB updated?

pflau gravatar imagepflau ( 2016-06-23 14:48:38 -0600 )edit

You have two hard drives? Is the BIOS booting from the first one or second one? Whichever one it is, try booting from the other one.

ssieb gravatar imagessieb ( 2016-06-24 01:14:39 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2016-06-25 02:35:51 -0600

pflau gravatar image

updated 2016-06-25 03:00:49 -0600

Reversing boot hdd order (s2 before s1) in BIOS did not help. The fc15 GRUB has to be manually overwritten with fc24 GRUB2. After fc24 installation completes to the second hdd (/dev/sdb), do not reboot right a way.

  1. while still running In the live dvd, open a command prompt.
  2. su (to root. It works without password!)
  3. cfdisk /dev/sdb (to find out the device name of the / or /boot directory. lvdisplay to show logical volumes if LVM)

     #cfdisk /dev/sdb
  4. In my case, / is /dev/sdb2 without a separate device for /boot (otherwise, you have to mount the boot dev to /x/boot too). Mount the just installed / to a temporary mount point

     #mkdir /x
     #mount /dev/sdb2 /x
  5. Overwrite the old grub on the first hdd with grub2 and boot info of the new installation

     #grub2-install --root-directory=/x /dev/sda
  6. reboot and eject the dvd to test
edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-06-23 14:12:20 -0600

Seen: 699 times

Last updated: Jun 25 '16