[SOLVED] Everything is slow during the booting process
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have an ACER 4-core personal desktop. Recently the booting process becomes slow and I do not know
why. The computer is still working fine though after booting properly, thanks goodness.
When I first installed CentOS 6.1 on this machine, the booting process from pressing the power button
to firing up the first terminal seemed to take about a minute.
However, the booting process becomes very slow.
Let me summarize where the time go:
(1) From the power button on to selecting which partition (I guess the moment
the boot loader comes to life) to boot up takes 45 sec.
I have no idea why BIOS is so slow ! Some circuit in BIOS is not working properly that
it waits for the faulty components to time out ?
(2) Then it stucks at Logical Volume Management for like 30 seconds. I.e., it takes 30 seconds
for the line LVM to have an OK before proceeding.
(3) Then it stucks at calling sadc for 30 seconds.
(4) After that it goes pretty smooth, and a login screen appears.
(5) After logging in, I have a blue background for about 30 seconds before I see the menu bars.
After that the tool bug window says that gnome-disk-utility and gvfs crashed and ask me
to report.
If I do not logout and relogin, I cannot automount an external hard drive.
So I have logout and login, but luckily this is quick and gnome-disk-utility and gvfs
do not crash.
I do not have this problem before. I just cannot understand why it happens suddenly like this.
I try to boot up other OS on the same machine and the booting process was slower than it
used to be.
I have installed identical CentOS 6.1 on two other machines and they do not have this problem.
So I pretty sure it has nothing to do with the OS but the hard ware.
Switch to runlevel 3 in /etc/inittab and type startx if you want X. Get into lilo/grub and switch off any hidden/quiet switches. Maybe Turn loglevel up (forget how to do this). Do a memory check with memtest86.
Ditto for hard drive. I would suspect difficulty in negotiation with some hardware thing and the bios arguing or not detecting it running through. There's also initng which replaces init and is faster. A bzipped kernel is slower to open than any other.
You can also check your memory, boot to the ubuntu cd and hit any key to show options, then select memory test. Also setting the BIOS to default settings may be a good option as catkin suggested.
I still thinking about the issues every time I turn on the machine.
I have a theory: I am almost 100% sure that I do not do anything to the Linux OS (no upgrade, no update)
so it is either caused by change in the BIOS setting or the hardware failure. The latter (hardware)
might not be an issue since my machine is relative new so it points to BIOS change.
I am wondering if by booting to Windows-7 occasionally and during its shutdown time it uses the chance to upgrade
stuff including BIOS ?
This in turn interfere/confuse the otherwise perfectly fine Linux OS ?
Key question: Is there a switching to set to default setting in BIOS of my machine ?
Anyway, I will try to do that when I have a chance.
I am almost 100% sure that I do not do anything to the Linux OS (no upgrade, no update)
so it is either caused by change in the BIOS setting or the hardware failure.
Sounds correct.
Quote:
The latter (hardware) might not be an issue since my machine is relative new so it points to BIOS change.
Older hardware is more likely to fail. But that doesn't mean that new hardware necessarily has to be in a good state. Even brand new hardware can be faulty. To rule out the hardware there are only two procedures: Test the hardware or test with different hardware of the same type.
Quote:
I am wondering if by booting to Windows-7 occasionally and during its shutdown time it uses the chance to upgrade
stuff including BIOS ?
Windows will never upgrade your BIOS secretly. It will also never change BIOS settings without your knowledge (except one thing: setting the hardware clock, Linux will do the same).
Quote:
Key question: Is there a switching to set to default setting in BIOS of my machine ?
Yes, just go into the BIOS, load the default settings and save them.
Warning: Before you do this, note any setting in the BIOS. Changing back to default settings may render Windows unbootable, Linux can cope with that in general much better!
From my experience the symptoms you describe point to a faulty harddisk, before changing anything in the BIOS I would test the disk.
Thanks. It is very reassuring to know that Windows 7 update does not touch BIOS setting.
I have no intention to mess with the BIOS. Plus it is a jungle out there, so I am still with the old BIOS that has
not been changed.
I tried to do memtest without downloading iso and burning live cd/dvd. A yum install memtest+ was okay for CentOS 6.1
but then I hit some well-known problem that I have a thread in CentOS forum with centguy ID. That's another story.
Anyway, I guess since memtest is to check RAM and not hard drive so I might not want to get too serious with memtest. Plus
I heard that memtest is very slow (a few hours) so I am not patience enough for that sort of thing.
My friend also suggested the existing
harddrive seems to be the culprit. I am thinking of getting another 3.5 in hard drive and
put the clone system in that drive and boot up from there. I guess if the boot time is short, then I guess that will
conclusively show
that my original hard drive is indeed faulty.
Or I might boot from a thumbdrive and if the booting is fast, then I can ask ACER guy to replace the
drive since it is under warranty. Thumbdrive booting is also cheaper to test since I do not have to invest
on getting a new internal disk.
Oh well, it seems the system is working okay for now and I should plan properly before I break anything.
How nice if there is a command that can be issued on the command line to check the health of a disk. Is there
such command ?
Trouble is : I do not know how easy it is to download the manufacturer stuff and which OS should
I run the diagnosis. I do not even know which manufacturer it is. Never did that before.
And instead of asking you rather buy things? That sounds strange.
But anyways, you can use the Hitachi Drive Fitness Test, it will work with disks from any manufacturer. Just burn it to a CD and boot from it the same way you would do with a Linux Live-CD or install disc.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.