LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums HCL Reviews Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-22-2006, 06:27 PM   #1
Red Kite
LQ Newbie
 
Registered: Mar 2006
Location: West of London (England)
Distribution: SUSE 10
Posts: 3

Rep: Reputation: 0
GRUB very slow


Hi,
I have successfully installed SUSE10 dual-booting with Windows XP2.
XP2 is on the first partition of HDD 1 and Linux is on first partition of HDD2.
GRUB is the boot loader.

Problem After the BIOS processing is completed, the PC successfully finds GRUB.
The issues a message "loading GRUB 1.5" it then takes as long to bring up the GRUB selection panel, as it does for a similar system, with dual booted XP systems, to completely load the primary XP system ready for work.

I could perhaps live with this if the selected system were up all day, but it is impractical for any development work when the system (either of them) needs to be rebooted occasionally.

Is there any way of knocking a minute or so off the GRUB 1.5 load time ?

TIA

Red
 
Old 03-23-2006, 12:06 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Something is VERY wrong here. When I boot up, the time from the BIOS looking for a bootable something to the GRUB menu is maybe 1 second.

Do you get any messages while you are waiting for the grub menu?

Hopefully someone here has ideas on how to troubleshoot
 
Old 03-23-2006, 04:04 AM   #3
Red Kite
LQ Newbie
 
Registered: Mar 2006
Location: West of London (England)
Distribution: SUSE 10
Posts: 3

Original Poster
Rep: Reputation: 0
Hi Pixellany
This is the sequence:
BIOS completes
"Grub Loading Stage1.5." time =00.00
"Grub Loading please wait" time =00.30
GRUB menu time =01.02

There are no other messages

This is the first time I have accurately timed the operation, it looks as though there are 2 x 30 second delays built in.

System is AMD2400 (2GHz) with 500MB on a ECS K7S5A Mobo which is about 4 years old but goes well enough for what I need once the OS is loaded.
 
Old 03-30-2006, 10:38 AM   #4
Red Kite
LQ Newbie
 
Registered: Mar 2006
Location: West of London (England)
Distribution: SUSE 10
Posts: 3

Original Poster
Rep: Reputation: 0
Update:

I discovered that I could easily install LILO in place of GRUB and it works fast ! I'll worry some more about GRUB when I have nothing else to do.

Thanks for comments from one happy again user.
 
Old 07-10-2006, 09:49 PM   #5
alma
LQ Newbie
 
Registered: Oct 2005
Location: USA
Distribution: suse 10
Posts: 29

Rep: Reputation: 15
I have a similar problem. GRUB doesn't take that long but since I managed to do suspend-resume, it significantly slowed down even when I don't suspend-resume just reboot or shutdown. Reinstalling GRUB didn't make any difference.
I haven't tried LILO yet though.


Quote:
Originally Posted by Red Kite
Update:

I discovered that I could easily install LILO in place of GRUB and it works fast ! I'll worry some more about GRUB when I have nothing else to do.

Thanks for comments from one happy again user.
 
Old 07-10-2006, 10:08 PM   #6
alma
LQ Newbie
 
Registered: Oct 2005
Location: USA
Distribution: suse 10
Posts: 29

Rep: Reputation: 15
Sorry, posted too quick:
The reason for the slow down was that my /home partition was ext3 while my root partition was reiserfs. Changing the /home partition back to reiserfs, GRUB is quick again..

Quote:
Originally Posted by alma
I have a similar problem. GRUB doesn't take that long but since I managed to do suspend-resume, it significantly slowed down even when I don't suspend-resume just reboot or shutdown. Reinstalling GRUB didn't make any difference.
I haven't tried LILO yet though.
 
Old 06-05-2007, 06:03 PM   #7
pweltz
LQ Newbie
 
Registered: Jun 2007
Location: montreal, qc, canada
Distribution: Ubuntu, Suse (SLES), RedHat (RHEL), knoppix
Posts: 4

Rep: Reputation: 0
other possible solution

Hi,
I had the same problem and in my case I came to suspect grub of wrongly reading my reiserfs filesystem- or checking the journal a long time or something like that.
As stated in grub documentation, it has to interpret every filesystem (ext2,3, reiserfs etc..)
Perhaps the version of reiserfs was too recent vs grub's implementation.

Anyway I solved it by creating a small /boot filesystem under a simple filesystem: ext2
moved all the files there and ran grub

root@t600:/boot/grub# grub
root (hd0,0)
setup (hd0)

and from there it booted fast again.

---
For those interested in the details, I created the partition /boot by reducing slightly my swap space:
swapoff -a,
then fdisk /dev/hda -> delete and recreate swap space minus 40M, created a new partition of 40M type "Linux" 83
mkfs.ext2 /dev/hda3 (in my case it' s the 3rd)
mkswap /dev/hda2 ; swapon -a
mv /boot /boot.orig
mkdir /boot
mount /dev/hda3 /boot
copy the files from /boot.orig to /boot
edit /etc/fstab to have it mounted at boot
then run grub (Note that now the paths have changed from:
kernel /boot/vmlinuz-2.6.21.3 etc...
to
kernel /vmlinuz-2.6.21.3 etc..
in the /boot/grub/menu.lst

Hope it helps...

Last edited by pweltz; 06-14-2007 at 03:58 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse 9.2 & SATA - Slow, Slow, Slow jess1975 SUSE / openSUSE 6 01-28-2007 01:17 PM
Grub 0.97 issues on slackware - grub-install is very slow, & updating menu.lst fails dieyouspammer Linux - Software 1 02-27-2006 02:06 PM
New Fedora Internet connection slow slow slow matrim Fedora 9 07-29-2005 02:39 PM
BIOS to GRUB/Linux Boot Slow After Disk Transfer donv2 Linux - Newbie 2 04-23-2005 12:48 AM
FC2 with grub boot/init very slow zipo13 Fedora 9 08-03-2004 02:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration