Hacks‎ > ‎

Debian Chroot

This hack consists in chrooting debian lenny into your SE208BW.



Method 1

Requirements:
1. Your SE208BW
2. A USB flash drive or a usb hard drive bigger than 4 gigabytes.
3. A PC with Linux.
4. A telnet client on your pc or phone.

Steps:
1. Telnet into your SE208BW and type:
wget http://daniilgentili.magix.net/mkchroot.sh && sh mkchroot.sh

Follow the instructions you will see, chroot into debian and then type:

apt-get update
apt-get -y dist-upgrade

2. When finished type exit twice to exit chroot and telnet.
3. When you will need to access Debian again simply type the command you saw during the installation process.


Method 2

Requirements:
1. Your SE208BW
2. A USB flash drive or a USB hard drive bigger than 4 gigabytes.
3. A telnet client on your PC, phone or tablet.

Steps:
1. Connect your usb drive to the SE208BW, telnet into it and type:
wget http://daniilgentili.magix.net/mklchroot.sh
sh mklchroot.sh [ Option [ Argument ] ]

Options:
-h         Shows a help message
-d         Download pre-created loop file (default)
-c size    Create custom sized loop file. Size is a number in Megabytes (minimum size is 300).

Follow the instructions you will see, chroot into debian and then type:
apt-get update
apt-get -y dist-upgrade

2. When finished type exit twice to exit chroot and telnet.
3. When you will need to access Debian again simply type the command you saw while running the script.

Tip:
If something doesn't work, try to chmod 777 all the downloaded files.

Enjoy your debian chroot!

Explanation

Method 1
The debian chroot tgz file contains the only debian rootfs that I have found for this device's cpu (For more info about it see More info about this device).
While the two scripts were made by me to automatize the whole chroot creating process (Basically, untaring and moving right sources.list file.) and the chrooting itself (exporting right PATH, mounting and chrooting).
Method 2
Same explanation as above, the only difference is that all the files are stored in a ext2 fromatted loop file.