LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-21-2004, 08:45 AM   #1
utsav_verma
LQ Newbie
 
Registered: Mar 2004
Location: India
Distribution: red hat 9.0
Posts: 21

Rep: Reputation: 15
grub-install isnt working


Hi

I hv formatted my c: and re-installed XP. As expected boot loader was ruined. I run

1 - chroot /mnt/sysimage
2 - grub-install /dev/hda1

(i tried it from hda0-hda10, except hda0, all were giving same error )
/dev/hda1 does not have any corresponding BIOS drive

I hv checked every where, steps r correct. Whats the matter than?

Thanks in advance
 
Old 07-21-2004, 08:47 AM   #2
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31

"what was the error?"

sorry, I'm ad idiot. You already had that

Last edited by jax8; 07-21-2004 at 09:04 AM.
 
Old 07-21-2004, 08:51 AM   #3
utsav_verma
LQ Newbie
 
Registered: Mar 2004
Location: India
Distribution: red hat 9.0
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by jax8
what was the error?
/dev/hda1 does not have any corresponding BIOS drive
 
Old 07-21-2004, 09:06 AM   #4
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
I have never done this before But would assume that using hda0 would have worked but you tried that already.

You said the hda0 returned something different than the error above. What was that?
 
Old 07-21-2004, 09:13 AM   #5
utsav_verma
LQ Newbie
 
Registered: Mar 2004
Location: India
Distribution: red hat 9.0
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by jax8
I have never done this before But would assume that using hda0 would have worked but you tried that already.

You said the hda0 returned something different than the error above. What was that?
Well, i dont remember exact thing but the essence was that it doesn't exist
 
Old 07-21-2004, 09:18 AM   #6
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
check the info page and try a few things

info grub-install

I saw this command, this may work because you would probably have made a /boot partition when you installed

grub-install --root-directory=/boot '(hd0)'

I think the last parameter is just the device name not '(hd0)'
 
Old 07-21-2004, 11:14 AM   #7
DuFF234
LQ Newbie
 
Registered: Jul 2004
Posts: 9

Rep: Reputation: 0
Try just doing:


# chroot /mnt/sysimage
# grub-install /dev/hda


Worked for me! (Notice: no numbers after hda)
 
Old 07-21-2004, 11:15 AM   #8
godzilla_roar20
Member
 
Registered: Jul 2004
Location: PA
Distribution: Fedora Core 1, Knoppix
Posts: 74

Rep: Reputation: 15
try running a fix mbr.
 
Old 07-21-2004, 02:35 PM   #9
utsav_verma
LQ Newbie
 
Registered: Mar 2004
Location: India
Distribution: red hat 9.0
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by jax8
check the info page and try a few things

info grub-install

I saw this command, this may work because you would probably have made a /boot partition when you installed

grub-install --root-directory=/boot '(hd0)'

I think the last parameter is just the device name not '(hd0)'
nah, there is no /boot aprtition
its an usual single partition
 
Old 07-21-2004, 02:36 PM   #10
utsav_verma
LQ Newbie
 
Registered: Mar 2004
Location: India
Distribution: red hat 9.0
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by DuFF234
Try just doing:


# chroot /mnt/sysimage
# grub-install /dev/hda


Worked for me! (Notice: no numbers after hda)
I hv tried it too
 
Old 07-21-2004, 02:56 PM   #11
utsav_verma
LQ Newbie
 
Registered: Mar 2004
Location: India
Distribution: red hat 9.0
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by godzilla_roar20
try running a fix mbr.
can you please guide me abt it?
Since i m a newbie so i dunno much abt it.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
YaST isnt working DickH SUSE / openSUSE 19 06-12-2006 01:22 AM
Multi-OS is that why it isnt working??? CiscoNinja Linux - Newbie 8 10-01-2005 08:05 PM
Sound Isnt Working LinuxNoob1234 Linux - Newbie 8 05-07-2005 01:51 AM
Network isnt working right roger.k Linux - Newbie 2 08-11-2004 07:33 PM
help,windows isnt working Geefthegreat Linux - Newbie 2 04-06-2004 02:06 AM


All times are GMT -5. The time now is 01:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration