• Benefits of MIDS?
  • MIDS quickstart
  • Screenshots
  • Download
  • Support
  • Compile your own
  • History




  • G4U
  • NetBSD




  • The notes below come from my own notes used during the creation of MIDS

    Whilst it's possible that there are mistakes here, this script was followed by Merritt Krakowitzer of South Africa recently and he kindly returned some feedback (well, mistakes) that I had left here. I've corrected them now. Apologies.

    If you are about to undertake this to put a static IP address in, rather than use DNS, I'd strongly advise you to think again.
    Static addressing will always catch you out in the end and be more hard work than is necessary. Setting up a simple DNS/DHCP system is going to be quicker and easier than recompiling this system from scratch, I promise!

  • First follow the instructions on G4U to compile a G4U... This stage is essential and cannot be bypassed.
  • Modify /usr/src/distrib/i386/floppies/ramdisk-g4u/dot.profile to make MIDS download it's stuff when it boots:
    Place the following at the bottom:
    # everything below is Robs Mods
    echo "Welcome to MIDS 1.0"
    
    mount -t mfs -o nosuid,-s=5m swap /tmp
    
    HOST='mids'
    USER='anonymous'
    PASSWD='bogus@email'
    FILE='autoexec.sh'
    
    ftp -n $HOST > /tmp/ftp.worked 2> /tmp/ftp.failed <<END_SCRIPT
    quote USER $USER
    quote PASS $PASSWD
    cd mids
    cd 1.0
    get $FILE
    quit
    END_SCRIPT
    chmod +x autoexec.sh
    
    autoexec.sh
    
    # end robs mods
    
  • Edit /usr/src/distrib/common/mtree.common to add in the following lines:
    ./libexec
    ./lib
    ./usr/lib
    ./usr/libexec
    
    Make sure you add them in a logical order in the correct place in the list. The parent direrctory must come higher. (e.g. do not put /usr/lib higher than /usr)

  • Finally, you can re-compile to generate a MIDS iso, rather then a G4U iso:
    Tidy up from the previous compile
    cd /usr/src/distrib/i386/floppies/g4u
    make clean
    
    Then do it again
    $T/nbmake-i386
    
    Run

    When you boot your MIDS disk, it downloads as much as possible from the MIDS server via FTP This is to avoid the need to re-compile when needs change.

    Good luck!
  • MIDS is by Rob Bennett, 2005