Ask Your Question
0

grub rescue with Windows 8.1 dualboot

asked 2015-06-23 10:31:11 -0600

Pooik gravatar image

Hi,

I was running Windows 8.1 (sda) and Ubuntu (sdb) as dualboot (one physical disc, splitted when the Ubuntu was installed). Now I have erased the Ubuntu and installed the Fedora instead.

And I'm getting:
> error: no such device: 58ABF29C...
grub rescue>

grub rescue> ls
returns this:
(hd0) Filesystem is unknown
(hd0,msdos5) ext2
(hd0,msdos2) Filesystem is unknown
(hd0,msdos1) Filesystem is unknown
(hd1) Filesystem is unknown
(hd1,msdos3) ext2
(hd1,msdos2) Filesystem is unknown
(hd1,msdos1) ext2

If I understood correctly, the problem is that the disc partitions are "renamed/renumbered" when I have erased the Ubuntu.

How can I restore the grub?

Thank you

PS: and of course I need to keep the partition with Windows, which I'm not able to boot in now.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-06-23 12:32:24 -0600

Boot into rescue mode (using the DVD/USB) - chroot to /mnt/sysimage and do a grub-install --recheck.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2015-06-23 10:31:11 -0600

Seen: 729 times

Last updated: Jun 23 '15