微電腦 - iRiver Dicple D8 - Debian 6 - 安裝系統



步驟如下:
1. 建制Debian系統

$ wget https://ftp-master.debian.org/keys/release-6.asc -qO- | gpg --import --no-default-keyring --keyring ./debian-release-6.gpg
$ sudo debootstrap --keyring=./debian-release-6.gpg --arch mipsel --foreign squeeze squeeze http://archive.debian.org/debian/
$ sudo chroot squeeze /debootstrap/debootstrap --second-stage

$ sudo mount -o bind /dev squeeze/dev
$ sudo mount -o bind /sys squeeze/sys
$ sudo mount -o bind /proc squeeze/proc

$ sudo chroot squeeze
# passwd
# adduser user
# vim /etc/apt/sources.list
    deb http://archive.debian.org/debian squeeze main contrib non-free

# apt-get update
# apt-get install vim sudo locales
# dpkg-reconfigure locales

# vim /etc/fstab
    /swap.img none  swap  sw  0  0

# cd /dev
# wget https://github.com/steward-fu/website/releases/download/iriver-d8/devnode.tar.gz
# tar xvf devnode.tar.gz
# rm devnode.tar.gz

# vim /etc/init.d/udev
    #!/bin/sh -e
    exit 0

# vim /etc/init.d/udev-mtab
    #!/bin/sh -e
    exit 0

# dd if=/dev/zero of=/swap.img bs=1M count=512
# mkswap /swap.img
# exit

$ sudo umount squeeze/dev
$ sudo umount squeeze/sys
$ sudo umount squeeze/proc

2. 進入刷機模式
3. 刷入https://github.com/steward-fu/website/releases/download/iriver-d8/debian6_flash.zip
4. 準備一張MicroSD(如:SanDISK 16GB),格式成如下分區


5. 完成