Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want a lightweight CLI only Linux distribution that can rapidly boot from a USB stick, run a script by itself at startup and then shut down the computer.

All of this without any user intervention other than turning on the laptop with USB plugged in.

Anyone have recommendations?

share|improve this question

1 Answer 1

up vote 0 down vote accepted
  • Linux From Scratch
  • ArchLinux
  • Gentoo

Have a look around on Distrowatch, particularly in the Live-Medium, Specialist, Source based and Rescue catagories. Find something where the build system makes sense to you so that you can build the distro from the ground up with a just what you need but having a working reference point, and then add in your scripts on top of that.

share|improve this answer
    
Thanks. I've found one called finix i think it might fit the bill. –  skittles88 Jun 30 '11 at 11:31
    
Finix looks good :) –  Caleb Jun 30 '11 at 11:35
    
Then i just put the script in /etc/rc.local i think... –  skittles88 Jun 30 '11 at 11:52
    
@skittles88: Yup. –  Caleb Jun 30 '11 at 11:57
    
Hmm only issue is im not sure about 'persistent storage'. Since it is basically a live cd booting from a usb stick, my script would vanish from /etc/rc.local after a single reboot. I used unetbootin to put finix on usb, it has option for persistent storage but says 'ubuntu and derivatives only' –  skittles88 Jun 30 '11 at 12:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.