Re: Optimize Booting

From: Tim Cambrant (tim_at_cambrant.com)
Date: 08/31/03


Date: Sun, 31 Aug 2003 20:42:41 GMT


"Eternally" <m@r.com> skrev i meddelandet
news:mTs4b.15118$yG2.13610@twister.nyroc.rr.com...
> Hi folks,
>
> I'm building a Linux Car MP3 player on an old P100 with 32 mb of ram.
I've
> got a debian distro on there, and got it to the point where it boots into
a
> command prompt. However, booting is kind of slow as it is loading a bunch
> of services which I'm sure I don't need. For instance, it's loading up
USB
> and PS/2 support, when I don't have USB or PS/2 ports on the machine. And
> it's checking for new hardware, which isn't necessary for me in this case.
> Plus, I think it's loading a few servers.
>
> How do I change the boot process so that it's lean and mean. All I want
it
> to do is bring me to a command prompt and have the ability to run mpg123
to
> play mp3's and also send commands to the parallel port (through a program
> which I will write). Security is not a concern. I just want lean and
mean.
> As quick of a boot as possible.
>
> How do I set this up?
>
> Thanks in advance!
>
>

For starters, you would really want to recompile your kernel, and disable
everything you don't need, such as PS/2-mice, USB, networking etc. When
you've done that, you should check out the "/etc/rc*.d"-directories, as well
as the "etc/init.d"-directory and remove the files that start the various
daemons/services you don't want. Of course, a better idea is to completely
uninstall all the stuff you don't want, and it should (really) stop loading
at the boot-process.

Debian is a good distro for minimal installs, so if you're stuck with a
bloated system, i would really advice you to format the drive and do a fresh
install, ignoring all the OpenSSH's, Sendmail's, Lynx's and such, which you
wouldn't want. I'm sure you'd get away with a relatively small install,
providing you with more space for your MP3's and OGG's :)

Good luck. Let's hope you get it working as you want.

--
Tim Cambrant
<tim at cambrant dot com>


Relevant Pages

  • Re: bootup problems
    ... Microsoft MVP [Windows XP Shell/User] ... I did not install any new software. ... I have been trying to boot up. ... and now it has been loading for over an hour since putting in the password. ...
    (microsoft.public.windowsxp.general)
  • XP Pro - Fails with configsystem problem
    ... not boot up. ... After this failure, I Install XP on another drive OK, but really wanna ... problem in the non loading XP, ...
    (microsoft.public.windowsxp.general)
  • Re: Optimize Booting
    ... > got a debian distro on there, and got it to the point where it boots into ... booting is kind of slow as it is loading a bunch ... > How do I change the boot process so that it's lean and mean. ... > to do is bring me to a command prompt and have the ability to run mpg123 ...
    (alt.os.linux)
  • Re: install SP2 on win xp Home
    ... The OS is not loading. ... The automatic download updates was turned on, and SP2 ... >>> the update of SP2 in system tray, tried to install it that way. ... >>> Select to boot to safe mode won't work, system will restart and back to Stop ...
    (microsoft.public.windowsxp.accessibility)
  • Re: [SLE] Unable to complete install of 9.3 (Athlon 64 bit)
    ... Same thing "Grub Loading ... I assume you were able to install; then perhaps you can boot from the ...
    (SuSE)