linux学习笔记(gentoo)

Error /dev/hdX does not have any corresponding BIOS drive and Solution

by NIXCRAFT on MAY 28, 2006 · 30 COMMENTS· LAST UPDATED OCTOBER 26, 2007

in LINUX, TROUBLESHOOTING, WINDOWS

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.

http://www.cyberciti.biz/faq/error-devhdx-does-not-have-any-corresponding-bios-drive-and-solution/

你可能感兴趣的:(linux学习笔记(gentoo))