RE: Linux redhat 4 boots into grub prompt.



I just tried this one : The find command fails with - error 15 - file
not found . I tried it with stage2 ,3 etc.. No luck



grub> find /grub/stage1 (find where grub is)
grub> root (hd0,0) (specify where your /boot partition
resides)
grub> setup (hd0) (install GRUB in the MBR)
grub> quit (exit the GRUB shell)

-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx
[mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of RR
Sent: Tuesday, July 25, 2006 11:36 AM
To: General Red Hat Linux discussion list
Subject: Re: Linux redhat 4 boots into grub prompt.

I could be wrong in understanding the problem but you might try
reinstalling grub on the root partition. Something like this

grub> root (hd0,0)
grub> setup (hd0)

and then repeat for the 2nd drive using hd1 of course. You need to be
sure where your root partition is however and replace it in the hd0,0
command.

Hope that helps
\R

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

-----------------------------------------
"This email (including any attachments) is confidential. If you
are not the intended recipient you must not copy, use, disclose,
distribute or rely on the information contained in it. If you have
received this email in error, please notify the sender immediately
by reply email and delete the email from your system.
Confidentiality and legal privilege attached to this communication
are not waived or lost by reason of mistaken delivery to you. Lend
Lease does not guarantee that this email or the attachment(s) are
unaffected by computer virus, corruption or other defects. Lend
Lease may monitor incoming and outgoing emails for compliance with
its Email Policy. Please note that our servers may not be located
in your country."


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • Re: [opensuse] 10.3 upgrade
    ... mount the root partition of the drive, ... itself is on an XFS file system. ... GRUB can also read that sector, and the ones directly after it, ...
    (SuSE)
  • Re: 10.3 to 11.0 update fails
    ... installed system. ... Looked at Grub and the entries seemed to be OK. ... contain vmlinuz or initrd! ... Will creating or finding those files solve the "no valid root partition" ...
    (alt.os.linux.suse)
  • Re: After kernel-update 9.1, boot fails :-(
    ... Then I found out the problem lied in Grub. ... reason the root partition in the boot command was set to 302, ... was no partition 302 it failed to boot. ... It is possible to get around this by specifying the root partition at the ...
    (alt.os.linux.suse)
  • Re: [SLE] Grub help?
    ... >and attempting to mount the root partition and run grub from there gets odd ... >error messages that the file does not exist. ... >reinstall the first stage grub so that it knows the root partition is now on ... When you say that running grub in the rescue system produces a "file not ...
    (SuSE)
  • Re: Grub wont boot to linux partion
    ... > Error 17 cannot mount selected partion. ... Grub doesn't ... When GRUB was first installed you had the root partition of Linux on hda5 ...
    (linux.redhat.misc)