At first, Windows 7 was the only OS in the drive.
Then I installed MINT. Accidentally, I formated the
sda1 partition (where the windows 7 bootloader was stored) as ext4, being the mount point of
/boot. So then I couldn't boot Win7 anymore.
(By the way, MINT was installed in the sda5 partition)
Afterwards, I repaired the Win7 bootloader succesfully, which deleted GRUB(2?) loader, thus being unable to boot Mint.
I tried running:
sudo mount /dev/sda5 /mnt sudo grub-install --root-directory=/mnt/ /dev/sda
Result message is:
grub-probe: error: cannot find a device for /boot (is /dev mounted?). Installation finished. No error reported.
And after reboot, I get the
grub> prompt, but no OS options whatsoever.
(Keep in mind, there's no partition assigned for