Toby Schneider edited this page May 26, 2016 · 3 revisions

These instructions are rather terse and assume you have some familiarity building Debian filesystems from scratch. InstallOnGumstixOvero has more detail, some of which will be relevant here.

  1. Change Soekris to 57600 baud

    > set ConSpeed=57600
  2. Create Debian image

    mkdir rootfs
    multistrap -f squeeze.conf -d rootfs
    (copy rootfs/ to USB drive or mSATA / SATA hard drive (e.g. /media/be0c7e46-8652-4e13-b6e5-b9eff62ac4a2)
    sudo mount -o bind /dev /media/be0c7e46-8652-4e13-b6e5-b9eff62ac4a2/dev
    sudo chroot . /bin/bash
    mount proc/
    dpkg --configure -a

    The above referenced squeeze.conf (omit references to LAMSS unless you have those packages available locally): :

    # Example multistrap configuration file for the squeeze shortcut.
    # same as --tidy-up option if set to true
    # same as --no-auth option if set to true
    # keyring packages listed in each debootstrap will
    # still be installed.
    # whether to add the /suite to be explicit about where apt
    # needs to look for packages. Default is false.
    # extract all downloaded archives (default is true)
    # the order of sections is not important.
    # the debootstrap option determines which repository
    # is used to calculate the list of Priority: required packages.
    debootstrap=Debian Lamss
    aptsources=Debian Lamss
    packages=apt grub linux-image-2.6-686 zile adduser makedev less isc-dhcp-client netbase ifupdown iproute net-tools iputils-ping ntp
    packages=moos-ivp-apps lamss-apps lamss-shared-apps lamss-internal-apps lamss-dsop-apps
    source=copy:///home/toby/archive squeeze/
  3. Change /etc/default/grub to this and run update-grub

    # If you change this file, run 'update-grub' afterwards to update
    # /boot/grub/grub.cfg.
    GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
    GRUB_CMDLINE_LINUX="console=tty1 console=ttyS0,57600n8"
    # Uncomment to enable BadRAM filtering, modify to suit your needs
    # This works with Linux (no patch required) and with any kernel that obtains
    # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
    # Uncomment to disable graphical terminal (grub-pc only)
    GRUB_SERIAL_COMMAND="serial --speed=57600 --unit=0 --word=8 --parity=no --stop=1"
    # Uncomment to disable graphical terminal (grub-pc only)
    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
    # Uncomment to disable generation of recovery mode menu entries
    # Uncomment to get a beep at grub start
    #GRUB_INIT_TUNE="480 440 1"
  4. Add this to /etc/inittab

    T0:2345:respawn:/sbin/getty -L 57600 ttyS0 vt102
  5. Insert mSATA drive or USB drive and boot from it (boot 80 for first mSATA drive, boot 81 or 82 for USB drive depending on number of mSATA drives installed).

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.