Fedora 22 - easily recover grub
Hi, I have a problem when i was trying to format an usb drive, accidentaly I formatted another thing (/dev/sda1)
and the system created another media drive, but when I restarted my computer I only see the black screen saying error unknown filesystem
(I think that only the grub was deleted) I have already try ls
set prefix...
insmod normal
with all options displayed in ls
, but nothing. Is there any easy way to reinstall the grub in /dev/sda1
and start normally my system? thanks.
What lets you think that you only deleted grub? You are on a system with BIOS firmware, correct? I rather think you may have formatted your boot partition. I would boot a Fedora Live CD and check what exactly is left of your system. If /dev/sda1 was your /boot you will have to do more than reinstalling grub since you are missing the initramfs images (and more...)