LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-15-2005, 11:32 AM   #1
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
cant install grub: /dev/hda no corresponding bios drive


I have an AMD64 system with an nforce-3 chipset.
supports SATA, but i dont use it.

i cannot install GRUB to my MBR.

a while ago, grub failed, just stoped booting, it just hung at the word "grub" before it usualy says loaging stage 2.

i booted my rescue disk, and ran "grub-install --root-directory=/mnt/root/ /dev/hda"
i get a "/dev/hda" no corresponding bios drive error"

if i enter grub, and run setup (hd0) i get an invalid device string.

my hard drive is a normal IDE disk attached to primary master.

This was all on Gentoo.

i installed Fedora core3 to a spare partiton, the fedora installer sucessfullly fixed grub, but now grubs config files are on the wrong partiton.

ive tried to installg rub from fedora, but i get the exact same error !

i have ro run an entire fedora core3 install just to re-install brub to MBR.

i cannot rmeove the fedora partiton.

and the fedora boot disk in rescue mode doesnt allow you to install grub. any help ?
 
Old 01-15-2005, 12:58 PM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
The drives may be listed as something other than /dev/hda because of SATA .
If you boot up with the rescue cd to the command prompt, type: fdisk -l to see what the drives are called.
 
Old 01-16-2005, 02:50 AM   #3
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
I have a sata and before I installed.....I used knoppix 3.6 kernel 2.4 to partition as
cfdisk /dev/sda
then used qtparted to format partitions.

2) if I use the 2.6 kernel on knoppix it sees the drive as hde.

3) I have a amd64 but using a 32 bit Mdk 10.1 not the 64 bit version but I don't think that makes any difference to the partition issue.
 
Old 01-16-2005, 02:55 AM   #4
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
qwijibow, I ran into this problem a day or so ago. I can't be sure, but I think grub's device map file got screwed somehow. Try this:
grub-install --recheck /dev/hda

The --recheck will force grub to go through its drive mapping routine again and display what it found and how they're mapped. Honestly, I used the exact same command and the exact same install location for grub with the addition of the --recheck, and things started working again. Weirdest thing.

At the very least, it will indicate if grub is having a problem seeing a drive.
 
Old 01-16-2005, 11:30 AM   #5
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
Great, worked perfectly..
well, ive not re-booted yet, but if i dont report back within 5 minutes, cnayone can assume it did.

The difference, is i removed the SATA driver from loading at bootup since i dont use it, maybe grub freaked when SATA dissapreared.

anyways, thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
BIOS sees /dev/hdd GRUB does not ? Janet Estabridis Linux - Distributions 8 10-28-2005 11:10 AM
Booting to thumb drive with Grub without BIOS support, possible? Baix Linux - Software 1 06-24-2005 12:12 PM
Hard drive not seen in BIOS - Grub issue? toko Linux - Hardware 1 04-16-2005 06:02 PM
Will "grub-install /dev/hda" kill Windows XP MBR? Zullocrit Linux - Newbie 3 09-25-2004 09:50 AM
Grub install messed up hda lokee Linux - Software 5 11-20-2003 06:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration