LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Suse/Novell (http://www.linuxquestions.org/questions/suse-novell-60/)
-   -   Linux Take Alot Of Time To Start (http://www.linuxquestions.org/questions/suse-novell-60/linux-take-alot-of-time-to-start-289994/)

John_Emad 02-14-2005 07:40 AM

Linux Take Alot Of Time To Start
 
I am using Linux Suse9.1 with KDE 3.2

it takes the computer about 2 or 3 minutes to have the linux fully loaded when I turn the computer on(i.e to open the linux so tht i can begin using it normally)

when I used windows, it used to take maximum 1 minute to have evrything loaded

so is there any possible programs i can remove or something to be able to speed it up a little ?

the problem is tht I am afraid of removing anything tht might coz the whole linux to fall down

abisko00 02-14-2005 07:56 AM

How much RAM does your system have? KDE is very memory consuming and runs smooth with at least 256 MB. On the other hand it may be something else that slows down the boot process. Have a look at boot messages while they appear on the screen and try to find out if there is a particular process at which it gets delayed.

John_Emad 02-14-2005 07:58 AM

My laptop specifications are as follwing:

centrino 1.5
2 MB cach memory
512 RAM
40 GB hard disk

wht do u mean by seeing the boot messages?

u mean those tht appear when the computer is starting up ??

abisko00 02-14-2005 08:07 AM

I mean those messages that you see when you start the system in verbose instead of silent mode. You may do that by pressing F2 during boot-up.

512MB RAM should be more than sufficient.

John_Emad 02-14-2005 08:20 AM

i pressed F2 on booting and I found nothing tht takes a long time specifically

It is just tht a hell of messages appears, I can believe tht al of these things run on the laptop, I have just installed the SuSe9.1 so how come tht all these things are running on it ??

I really dont know wht to do, I found a similar topic here but yet it concentrated on the issue of having "something that takes time while booting" while my problem is that I have many many many things tht runs on boot

So wht are ur suggestions ??

abisko00 02-14-2005 08:35 AM

Run Yast Online Update (YOU). I remember that there was a coldplug patch that speeds up booting. But if you say it does not hang somewhere in particular it may not help.

You may switch-off some services, but I can't descide what you will need ;)
Maybe there are some network services that slow you down...

John_Emad 02-14-2005 08:45 AM

I really appreciate ur help

but would u specify for me where can I get the list of installed services and prgrams (like the add remove prgrams in windows) and then i can decide which services i can remove ??

another note, I am using KDE but yet i found some (or u can say many) things from GNOME installed

so can I remove all of them may b this is the thing slowing my machine ??

abisko00 02-14-2005 08:51 AM

There are always some gnome packages installed per default. I think you shouldn't remove them, because they may be required to run gnome apps under KDE (I think mozilla is a gnome-app for example).

To get a list of running services, open Yast -> System -> Runlevel Editor. In expert mode, you can select and de-activate them.

John_Emad 02-14-2005 09:04 AM

ok

2 questions before i do anything

1- do you think that deactivating some services might help or not ??

2- is there any specific services that you advice me not to remove as they would affect the whole system ??

abisko00 02-14-2005 09:56 AM

to 1.: maybe
to 2.: yes ;)

But it really depends on what you are using your system for. I cannot decide that. That is why I asked you if you recognized delays at certain positions during boot-up. If you tell me it slows down e.g. setting up the NFS server, I can tell you safely to switch-off this service in case you are not using the notebook as a server.

John_Emad 02-14-2005 10:15 AM

actually I pressed F2 and watched during the boot but i didnt find something in precise tht takes time while booting up, it is just the matter that many many things run at boot time as I saw

so I dont know exactly wht to remove, I just want to know what SHOULD NOT BE REMOVED, i.e critical services and so on

so can you tell me these services ?

I would really appreciate that or may be tell me another way to speed up the booting time :(

abisko00 02-14-2005 10:39 AM

I can't! Wait for some experts to help you out. I simply cannot take the responsibility, neither I have the time to explain every single service. Feel free to ask about a particular service that doesn't appear necessary to you.

Napalm Llama 02-14-2005 11:46 AM

I speeded up booting under the advice of somebody... can't remember who... (apologies) in a similar thread by telling my machine not to get its IP address via DHCP, but to have it set manually.

You should only do this though if you're certain that your laptop always has the same IP address.

(My machine accesses the 'net via a router, which I've configured to always give it the same local address. If you connect directly to your ISP [ie. not through a router, proxy or other external firewall] then you'll probably have a dynamically assigned IP: it'll be different every time you connect, or at the very least you won't be able to depend on its remaining the same for ever.)

Then again, if the laptop isn't connected to any networks (LAN or Internet) it doesn't need an IP address at all.

Have a look in YaST > Network Devices > Network Card.

merize147 02-14-2005 01:55 PM

John_Emad:

if your comfortable with the command line try using:

chkconfig (ex: chkconfig --list)

This is a great until that will let you view, start and stop services running on your box. Anything that you can stop from auto loading is going to speed up the boot time. Don't forget you can always turn your services back on quickly. For example; unless you plan on accessing your box remotely there is no need to run sshd, but you can always turn it on if you need it.

So run the utility, find the running processes, do a little research, and turn off what is not needed.

merize147 02-14-2005 02:02 PM

I re-read my last posting and it is a little misleading. Chkconfig doesn't actualy start and stop the service. It only changes the whether or not the daemon is to start at boot time. You can use the init.d scripts to start/stop/restart with out a system reboot.

My bad,

M


All times are GMT -5. The time now is 03:16 AM.