Painfully slow installation of Linux

Posted on 2005-04-05
Last Modified: 2013-12-15
Hi all,

<WARNING> Totally new to Linux, be gentle pls. :) </WARNING>

I'm installing Linux and the first part of the installation is painfully slow:

So far, I have tried with:
- Mandrake Linux 9.1
- Mandrake Linux 10
- Fedora Core 2
- Fedora Core 3
- Red Hat Enterprise Linux 4
- Red Hat Linux 9
- CentOS 4

They all behave roughly the same:  
Boot from the CD, everything seems normal until a message reads "loading /sbin/loader" it stays there for about 10 minutes.  (Doing what?)
Then it starts enumerating the hardware:
-  video Card  ....  wait 5 minutes
-  monitor .... 10 minutes
-  mouse ....
if running graphical install 15 to 20 minutes, in text mode about 10 minutes
then it starts asking questions about the installation with the following pauses:
- Language?                10 minutes                         8 minutes
- Keyboard?                 8 minutes                          6 minutes

and so on...   From boot to the point it starts formatting the drives:  1 to 2 hours.  After that it goes much faster, format, copy, post-install config about 10 minutes all.

As a reference, Install Windows XP from boot to finish: 35 minutes. (including Service Pack 2 and updated drivers)

Hardware info:
Product name     Intel(R) Desktop Board D865GLC based system
Board model       Genuine Intel(R) D865GLC system board

Processor           Intel(R) Pentium(R) 4 CPU 2.40GHz
Bus speed           800 MHz
L1 cache            Data Cache 8KB, Execution Trace Cache 12K Micro-ops
L2 cache            Advanced Transfer Cache 512 KB
Form factor         Socket 478
Stepping            9
Physical memory     1,024 MB RAM
Memory speed        DDR320
Memory type         DDR, Synchronous
Form factor         DIMM
BIOS date           03/07/2005
BIOS size           512 KB
BIOS version        P24 (BF86510A.86A.0075.P24.0503071605)

Seagate      Barracuda 7200.7 SATA
Model Number:ST3120026AS
Capacity:120 GB
Speed:7200 rpm
Seek time:8.5 ms avg
Interface:SATA 1.5Gb/s

nVidia GeForce FX 5200
128 MB DDR

NOTE: Install finishes without errors.  Once installed it is not that bad.  (Windows XP seems to run a bit faster, but it may be a matter of perception)

If it's already installed, why do I worry?  you may rightfully ask,,,  The thing is I'm gonna be installing several diferent distributions and configurations of linux in several
computers with exactly the same hw config, and at over 2 hours each, it's going to take way too long for all the tests I need to do. Specially taking into account that format- copy-config only takes 10 ~15 minutes.

Booting from rescue disk or similar... 35 to 45 minutes a pop.

Also tried other distributions that failed to complete for reasons I don't have time to solve, so those are already scratched from my list:
- Slackware
- Debian
- Lycoris

If you read this far, thanks in advance for any help....

Question by:IvanVillamizar
    LVL 87

    Expert Comment

    This may have to do with APIC, so when the install CD starts booting, you should get a commandline where you can enter further boot commands. These might be different depending on your distro, but usually it'll be something like:

    linux noapic
    linux26 noapic

    you can probably press f1 to get the list of commands for your distro. Use the commands which turn off apic or apm. You should also see other things that you can turn off during booting. Maybe you need to experiment a bit.
    LVL 9

    Expert Comment

    by:David Piniella
    if you're going to be doing a series of installs on similar hardware, you may also want to look into automated installs -- redhat does this and I believe other distros do as well (google for "redhat kickstart")  -- all you need is a network-accessible location that you can put all the install media on (your own FTP or NFS server, for e.g.,) and then point it that way....SuSE also supports this and I would be surprised if other rpm-based distros (mandrake in your case,) didn't.
    LVL 5

    Author Comment

    I know I could do one install and create disk images, but we'll be testing different configurations, different packages, different kernels, etc.  So disk images are not an option, as per automation of the install process (asuming it works something like Windows answer files & setup manager?), I don't thnk that would help since the phase that is taking too long would be roughly the same... am I missing something?

    LVL 38

    Assisted Solution


       In your case, kickstart will be good fit for you. Fedora/RedHat/Centos all support kickstart installation by default.

       As my experience, kickstart over http is much earlier than FTP/NFS. You just need to run
    system-config-kickstart (or redhat-config-kickstart) to configure the kickstart for each different system.

       Since all the CDs are copied to the http server, so you don't need to change the CD from time to time during installation.
    Besides, a well configuration kickstart config file, it allows hand-free during the installation. (Well, just need to type
    linux ks=http://<kickstart server>/path-to-config-file  and reboot when installation complete).


    LVL 9

    Accepted Solution

    I would also do some test installs with the boot-time options as mentioned above -- acpi can be troublesome w/ some machines, ditto other modules (had a machine that wouldn't boot until i told it to ignore all USB devs because it couldn't scan a particular device and ID it properly).
    LVL 5

    Author Comment

    Found the culprit!.

    It was my UPS. Disconnecting the USB monitoring port did the trick.  Installation is now down to about 40 minutes. Depending on packages selected. First phase of install (up to formatting) is about 3 minutes  (from 2 hours... Hypersupercalifragilisticspialidociously cool!)

     I really don't care about UPS monitoring right now, so I'll leave that darn thing disconnected until I get the time to play with it.

    dpiniella's last post gave me the tip, although not exactly pinpointed it, and Wesly_chen's although not exactly the point of the question will help my ultimate goal: (easier, faster installations).  So I'll spli the points.  Hope you don't mind.

    Thanks a lot for your quick responses.


    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
    If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now