Ask Your Question

problem reinstalling grub2 fedora 21

asked 2015-01-02 04:35:51 -0500

yasharne gravatar image

Hi, for some reason I had to reinstall my windows and now grub2 is not working and i go directly to windows.

I tried solution here, but now when i restart my computer, i get message no such device...grub resue>

how can i fix this?


edit retag flag offensive close merge delete



Boot from you pendrive live or dvd live, open a terminal.


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

 grub2-install /dev/sda
davidva gravatar imagedavidva ( 2015-01-04 10:11:04 -0500 )edit

Fantastic. My grub was corrupt so I just put in second command and did a hard reboot and booted into new kernel

SFC gravatar imageSFC ( 2015-07-01 20:08:58 -0500 )edit

3 Answers

Sort by ยป oldest newest most voted

answered 2015-01-04 12:22:52 -0500

fast_rizwaan gravatar image

boot from live-cd and open terminal, find your linux ROOT (/) partition your using "disks" utility (gnome/fedora workstation)

# /dev/sda6 is the linux ROOT (/) which is to be mounted (the ROOT partition)
sudo mount /dev/sda6 /mnt ; # replace /dev/sda6 with your linux root partition say /dev/sda5

sudo mount --bind /dev /mnt/dev &&
sudo mount --bind /dev/pts /mnt/dev/pts &&
sudo mount --bind /proc /mnt/proc &&
sudo mount --bind /sys /mnt/sys

sudo chroot /mnt
# sudo grub2-mkconfig -o /boot/grub/grub.cfg ; #if needed
sudo grub2-install /dev/sda ;#taking sda as the sata disk


edit flag offensive delete link more

answered 2015-01-04 04:24:34 -0500

b10n1k gravatar image
edit flag offensive delete link more

answered 2015-01-03 08:41:28 -0500

deusdara gravatar image


Could you try that guide?

GRUB 2 recovery

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-01-02 04:35:51 -0500

Seen: 12,617 times

Last updated: Jan 04 '15