LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   how do I make fedora load faster? (https://www.linuxquestions.org/questions/fedora-35/how-do-i-make-fedora-load-faster-259373/)

sdat1333 11-25-2004 10:20 PM

how do I make fedora load faster?
 
I have a dual-boot system with FC3 and WinXP home. WinXP Home loads in about 1 minute 15 seconds(including all the programs I have set to start up). Linux takes 2 minutes to load. I have an AMD Sempron 2600 and 512 megabytes of Ram, so it should load faster. Are there any tricks I can use to get a faster load time?

seabass55 11-25-2004 10:50 PM

have you built your own kernel? You could do that and get rid of all the stuff loading that you don't need. That goes considerably faster. Have you gone thru with chkconfig and disabled all the services you don't need? Sendmail, pcmcia, etc?

sdat1333 11-25-2004 11:31 PM

How do I build my own kernel? Also, what do I not need to start up? This is a desktop computer.

sdat1333 11-26-2004 12:35 AM

alright, i got my startup time from GRUB down to 1 minute 10 seconds. My BIOS takes 30 seconds to load, so I will have to work on that. My goal(almost an impossible goal) is for my computer to take 1 minute to load from pushing the power buttion into linux. I am slightly disapointed because windows XP loads in 1 minute including BIOS.

seabass55 11-26-2004 10:17 AM

actually the thing you have to remember with windows...just because you're at your login screen doesn't mean the computer is done booting. Windows keeps loading stuff in the background even when it's "done" booting. Not so with linux once it's done it's done (other than user specific stuff starting up). So don't compare it with windows as it's not very fair.

sdat1333 11-26-2004 10:32 AM

My computer has autologin, so Idont time to startup screen. Also, I stop the timer once the orange light on the front of my computer stops blinking, and Iknow all software is done loading.
btw, could somebody tell me how to build my own kernel.

hkb33 11-26-2004 12:06 PM

don't try and build your own kernel if you've never done it before...practice on a test machine...if you screw it up, you could end up losing everything!

As far as improving boot time here are some suggestions:

1) Disable services you don't use:

Click Main Menu---->System Settings---->Server Settings---->Services

If you're running stuff like nfs, samba, vsftpd, httpd, etc. and you don't intend on using them then disable them.

One way to see what services are starting up is to click the details arrow while the system is booting..it will show you what services are starting up. That could be part of the delay.

2) Open the /etc/inittab file in your preferred text editor and locate the following section:

# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6

The above is all of the virutal terminals that your linux system is told to start at boot time. Each of these takes some time to start up during boot. Place the # character beside the last two or three lines...this will comment out those lines and the system won't try and start them up at boot. This could shave off a few seconds at boot time and also free up memory for other things.

...and I agree with seabass55...if you're going to base your decision on dumping linux based on the fact that Windows boots faster, then I don't think it's fair to do so.

benjithegreat98 11-26-2004 12:38 PM

A big thing you can do to cut down on your startup time is to disable the graphical boot. Have you done that yet? If you haven't let us know and we can tell you how to disable that.

guzzi 11-26-2004 12:47 PM

boot time
 
As a point of reference, running Slackware 10 2.4.26 on a P100 with 32M RAM.

From Lilo boot selection, to login prompt is 30 seconds.

This box is a NAT, router and firewall unit that goes straight to a command line prompt.

sdat1333 11-26-2004 02:20 PM

1) Yah, you guys are right, its kind of unfair to judge linux against windows. I'm hoping that once I get linux tweaked to be just how I want it, then it will be much faster.

2)No, I haven't disabled graphical boot, how do I do that?

Thank you everybody for all your help.

benjithegreat98 11-26-2004 02:24 PM

As root, edit the /boot/grub/grub.conf or /etc/grub.conf (same file). This file controls which kernels or OS's are listed in grub when it starts up. On the lines that have kernel parameters there are places that say rhgb. I suppose that stands for redhat graphical boot. Remove that from the kernel lines. When you boot up, X will not load until right before you sign in.

jolly1701 11-26-2004 02:39 PM

in the /boot/grub folder create a new folder
name it backup
copy & paste the grub.conf file to this new folder before playing with the grub.conf file

open grub.conf file in a text editer
set the delay time from 10 to 1

remove all the enterys below the last kernel image entery
so u only have the last image listed in the grub.conf file
save changes to the file

close down
now time your startup time...

sdat1333 11-26-2004 02:49 PM

Jolly 1701, I didnt see your post until it was too late, but luckily, I only commented out 4 lines, so it should be easy to reverse. when the kernel is loading I get the following error: "kernel panic-not syncing; VFS: unable to mount root fs on unknown block(0,0). Pls help.

benjithegreat98 11-26-2004 02:56 PM

yikes....
Did you comment out the whole line or remove the single word rhgb? I re-read my post and I wasn't really clear on how to do it, I don't think.

Can you get into your system with the system restore disk (CD 5)? I've never used it so I don't know exactly how to use it. But anyways you need to use that or some type of rescue disk like that or Knoppix. You need to uncomment those lines and just remove the word rhgb.

If that was my fault due to not being clear, I apologize.

edit:
Here is a link to the disk 5 I mentioned if you don't have it:
http://download.fedora.redhat.com/pu...6-rescuecd.iso

sdat1333 11-26-2004 03:51 PM

Oh, OK. Not a problem. Luckily I have a knoppix CD on hand, so this shouldnt be a problem at all. I'll tell you how it goes.


All times are GMT -5. The time now is 02:23 PM.