Boot just Kernel + bash, Live, how?

Discussion in 'Linux' started by aquarius84, Apr 11, 2018.

  1. aquarius84

    aquarius84 MDL Member

    Oct 3, 2012
    Hello everyone!
    Is it possible to boot "only" linux kernel and bash on Live USB?
    With "only" I mean:

    - linux kernel (vanilla or other patched one)
    - network support (ethernet and wifi)
    - bash (to download and run packages)

    Is there a way so to put kernel + bash into usb drive and boot it Live ??

    I'm asking because I want / need to run a single process, and I want it to start immediatly after pc boot, and have all hardware power free from any other useless thing.
  2. fabre gastro

    fabre gastro MDL Junior Member

    May 29, 2018
    how about roll your own minimalistic debian/redhat livecd? if you can customize it? it can fit inside a 128MB usb stick... use max squashfs compression with a block size of 1M.... makes sense?