SCIENTIFIC-LINUX-USERS Archives

February 2007

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Troy Dawson <[log in to unmask]>
Reply To:
Troy Dawson <[log in to unmask]>
Date:
Mon, 5 Feb 2007 09:13:52 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (55 lines)
Ioannis Vranos wrote:
> I have SL 4.4 x86 and GRUB takes too much time to load, showing a 
> "Loading Stage1.5" message. I have erased all its files in /boot and 
> reinstalled it from the 4.4 Live CD, but the same happens.
> 
> Any suggestions?

Hi,
Ever since RH 8 or 9, when they switched to grub, there has been a 
problem that at some random times, the grub doesn't install correctly at 
the end of the install.  Some machines have a much higher probability of 
this happening than others.
This has been tracked and tried to be fixed by many.  But it's really 
hard when it doesn't consistently do it, even on the same machine for 
with the same settings on an install.  It happens on Fedora, RHEL, 
CentOS and SL, as well as others.

Anyway, the current way to fix this is to boot into the installer rescue 
mode, chroot into your root partition, and run grub-install <drive>

Example:
You're hard drive is a regular ide drive, which would be /dev/hda.  You 
put in an installation CD, at the boot prompt type
   rescue
or
   linux rescue
It proceeds, asking your language, if you want to start networking, if 
you want read only (just hit continue on this screen), and then when 
it's setup, it tells you the chroot command.
You then chroot into the enviroment
   chroot /mnt/sysimage
And then run
   /sbin/grub-install /dev/hda
You would substitue /dev/hda with whatever drive you have.  If you don't 
have a clue, then you can do a
   grep boot=/dev/ /boot/grub/grub.conf
and you should get back something like
   #boot=/dev/hda

Now, here's where you might have a problem.
You deleted your /boot/grub, and along with it, the grub.conf.
If you just copy everything over from a different computer, or 
installation, it may or may not be configured for your hardware.  It may 
or may not be configured for your kernels.  The odds are that things are 
not configured for your hardware and/or kernels.
The only way to really tell is to do the grub-install command.  It will 
tell you if things aren't right.

Troy
-- 
__________________________________________________
Troy Dawson  [log in to unmask]  (630)840-6468
Fermilab  ComputingDivision/LCSI/CSI DSS Group
__________________________________________________

ATOM RSS1 RSS2