LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-24-2006, 11:29 PM   #1
robgig1088
LQ Newbie
 
Registered: Aug 2006
Location: Louisiana
Distribution: Ubuntu Dapper
Posts: 23

Rep: Reputation: 15
grub slow; alternative?


hey guys, i just did a fresh ubuntu install on an "old"er computer of mine (2.4ghz, 512 ram, 9700pro, etc). When i try to load grub, however, its __insanely__ slow. it was 30 minutes ago when i booted the computer and it is at "initrd /boot/initrd.img-..." is there a way i can get rid of grub (i dont plan on dual booting or anything)? or is there an alternative, and if so, how would i go about replacing grub?

thanks
Robert
 
Old 10-25-2006, 12:47 AM   #2
kevkim55
Member
 
Registered: Dec 2005
Location: Edmonton
Distribution: BLFS, Gentoo
Posts: 353

Rep: Reputation: 32
Quote:
it was 30 minutes ago when i booted the computer and it is at "initrd /boot/initrd.img-..."
Grub shouldn't be blamed for your problem as, GRUB simply loads the kernel and initrd into memory and passes control to the kernel. If it takes too long while the initrd is being loaded the, probably your initrd image is too big. Since both kernel and initrd are compressed it would take some time for the kernel and initrd to be decompressed. If you have all the necessary modules (for the root partition to come up) built into the kernel, you can discard the initrd which, would save you a lot of time.

Note, initrd is used to include those modules, which are necessary to bring up the root partition (and for modules that certain strange/special hardware needs at earlier phase at boot time) . Once the root partition is mounted, the kernel can load any other needed modules directly from the root partition. Hence, if your root partition can come up without the initrd then you probab;y don't need an initrd.
 
Old 10-25-2006, 08:41 AM   #3
nonkey
LQ Newbie
 
Registered: Oct 2006
Posts: 16

Rep: Reputation: 0
Quote:
Originally Posted by robgig1088
hey guys, i just did a fresh ubuntu install on an "old"er computer of mine (2.4ghz, 512 ram, 9700pro, etc). When i try to load grub, however, its __insanely__ slow. it was 30 minutes ago when i booted the computer and it is at "initrd /boot/initrd.img-..." is there a way i can get rid of grub (i dont plan on dual booting or anything)? or is there an alternative, and if so, how would i go about replacing grub?

thanks
Robert
You computer's configuration rather good, any boot loader needs no so much hardware resources. I never seen slow booting linux-kernel by LILO or GRUB from Pentium-1 times. I don't know what it is the problem, but you can try LILO.


--
Vladimir
http://unix-news.blogspot.com
 
Old 10-25-2006, 02:53 PM   #4
robgig1088
LQ Newbie
 
Registered: Aug 2006
Location: Louisiana
Distribution: Ubuntu Dapper
Posts: 23

Original Poster
Rep: Reputation: 15
odd

a very strange thing happened. I decided to leave it loading over night and when i woke up, it said that there was a write error on the harddrive. It happened again after a reinstall. But since it installed fine, it cant be a problem with the harddrive, can it? I'm going to try to install suse or debian later and see what happens.

edit: i just booted into the ubuntu cd and mounted the cd and there dont appear to be any problems with the harddrive itself. bug in ubuntu?

edit2: debian has the same problem. grr what do i do? i dont have another harddrive to test it with (though i doubt its a harddrive problem) could it be a bios setting?? i really doubt that because there were no install problems =(

Last edited by robgig1088; 10-25-2006 at 03:55 PM.
 
Old 10-26-2006, 12:59 AM   #5
nonkey
LQ Newbie
 
Registered: Oct 2006
Posts: 16

Rep: Reputation: 0
Quote:
Originally Posted by robgig1088
a very strange thing happened. I decided to leave it loading over night and when i woke up, it said that there was a write error on the harddrive. It happened again after a reinstall. But since it installed fine, it cant be a problem with the harddrive, can it? I'm going to try to install suse or debian later and see what happens.

edit: i just booted into the ubuntu cd and mounted the cd and there dont appear to be any problems with the harddrive itself. bug in ubuntu?

edit2: debian has the same problem. grr what do i do? i dont have another harddrive to test it with (though i doubt its a harddrive problem) could it be a bios setting?? i really doubt that because there were no install problems =(

Is seems to be you have hardware error with your HDD in MBR or track where is your boot loader installed.


--
Vladimir
http://unix-news.blogspot.com
 
Old 10-26-2006, 04:38 AM   #6
fozner
Member
 
Registered: Aug 2006
Posts: 147

Rep: Reputation: 16
You can try mucking about with hdparm and slowing down your hard disk even further, which has a slight chance of either reducing errors or making them worse...

Before trying that, I'd update that old BIOS.

I recently had this problem on a compaq deskpro. It ran rather flaky with Windows so I figured I'd just burn Linux to it and see how things went. Turns out it had a BIOS bug where it was reporting the wrong IRQs. Windows didn't care though. It happly played scratchy audio and tried to make the best of the disk errors. Linux, on the other hand, wasn't so careless. Linux would stop and consider things for a while, write messages to the terminal and logs, chew on the configurations for a few minutes and then complain about a bad disk.

The updated compaq utilities disk download fixed the bugged BIOS and now it works like a champ...an old, beat-up retired and warmed-over champ maybe, but a champ just the same.
 
Old 10-26-2006, 08:20 PM   #7
robgig1088
LQ Newbie
 
Registered: Aug 2006
Location: Louisiana
Distribution: Ubuntu Dapper
Posts: 23

Original Poster
Rep: Reputation: 15
=)

thanks guys ill surely give that a try. i managed to boot into debian after a long while (though i didnt really like it) so now im installing suse and buying a floppy drive so i can update my drivers. thanks for all the help guys ill be sure to let you know how it goes
 
  


Reply

Tags
grub


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GRUB very slow Red Kite Linux - General 6 06-05-2007 05:03 PM
Grub 0.97 issues on slackware - grub-install is very slow, & updating menu.lst fails dieyouspammer Linux - Software 1 02-27-2006 01:06 PM
alternative grub removal / apt-get massacre? kirmet Linux - Newbie 4 09-12-2005 02:03 AM
BIOS to GRUB/Linux Boot Slow After Disk Transfer donv2 Linux - Newbie 2 04-22-2005 11:48 PM
FC2 with grub boot/init very slow zipo13 Fedora 9 08-03-2004 01:15 PM


All times are GMT -5. The time now is 04:43 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration