• Michael Shigorin's avatar
    syslinux: update rw to use cdrom method, not disk · 3e1fe68a
    Michael Shigorin authored
    The former approach to handling "LiveCD with sessions"
    has been to mangle "automatic=method:cdrom" into
    "automatic=method:disk,label:ALT*" within gfxboot
    so that propagator and make-initrd-propagator would
    try and discover/create a filesystem labelled
    "alt-live-storage" on a LiveFlash's free space.
    
    Then "live_rw" handling has been unified in
    make-initrd-propagator (as of 0.18-alt1) to accept
    any of "label" subparameter or "live_rw" argument
    to go and create_disk_slice().
    
    Then propagator's cdrom.c has been fixed to actually
    try sdX1 before sdX (as of 20150306-alt1).
    
    And now it's all been tested to verify that:
    - flash "ro" and "rw" boot is OK
    - CD-ROM "ro" boot is OK
    - CD-ROM "rw" boot is fine given that there's
      a partition labeled "alt-live-storage" elsewhere
    
    This is a can of worms indeed :-/
    
    References
    ~~~~~~~~~~
    * http://altlinux.org/initrd-propagator
    * http://altlinux.org/make-initrd-propagator
    * http://bugzilla.altlinux.org/28289
    3e1fe68a
82rescue_rw.cfg 214 Bytes