Debian on NanoNote (Install in memcard)
Prepare SD card:
1. format your sd card to one ext2 partition.
2. wget http://mister-muffin.de/nanonote/debian-sid-mipsel.tar.lzma
3. tar xvf debian-sid-mipsel.tar.lzma -C /PATH/TO/YOUR/SDCARD/
4. wget http://pyneo.org/downloads/nano/openwrt-xburst-qi_lb60-uImage.bin
5. cp openwrt-xburst-qi_lb60-uImage.bin /PATH/TO/YOUR/SDCARD/boot/uImage
Prepare bootloader:
6. refresh the last uboot:
wget http://downloads.qi-hardware.com/people/xiangfu/tmp/openwrt-xburst-qi_lb60-u-boot.bin
(remember this is “tmp” folder I may delete the files under “tmp” folder,
if the file is delete then it already include by official releasse)
sudo usbboot -c “boot;nprog 0 openwrt-xburst-qi_lb60-u-boot.bin 0 0 -n”
7. then press [M] when power-on. now “apt-get update”
安装完后引导就可看到 Login: 直接输入 root 回车。接下来设置一个 swap 文件,为了是apt-get install 可以成功。
1. # dd if=/dev/zero of=/swapfile bs=1024 count=65536
2. # mkswap /swapfile
3. # swapon /swapfile
4.To enable it at boot time, edit /etc/fstab to include:
# /swapfile swap swap defaults 0 0
接下来我就安装了 fbterm 和 emacs23-nox
# apt-get install fbterm emacs
运行 emacs a.c (下面是 fbgrab 的截图)



there are double ‘t’ in the first line
.
Cool!!! Thanks.
Hmm. Thanks so much! Everything goes through here, I can set an IP-address for usb0, I can ping it from the host, I can see that port 22 is open, but i can’t log on:
PORT STATE SERVICE VERSION
22/tcp open ssh OpenSSH 5.5p1 Debian 3 (protocol 2.0)
Service Info: OS: Linux
…
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.3p1 Debian-3ubuntu4
debug1: SSH2_MSG_KEXINIT sent
Read from socket failed: Connection reset by peer
But I cannot log on from the nanonote itself, also on the nanonote when I
ssh root@localhost
it says: “Read from socket failed: Connection reset by peer”
And restarting sshd results in “Could not load host key: /etc/ssh/ssh_host_rsa_key”.
Any hint on where the trouble is, will be appreciated,
Uwe
… and here we are. It is normal, so to say. The keys have never been created. You need to open a terminal on your nanonote and do:
# cd /etc/ssh/
# ssh-keygen -t rsa -f ssh_host_rsa_key
# ssh-keygen -t dsa -f ssh_host_dsa_key
# /etc/init.d/ssh reload
and everything will be fine.
@Uwe
we need re-install the openssh-server . I don’t know what wrong with the openssh-server configure.
I just re-install the openwrssh-server then everything works fine.
ok. you found the root problem.
[...] follow this link install debian in your Nanonote. 1. add this like to /etc/apt/sources.list deb-src [...]