Re: How to get GRUB back by using grub-install

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

 



hi,

After u boot into the rescue CD, try:

grub-install /dev/hda --root-directory=/mnt/sysimage.

This should solve the problem, or else try:

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

karthik

--- Hong Hsu <honghsu@bellatlantic.net> wrote:
> Greeting All,
> 
> This problem stops me for two days, and wonder this
> is right place to 
> get a help.
> 
> I have a dual boot machine running Windows ME and
> Linux kernel 2.4.18-3. 
>  After upgrade the ME to Windows XP, the GRUB
> (version 0.91) no longer 
> works.  In order to get GRUB master boot loader, I
> boot from boot floppy 
> with CD 1 and
> boot: linux rescue
> 
> it mounts system to /mnt/sysimage, then change
> directory
> sh-2.05a#cd /mnt/sysimage
> sh-2.05a#grub-install   /dev/hda
> 
> Got error message: /sbin/grub Not Found
> 
> but grub is there!  Then I copy grub into /sbin and
> run grub-install 
> again. Got another error message:
> /usr/share/grub/i386-redhat/stage1: Not found
> 
> Does anyone have had successful experience on
> grub-install with XP and 
> kernel 2.4.18-3?   It seems the grub-install has a
> bug.
> 
> Your response will be appreciated,
> -Hong
> 
> 
> --
> Kernelnewbies: Help each other learn about the Linux
> kernel.
> Archive:      
> http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux