Error /dev/hdX does not have any corresponding BIOS drive and Solution
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.
See also
Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
Related Other Helpful FAQs:
- Install Linux on Serial ATA (SATA) drives
- Buffer I/O error on device fd0, logical block 0 error and simply soultion
- Linux LILO boot procedure freezes with LI characters (Lilo boot loader LI error)
- Analog Input: Cannot display this video mode error and solution
- Linux create an installation boot disk
Discussion on This FAQ
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: bios, debian linux, grub boot loader, grub install, grub-install _command, linux grub, map, master boot record



August 31st, 2006 at 4:15 pm
the answer is slightly wrong - you should use “–recheck” rather than “-recheck”
August 31st, 2006 at 4:16 pm
thats two dashes you should use (on my monitor it looks like one)
August 31st, 2006 at 6:54 pm
Huffers
Dam html .. sorry for trouble I just put code tag around command.
Appreciate your post.
October 20th, 2006 at 2:07 pm
This is AWESOME HELP, THANK YOU.
I am a newbie to Linux, have put it off for about two years.
Spent three days with trying to reconfigure GRUB, internet search require EXTREMELY focussed searches to find articles like this. SAD, but true. Alls I could do is REINSTALL the ENTIRE LINUX OS, EACH TIME MY GRUB went bad. What an idiotic approach, to a simple problem.
ClEAR IT ALL OUT in 3 steps:
1) fdisk /mbr
October 20th, 2006 at 7:40 pm
Glad to know you liked our solution.
Appreciate your post.
January 2nd, 2007 at 9:12 am
Thank You for Your help!
January 8th, 2007 at 3:43 am
Thanks for the info! saved me a bunch of time
January 9th, 2007 at 1:22 pm
thank you for this, it helped me solve my problem with this error. Im bookmarking this page
January 14th, 2007 at 3:54 am
I have the same problem but when I do grub-install –recheck /dev/hda I get:
The file /boot/grub/stage1 not read correctly
I removed the file and I get the same error
January 14th, 2007 at 11:12 pm
Make sure you are using correct device name.
July 3rd, 2007 at 9:36 pm
another thanks for here…
September 23rd, 2007 at 8:20 am
hmmm…
i tried this and i still get
/dev/sda1 does not have any corresponing BIOS drive
not too sure what to do other than reinstalling debian…
October 26th, 2007 at 1:14 pm
Cheers, this one had me scratching my head for some time
December 12th, 2007 at 11:09 am
THANKS a lot. This simple option is the end of many days of discouragement !
December 18th, 2007 at 9:56 pm
If you are using devfs you will have no files under /dev in a rescue environment so this why you are getting this message:
/dev/sda1 does not have any corresponing BIOS drive
You may check if this is your case by mounting your root filesystem and issuing
ls /devyou will have no files here
or
cat /etc/fstab
and you will see devfs there
As an workaround you may create temporarily devices with mknod
Check
Cheers,
C.
December 24th, 2007 at 10:03 pm
Yeah… this helped me too, thanks!
PS: weird when google is better than official docu on this…
February 3rd, 2008 at 5:28 am
Very nice. I had this problem because I was trying to use a Gentoo live CD to recover a Ubuntu install (after reinstalling Vista (blech)). Gentoo mapped the drives in a different order and made it so my real HD didn’t correspond to a BIOS drive.