Replacing old hard disk with a new one

yonas abraham yonas at erimp3.com
Thu Oct 27 00:12:23 UTC 2005


On Wed, 2005-10-26 at 19:59 -0400, Paul Smith wrote:
> On 10/26/05, Paul Smith <phhs80 at gmail.com> wrote:
> > > > Could you please tell me how to install grub to MBR?
> > >
> > > reboot to the CD1
> > > hit F5
> > >
> > > on the command line type   linux rescue
> > >
> > > it should find your Fedora installed system and enter
> > >
> > > chroot /mnt/sysimage
> > >
> > > /sbin/grub-install /dev/hda
> > >
> > > that should put Grub back to MBR.
> >
> > Thanks, Yonas, but no success:
> >
> > # /sbin/grub-install /dev/hda
> > Not found or not a block device.
> >
> > If I replace hda with hdb or hdc, grub-install gives the same result.
> >
> > Any further ideas?
> 
> Now, I am using a Knoppix liveCD, and having some progress:
> 
> $ grub-install --root-directory=/mnt/hdc1/boot/ /dev/hda
> /dev/hda does not have any corresponding BIOS drive.
> $
> 
> Can we go further?
> 
> Paul
> 
can you check what is on /etc/mtab after you chrooted?

if it is empty try to do
cp /proc/mounts /etc/mtab





More information about the fedora-list mailing list