LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Baaaah! GRUB suddenly doesn't allow graphical mode! (https://www.linuxquestions.org/questions/linux-general-1/baaaah-grub-suddenly-doesnt-allow-graphical-mode-262067/)

himm 12-03-2004 04:39 AM

Baaaah! GRUB suddenly doesn't allow graphical mode!
 
Ok, this is how it started.

I was overclocking my CPU (only a little) in the BIOS. I then loaded Windows (I have a dual boot system) and found that it wasn't working well. So I reduced the clock speed to its stock value. When I loaded Windows (XP Pro) again, I got a STOP error before Windows even started. I tried safe mode and it gave the same stop error.

So I loaded Linux to fix this problem. I loaded SUSE Linux 9.1 and started reading the Microsoft help pages, which suggested disabling shadowing and L2 cache to get into Windows. During this time Linux worked fine.

Then I went into my BIOS and disabled the L2 cache. But when GRUB was supposed to come, instead of the user-friendly graphical interface I was used to, the "BASH-like command line" opened up. At first I thought it was due to not having the L2 cache, so I enabled it again to see what GRUB would do. But GRUB still starts in command-prompt mode, and I have NO idea how to boot Linux & windows from it!

Question: How do I boot my Linux and windows partition from the bash-like GRUB? AND, how do I enable the graphical interface again?

I have an Intel Pentium 4, 256MB RAM, Windows XP Pro, and SUSE Linux Personal 9.1. My hardrive partitions are as follows...

hda1 - fat32 windows
hda2 - reiser linux
hda3 - linux swap
kernel 2.64-52

teckk 12-07-2004 10:11 PM

Grub should have a line or 2 in it like
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title Your Linux Dist (2.6.4-52)

That is your graphical bootsplash immage.

Also if you can boot the machine and login in text mode
startx
will start x and the default windows manager.

atlesn 12-08-2004 04:36 PM

I think teckk misunderstood.

It is probably BIOS-related trouble, but try this first at the grub-prompt:

root (hd0,0)

You may also use the TAB-button to show possibilities. Write root ( and then tab. You shld see some options, the disks on your system. Write f.ex. 1, and then tab again. You will now see all available partitions on disk 0 (hda). If your partition with the kernel-image is an hda1, write 0 and then press tab to get ) and enter.

Now, write kernel / and tab. You will see a list of files, the files on the partition you chose (grub is nice huh:d). Locate the correct image, and append the option root=/dev/hda2 before pressing enter.

Now write boot, enter (of course).

Post here to let me see how it works!


All times are GMT -5. The time now is 01:50 AM.