LinuxQuestions.org
Visit Jeremy's Blog.
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, 07: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, 07: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 08:04 AM.
 
Old 07-21-2004, 07: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, 08: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, 08: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, 08: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, 10: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, 10: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, 01: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, 01: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, 01: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 12:22 AM
Multi-OS is that why it isnt working??? CiscoNinja Linux - Newbie 8 10-01-2005 07:05 PM
Sound Isnt Working LinuxNoob1234 Linux - Newbie 8 05-07-2005 12:51 AM
Network isnt working right roger.k Linux - Newbie 2 08-11-2004 06:33 PM
help,windows isnt working Geefthegreat Linux - Newbie 2 04-06-2004 01:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:03 AM.

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