The hard way (requires serial connection to EDMini and linux machine, does not require SATA)

ALERT! Do not blindly copy the commands. If you don't understand them and just want Debian on ED Mini, go to the easy way section.ALERT!


  • $ stands for linux shell
  • > means u-boot shell
  • your_pc_ip is your PC IP address smile
  • lacie_ip is EDMini IP address


There are two Debian architectures, which are able to run on ED Mini v2. Old arm and new and better armel. The problem is that original ED Mini kernel supports only the arm (confirmation required, if you tested it, please mail me). So if you plan to use the original kernel, install arm architecture

The procedure

  1. Prepare root (Debian based distribution not required, just install debootstrap. I did it from archlinux)
         $ debootstrap --arch armel --foreign lenny rootfs 
         $ (cd rootfs; tar -cvzf ../rootfs.tgz *)
    make rootfs.tgz available over http
  2. Connect serial terminal and boot into /bin/sh
         > setenv bootargs console=ttyS0,115200 root=/dev/sda6 ro init=/bin/sh; boot
  3. Use fdisk to remove sda2 and create two partitions sda2 (freespace-512MB) and sda3 (512MB)
  4. Make filesystem on sda3 and mount it
         $ mount -t proc p /proc
         $ mkfs.ext3 /dev/sda3; mkfs.xfs /dev/sda2 (I've also formatted sda2)
         $ mount /dev/sda3 /mnt
  5. Setup IP connection over ethernet to your PC and download rootfs
         $ ifconfig eth0 lacie_ip
         $ (cd /mnt; wget http://your_pc_ip/rootfs.tgz; tar -xvzf rootfs.tgz)
  6. Umount fs
         $ umount /mnt and reboot
  7. Boot into newly installed system
         > setenv bootargs console=ttyS0,115200 root=/dev/sda3 rw noinitrd init=/bin/sh; boot
  8. Complete the installation
         $ export PATH; /debootstrap/debootstrap --second-stage
  9. Edit /etc/inittab (change the speed of serial console to 115200, remove vga consoles).
  10. Edit /etc/fstab (add /, swap etc...)
  11. Set the root password
  12. reboot
         $ mount -o umount,ro /; reboot -f

Then use this to boot into debian:
> setenv bootargs console=ttyS0,115200 root=/dev/sda3 ro noinitrd; boot

Continue with LacieSystemSetup

-- PetrMalat - 29 Sep 2009