LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Grub TEXT CONSOLE!! HELP!! (https://www.linuxquestions.org/questions/linux-newbie-8/grub-text-console-help-350149/)

coolblue 08-05-2005 01:02 AM

Grub TEXT CONSOLE!! HELP!!
 
I installed fc4, installed grub to mbr of hda, after the reboot all I get is this:

grub>

thats the text console.

I could neither boot into Xp nor FC4.

I then installed PCLinuxOS, again installing grub to the default place that is mbr of hda, rebooted, AND GOT THE SAME GRUB TEXT CONSOLE!!

I can't boot into ANY OS at all! HELP ME!!!

But wait...I then installed Yoper which comes with LILO and its working alright but I WANT TO INSTALL FC4 or PCLinuxOS but I'm afraid I'll get the SAME STUPID GRUB ERROR! Which means I can never install any distro with Grub!!

Plz tell me how to troubleshoot this problem if I get this once again when I install FC4 or Suse 9.3 (both of which use Grub!)

PLZ GIVE DETAILED STEP-BY-STEP GUIDE AS I'M A NEWBIE:)

Thanks a lot.

coolblue 08-05-2005 01:07 AM

One more thing I wanted to say...when I got this error with fc4, i tried reinstalling grub to mbr from grub text console (with help from ppl at fedoraforum) and it did get installed but when I rebooted I got the same thing......grub>

Also when I'm in grub>, how do I reboot? With what command?

Typing reboot in grub> doesn't do anything. I had to press reset button everytime.

Thanks

b0nd 08-05-2005 01:23 AM

i'm not sure how much of help it may be.....
just sharing my experience with you.
.........
1.boot from the linux cd
2.go into "linux rescue" mode and then post the details of /etc/grub.conf
3 also post the details of your partition table......fdisk /dev/hda
........
then lets see........

volvogga 08-05-2005 01:45 AM

Not sure why reboot didn't work. You could try 'halt', which is supposed to shutdown the computer, although then you would be stuck reching down for the button again. I don't know about the GRUB command line, but Linux is case sensitive, so if CAPS Lock was on, that may have caused problems. Here is the site for GRUB's commands...

http://www.gnu.org/software/grub/man....html#Commands

Also, I believe that typing 'help --all' will output all of the available commands.

It is possible to boot your OS from the command line, but you have to know your hard drive and linux setup very, very well.

coolblue 08-05-2005 12:49 PM

Can't anyone tell me how I can boot into Windows or Linux:(
I've heard that this can easily be done in Grub shell...but EXACTLY HOW?

tuxrules 08-05-2005 01:25 PM

At grub prompt, try this

Code:

grub > grub --help
You would be able to see help on it. From there you can boot either OS from the commands included in the link given by volvogga.

You can try this to boot windows

grub > root(hd0,0)
grub > boot

Issue the above commands and you would be able to boot windows.

If you want to boot Linux (Fedora in your case) you would have to know the kernel name and initrd file (if used) and also the disc/partition where it is installed.

Tux,

coolblue 08-05-2005 10:22 PM

Thanks tuxrules & others.....but how do i know whats my kernel name, intirid file & partition?? And supposing i know all this, how do i use it to get to linux?

thanks again, reply soon

volvogga 08-05-2005 10:30 PM

Tuxrules is right. If that doesn't work, you could try..

rootnoverify (hd0,0)
chainloader +1
boot

To find your other partitions and such, follow ruudra's advice and boot the first disk of FC4, type linux rescue (I think thats right, it tells you the exact command at the boot screen if you press the F-Key that goes with it), and follow the on screen instructions to mount your hard drive image into the rescue terminal. From there you can use the fdisk -l /dev/hda (if it is the primary master) command, as ruudra suggested, to see your partition information, and you can view (and edit if you know what to change, i think) you grub.conf file in the /boot directory.

I think that ruudra's method would be your best bet at this point.


All times are GMT -5. The time now is 03:04 PM.