• 0 Votes
    17 Posts
    6k Views
    mituM

    @hairdyeguy said in Speeding up boot time and the necessary commands:

    Tried it along side to disabeling bluetooth and rainbow splash screen + inserting the quiet flag to kernel. Booting time is now 28 seconds!
    Are there more things you'd recommend?

    The EmulationStation settings I mentioned in my first post - they should speed up dramatically the front-end startup.

    Other services that are not strictly needed - raspi-config(?), hciuart (which you don't need if you disabled Bluetooth), rpi-eeprom-update (the Pi zero doesn't have an EEPROM).
    You can also disable the swap service (dphys-swapfile) and test, but the Pi 0 has limited memory and swap may be useful if you want to install from source or run other things.

    I'm not sure why the dev-mmcblk0p2.device takes so long, maybe the sdcard is not so fast (?).

    There may be other - more radical - options

  • Login text after splash

    Help and Support
    17
    0 Votes
    17 Posts
    2k Views
    J

    @dreamcastkid Found it! This works completely. It was a MOTD thing. This will get rid of all of that text.

    Use command touch ~/.hushlogin

    then navigate to the login script
    sudo nano /etc/pam.d/login script
    #hashtag out the following:
    session optional pam_lastlog.so
    session optional pam_motd.so motd=/run/motd.dynamic
    session optional pam_motd.so noupdate

    then navigate to the autologin.conf
    sudo nano /etc/systemd/system/getty@tty1.service.d/autologin.conf
    Change ExecStart located at [Service] from:
    ExecStart=-/sbin/agetty --autologin pi --noclear %I $TERM
    To:
    ExecStart=-/sbin/agetty --skip-login --noclear --noissue --login-options "-f pi" %I $TERM

    Now I am completely rid of any startup text.