Translations of this page:

The boot process

The boot process and how/where you can hack it.

  1. BIOS (press F2 to setup)
  2. GRUB loader (/boot/grub/menu.lst. see Install/run rescue console on the EEE )
  3. kernel – see Rebuilding the kernel
  4. initrd – see http://forum.eeeuser.com/viewtopic.php?id=2650 on how to hack initramfs-eeepc.img
  5. /sbin/fastinit – this is a binary file and sources seems to be unavailable(?). YES, normal init and /etc/rc* directories are NOT used. by looking into fastinit (with strings), somewhere at the end it starts in background the following two processes
    su -c startx -l user &
    /usr/sbin/services.sh &

    Note: fastinit has been reimplemented for notes and code; see Eee fastinit reimplementation at hellabs.org.

  6. /usr/sbin/services.sh – edit this to add “services” which start on boot
  7. If you don't feel comfortable with editing /usr/sbin/services.sh, the script refers to a file called /etc/fastservices (doesn't exist by default). You can create or edit this file to add services to the bootup process, one line per service. For example if you have installed Openssh-server, you can add a line to /etc/fastservices simply containing the word ssh. The name you need to add is the name of the startup file for the service, as found in /etc/init.d. This will slightly increase the boot time, but you probably won't notice the difference.
  8. startx → /usr/bin/startsimple.sh
 
boot_process/the_boot_process.txt · Last modified: 2008/05/19 17:47 by hankwang
 
Recent changes RSS feed Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
This website is no longer under a Creative Commons license.
All rights are reserved by Eeeuser.com and each individual author
If you want to reproduce content, all individual contributers must be identified and you must seek permission from Eeeuser.com