LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   GRUB loading, please wait ERROR 15 (https://www.linuxquestions.org/questions/linux-newbie-8/grub-loading-please-wait-error-15-a-667086/)

ceantuco 09-04-2008 08:58 AM

I don't think the problem was the HD because my HD is not even 4 months old. I really don't know what caused the problem but I'm glad my system is up and running. I was just not patience enough to wait for an answer and I re-install linux. lol

wvanes 09-05-2008 03:52 AM

Quote:

Originally Posted by Agrouf (Post 3267237)
Ouch! That's like using a nuclear bomb to kill a fly!
You just had 2 commands to type:

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

Just had to know if grub was on hd0,0 or somewhere else. If you didn't know, you just had one additional command to find it.
That would have took 2 seconds, maybe up to 10 seconds if you type slow.

Hi,
I am a brand new user of Linux (openSUSE 10.3). I try to learn as much of Linux as I can, also by reviewing questions and answers.I am intrigued by your answer, as I don't understand the commands. Perhaps you could give me some sort of explanation. (At the moment I am studying bash)
The reason for asking is the following: I am migrating from Windows XP to Linux (which will take at least one year). At this moment I cannot miss the use of Windows. For that reason I use Grub as a bootmanager. I am on the verge of upgrading to Linux openSUSE 11.0. However I dread the situation, in which, after installing, Grub should not work anymore as it used to do.
Look forward to your answer.
Regards,
Wim van Es (Holland)

Agrouf 09-05-2008 04:20 AM

Hello,
grub has a command line which can be used even before you boot linux. If your mbr is out of order, you can still access grub command line from a liveCD or pretty much anything that can boot. From bash, the grub command launches grub command line. grub prompt is 'grub>'
man grub will give you a lot of informations about grub commands.
grub has a different naming convention than linux for drives. hd0 is the first BIOS drive, HD1 the second, etc.. (hd0,0) is the first partition of the first drive and (hd1,4) is the 5th partition of the 2nd drive.
grub has several stages. The first stage is located in the mbr (on the boot drive). This stage just tries to read the hard drive to find the configuration and boot. The configuration is located in the filesystem on a partition.
So, when you write: root(hd0,0) at grub prompt, you tell grub that the configuration is located in the filesystem of the 1st partition of the 1st drive.
Then, when you type setup(hd0), you tell grub to install itself in the mbr of the first drive (the one that is supposed to boot from your BIOS) and that it can read the configuration on (hd0,0).
if you erase your mbr, typing those 2 commands restore it. Also, if you move your grub configuration to another drive, you have to type those 2 commands so grub finds it.
The trick if you don't know where your configuration is is to use the find command, as explained in this thread.

ceantuco 09-05-2008 09:24 AM

I didn't update windows either but I recall connecting a Virus infected HD to my machine and installing AVG free edition to clean up the infected HD using windows. Maybe AVG detected GRUB as a threat on the MBR? I also recall booting to Linux after I installed AVG.

ceantuco 09-05-2008 09:30 AM

If I would've known that to fix my grub issue was as simple as typing grub>root(hd0,0)
grub>setup(hd0)
. I took a note of it and I really HOPE it would happen again to try both commands!!! :)

wvanes 09-06-2008 06:24 AM

Quote:

Originally Posted by Agrouf (Post 3270368)
Hello,
grub has a command line which can be used even before you boot linux. If your mbr is out of order, you can still access grub command line from a liveCD or pretty much anything that can boot. From bash, the grub command launches grub command line. grub prompt is 'grub>'
man grub will give you a lot of informations about grub commands.
grub has a different naming convention than linux for drives. hd0 is the first BIOS drive, HD1 the second, etc.. (hd0,0) is the first partition of the first drive and (hd1,4) is the 5th partition of the 2nd drive.
grub has several stages. The first stage is located in the mbr (on the boot drive). This stage just tries to read the hard drive to find the configuration and boot. The configuration is located in the filesystem on a partition.
So, when you write: root(hd0,0) at grub prompt, you tell grub that the configuration is located in the filesystem of the 1st partition of the 1st drive.
Then, when you type setup(hd0), you tell grub to install itself in the mbr of the first drive (the one that is supposed to boot from your BIOS) and that it can read the configuration on (hd0,0).
if you erase your mbr, typing those 2 commands restore it. Also, if you move your grub configuration to another drive, you have to type those 2 commands so grub finds it.
The trick if you don't know where your configuration is is to use the find command, as explained in this thread.

Thanks a lot! This is just the information I was looking for.
Regards,
Wim

jeroach 07-29-2009 02:09 PM

GRUB loading, please wait ERROR 15
 
I get this error but I have no options from there. hitting any key does nothing. My only option is to turn it off.

Help!

linus72 07-29-2009 02:17 PM

jeroach
Welcome to LQ!

If you wish, start a new thread in newbie forum
about your issue
grub error?

and please give all info on your pc, what distro(s)
whether you have a cd drive, a livecd, etc?

we need to know all info about your specific situation?


All times are GMT -5. The time now is 08:58 PM.