[clue-tech] Help Recovering from grub-install error

Collins Richey crichey at gmail.com
Sat Mar 26 14:11:12 MST 2005


On Sat, 26 Mar 2005 20:30:37 +0000, gthrelk at comcast.net
<gthrelk at comcast.net> wrote:

[ snips ]

> I made the mistake of going to Linux and issuing a grub-install  /dev/hda1 
> (first disk - first partition).  Now grub comes up again but I can only boot 
> into Fedora.

I missed this information first pass reading; see comments below.



>    Device Boot      Start         End      Blocks   Id  System
> /dev/hda1   *           1        3738    30025453+   c  W95 FAT32 (LBA)
> /dev/hda2            3739        7476    30025485    f  W95 Ext'd (LBA)
> /dev/hda5            3739        7476    30025453+   b  W95 FAT32
> 

>    Device Boot      Start         End      Blocks   Id  System
> /dev/hdb1   *           1          13      104391   83  Linux
> /dev/hdb2              14        2368    18916537+  83  Linux
> /dev/hdb3            2369        2498     1044225   82  Linux swap
> 

>    Device Boot      Start         End      Blocks   Id  System
> /dev/hdc1   *           1        4943    39704616    c  W95 FAT32 (LBA)
> /dev/hdc2            4944        9729    38443545    f  W95 Ext'd (LBA)
> /dev/hdc5            4944        9729    38443513+   b  W95 FAT32
> 

[ dumps snipped ]

After reading more carefully, I believe that your grub setup was at
fault. From the fdisk output, hdb1 is your /boot partition, and hdb2
is your root partition. Please boot linux and setup grub again as
follows and then try with your grub.conf as is ('root' or
'rootnoverify' for the windows stanza should make little difference.
As root user or su or sudo:

grub

root (hd1,0)    <== this is hdb1

setup (hd0)      <== this a drive spec, not a partition spec

This will rewrite the mbr on hd0, and you should be good to go.

If this doesn't work, send exact details with any error messages.

HTH,

-- 
 Collins
       When I saw the Iraqi people voting three weeks ago, 8 million of them, 
       it was the start of a new Arab world.... The Berlin Wall has fallen. 
               - Lebanese Druze leader Walid Jumblatt



More information about the clue-tech mailing list