Installing debian on a Popcorn Hour A-210

Instructions based on:

On an existing Debian or Ubuntu system:

apt-get install debootstrap
debootstrap --arch mipsel --foreign stable debian
tar -cvzf debian.tgz debian
mount --bind /proc/ debian/proc/
mount --bind /dev/ debian/dev/

Copy the TGZ to your device, log in with telnet on your NMT, and run:

tar -xvzf debian.tgz
cd debian
usr/sbin/chroot . /bin/bash
export PATH=$PATH:/usr/bin:/usr/sbin
debootstrap/debootstrap --second-stage
# Verify the DNS settings, in case you used different network configurations on the computer and the Popcorn Hour:
cat /etc/resolv.conf

Now you should have a Debian system running. Configure the package source:

usr/sbin/chroot . /bin/bash
echo "deb squeeze main " >> /etc/apt/sources.list
echo "deb squeeze/updates main " >> /etc/apt/sources.list

Note: check out the following generator for sources.list :

Update the package list and install the required packages:

apt-get update
# Standard stuff:
apt-get install vim less sysklogd sudo lsof nmap wget curl psmisc
# Development:
apt-get install gcc autoconf automake subversion git uuid-dev uuid-runtime make

Create a user (working as root constantly is dangerous):

adduser user

Install SSH:

apt-get install openssh-server openssh-client
/etc/init.d/ssh start

This entry was posted in Linux and tagged . Bookmark the permalink.

3 Responses to Installing debian on a Popcorn Hour A-210

  1. Hey, I know that this is an old post but.
    I don’t quiet understand how this is done.
    And does this mean that it is possible to replace the the default system on the A-210 ?
    And if so would it be possible to replace the system with an opensource mediacenter, like kodi or some thing else ?

    • ocroquette2 says:

      Hi Jonathan, this doesn’t replace the original system, it just installs a Debian system in a subfolder on the device. You can enter it using telnet to log in on the origin system, and then chroot’ing into Debian. Or, if the SSH server is running from with the Debian subfolder, you can use SSH to login directly into Debian.
      I don’t know if you could run Kodi using this way or another, but I doubt it.

      • Thanks for the info, I was looking to replace the original system since there is no updates for it any more any I think that the library management is limited. I think that I may upgrade to a raspberry pi base system in the future for more flexibilitie.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s