Re: Optimize Booting
From: Tim Cambrant (tim_at_cambrant.com)
Date: 08/31/03
- Next message: Sybren Stuvel: "Re: Optimize Booting"
- Previous message: Eternally: "Optimize Booting"
- In reply to: Eternally: "Optimize Booting"
- Next in thread: Sybren Stuvel: "Re: Optimize Booting"
- Reply: Sybren Stuvel: "Re: Optimize Booting"
- Reply: Eternally: "Re: Optimize Booting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: Sybren Stuvel: "Re: Optimize Booting"
- Previous message: Eternally: "Optimize Booting"
- In reply to: Eternally: "Optimize Booting"
- Next in thread: Sybren Stuvel: "Re: Optimize Booting"
- Reply: Sybren Stuvel: "Re: Optimize Booting"
- Reply: Eternally: "Re: Optimize Booting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|