Last active
August 29, 2015 14:12
-
-
Save iverasp/5671c90c4b6bdfcc4704 to your computer and use it in GitHub Desktop.
Debian Wheezy chroot on WDTV Live Gen3 (Model number: WDBGXT0000NBK)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The WD TV Live Streaming uses "a Sigma Designs SMP8670AD 700 MHz processor | |
with 512MB of DDR2 memory from Nanya" (wikipedia.org). | |
The CPU uses a MIPS instruction set, supported by debian-mipsel | |
(little-endian according to http://files.dune-hd.com/partners/sdk/dune_devel_info.txt) | |
Our directory with Debian needs to be "hidden" to prevent mt-daapd from continuously scanning it. | |
Make minimal Debian installation | |
apt-get install debootstrap | |
mkdir .wdtv_gen3_debian7 | |
debootstrap --arch mips --foreign wheezy .wdtv_gen3_debian7 | |
Setup USB storage | |
umount /media/usb_thumb_drive | |
mkfs.ext3 /dev/sdxN | |
*Reattach USB storage | |
cp -av .wdtv_gen3_debian7 /media/usb_thumb_drive/.wdtv_gen3_debian7 | |
umount /media/usb_thum_drive | |
Setup Debian environment on WD TV | |
cd /tmp/media/usb/usb_thumb_drive/ | |
mount -t proc .wdtv_gen3_debian7/proc | |
cp /etc/resolv.conf .wdtv_gen3_debian7/etc | |
cp /etc/hosts .wdtv_gen3_debian7/etc | |
chroot .wdtv_gen3_debian | |
./debootstrap/debootstrap --second-stage | |
*Edit /etc/apt/sources.list and replace content with | |
deb http://ftp.no.debian.org/debian wheezy main | |
apt-get update |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment