Q. After windows XP installation I lost my Grub boot loader and now when I try to run grub-install command to restore Grub in master boot record. But I am getting an error that read as follows:
/dev/sda does not have any corresponding BIOS drive
How do I fix this problem?
A. grub-install is use to install GRUB on your drive. If you are getting error try to recheck device map.
Type the command as follows:
# grub-install --recheck /dev/sdaWhere,
- –recheck: Probe a device map even if it already exists
- /dev/sda : Replace /dev/sda with your actual device name.
Above command should fix the problem.