Grub is Erroring

I loaded openSuSE on my mom’s computer today and when I restarted after the install, grub said:
Grub Loading Stage 1.5
Grub Loading, Please Wait…

Error 22

I need to fix her computer running again.:frowning:
Thanks,
Sam

HowTo Boot into openSUSE when it won’t Boot from the Grub Code on the Hard Drive

Maybe try this

If you have a Linux Live CD, boot from it and log in. Then open a console window and enter su and you will be at the command prompt with rootly powers and ready to proceed.
If on the other hand you have the openSUSE install DVD, boot from it and on the first menu of options select the Rescue System option. That will start an elementary Linux Live operating system and bring you to the login prompt. Enter the username root and you will be at the command prompt with rootly powers and ready to proceed.
Whichever way you started (the openSUSE install DVD or a Linux Live CD) when you are at the root command prompt, first you find the partition containing openSUSE’s bootloader. Then you reinstall Grub with a pointer to that partition.
First find the openSUSE installation:
You enter this ---------------- grub
Computer returns like this ---- grub>
You enter this ---------------- find /boot/grub/menu.lst
Computer returns like this ---- (hd1,6)

Here, (hd1,6) is Grub’s pointer to my openSUSE installation on drive number 2, partition number 7. Your pointer will be different from my example (hd1,6). Substitute your correct values for my example (hd1,6). Now that you have your pointer, proceed like this:
You enter this ---------------- root (hd1,6)
Computer returns like this ---- Filesystem type is ext2fs, partition type 0x83
You enter this ---------------- setup (hd0)
You see 4-5 lines like this — Checking if /boot/grub/stage1 exists … yes
Computer finally returns this-- Succeeded…Done
You enter this ---------------- quit
You enter this ---------------- reboot

The computer should reboot and present you with the Grub boot menu, from which you can boot into openSUSE.

I have no experience with Linux, so I will need a step by step walkthrough. Also, I have Windows XP on a drive and SuSE on another. One last thing is that the live cd boots directly into a command line and no windows cds will boot.
Sam

Did you install from the live cd? Or a DVD?
I’m guessing the live CD

Boot from the live cd.
At the login type: root and hit enter

All I can do is repeat the earlier steps. Just see, it says ‘You enter this’… and so on. Just follow each step and adjust the Computer returns output accordingly eg: (hd1,6) you might get something quite different, you enter it in the next step according to your output.

You enter this ---------------- grub
Computer returns like this ---- grub>
You enter this ---------------- find /boot/grub/menu.lst
Computer returns like this ---- (hd1,6)

Here, (hd1,6) is Grub’s pointer to my openSUSE installation on drive number 2, partition number 7. Your pointer will be different from my example (hd1,6). Substitute your correct values for my example (hd1,6). Now that you have your pointer, proceed like this:
You enter this ---------------- root (hd1,6)
Computer returns like this ---- Filesystem type is ext2fs, partition type 0x83
You enter this ---------------- setup (hd0)
You see 4-5 lines like this — Checking if /boot/grub/stage1 exists … yes
Computer finally returns this-- Succeeded…Done
You enter this ---------------- quit
You enter this ---------------- reboot

You may want to read this:
Partitioning/Install Guide - openSUSE Forums

When I type in grub, It says -bash: grub: command not found
Sam

Are you entering “grub” in a console that’s from the Installation DVD or the Live CD?

If it’s the live CD, then first enter the command su and press enter then enter the command grub.

that doesn’t work and yes, i’m on a live cd.
Sam

Try to give more information in your answers. More background.
Here’s five questions to fill in the background a bit more:

  1. What version of windows is she running?
  2. Is the focus now on (a) getting windows back with openSUSE too or (b) getting just windows and getting rid of openSUSE or (c) something else?
  3. What Live CD are you using (Gnome or KDE and which version of openSUSE)?
  4. Do you know what brand of video card is in the machine?
  5. When you enter the command:
su

what do you see, what happens?

1 XP Pro
2 A (neither os is working)
3 GNOME 11.1
4 NVidia GForce FX
5 nothing (I’m logged in as root)
Sam

OK
The lack of a GUI is an Nvidia problem – later you need to install drivers
Instead of “grub”, try the full command:

 /usr/sbin/grub