[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Grub problem



I had the same error messages---just before my HD died!

Do a grub-install --recheck /dev/hda  <---This checks the drive mapping.
then a: grub-install /dev/hda   <--if the first was successful.  That should rewrite the
boot block.

mw

Ken Arck wrote:
> 
> I can't boot off my HD anymore. Booting from a floppy works fine and the
> system comes up 100%. When trying from the HD, I get the error (to the effect)
> 
> Can't mount ro root=/dev/hda3
> 
> I ran grub install to no evail.
> 
> Some info:
> 
> [root reagan grub]# df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/hda3             7.2G  3.1G  3.8G  45% /
> /dev/hda2              38M   18M   18M  49% /boot
> none                   61M     0   60M   0% /dev/shm
> 
> [root reagan grub]# more device.map
> # this device map was generated by anaconda
> (fd0)     /dev/fd0
> (hd0)     /dev/hda
> 
> # grub.conf generated by anaconda
> #
> # Note that you do not have to rerun grub after making changes to this file
> # NOTICE:  You have a /boot partition.  This means that
> #          all kernel and initrd paths are relative to /boot/, eg.
> #          root (hd0,0)
> #          kernel /vmlinuz-version ro root=/dev/hda3
> #          initrd /initrd-version.img
> #boot=/dev/hda
> default=0
> timeout=10
> splashimage=(hd0,0)/grub/splash.xpm.gz
> title Red Hat Linux (2.4.18-10)
>         root (hd0,0)
>         kernel /vmlinuz-2.4.18-10 ro root=/dev/hda3
>         initrd /initrd-2.4.18-10.img
> title Red Hat Linux (2.4.18-5)
>         root (hd0,0)
>         kernel /vmlinuz-2.4.18-5 ro root=/dev/hda3
>         initrd /initrd-2.4.18-5.img
> title Red Hat Linux (2.4.18-3)
>         root (hd0,0)
>         kernel /vmlinuz-2.4.18-3 ro root=/dev/hda3
>         initrd /initrd-2.4.18-3.img
> 
> Help? <g>
> 
> Ken
> 
> _______________________________________________
> Valhalla-list mailing list
> Valhalla-list redhat com
> https://listman.redhat.com/mailman/listinfo/valhalla-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]