[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Booting failsafes



> It's very easy, you just set the timer for selecting the menu item to
> "0" (it's normally set to 30 seconds), in which case it will start the
> first item on the menu,

This is actually very easy to set up.  According to the BootPrompt-HOWTO:

  2.5.  Setting Environment Variables.

  Anything of the form `foo=bar' that is not accepted as a setup
  function as described above is then interpreted as an environment
  variable to be set. A (useless?) example would be to use `TERM=vt100'
  as a boot argument.

That means that it's trivial to add a 'safe' boot, using either the current 
kernel or a failsafe, and put an extra append="STATE=hosed" that tells the 
rcinit script to be very careful.

Someone want to try it out?  Maybe force things into single-user mode, and 
spawn a recovery script.

     Erik Walthinsen <omega@seul.org> - SEUL Project system architect
        __
       /  \                SEUL: Simple End-User Linux -
      |    | M E G A            Creating a Linux distribution
      _\  /_                         for the home or office user