Running Debian And Android On The G1

tmobileg1

[Jay Freeman] has a rather exhaustive tutorial on how to set up a Debian environment on your T-Mobile G1. The first major issue with this is that getting root level access through telnetd is being patched. It certainly is a security issue that needs to be fixed, but a user shouldn’t have to root their own phone to begin with. While the G1 comes with some Linux tools, they’re limited. [Jay]’s goal was to create a familiar Debian environment on the phone. It takes a few tricks, but if you’re familiar with the command line, you shouldn’t have any problems. Debian already has ARM EABI support, so creating a working image isn’t a problem. The image file is stored on the SD card and mounted using the loopback device. The G1’s kernel has module support turned on, so [Jay] created an ext2 and unionfs kernel modules. [Benno Leslie]’s Android version of busybox is used to perform the actual mounting. Once mounted, you just need to chroot into the environment to start playing with native Linux apps. [Jay] takes this a step further by using unionfs to make the Android and Debian environments share the same root. This is really a great how-to and it’s nice to know that modules can be added to the kernel.

[photo: tnkgrl]

[via Hackszine]

How To Destroy A Filesystem

rmrf

The G1 ‘execute every command you type‘ bug naturally spawned ‘rm -rf /’ jokes. rm is the Linux command for deleting files. The -r and -f flags will cause it to remove files recursively and ignore confirmation. Executed as root it will annihilate the entire filesystem. Won’t it? [Jon Hohle] decided to test exactly how destructive the command was to *nix systems. How functional would the system be afterwards? He tested it side by side with the Windows equivalent, both ‘format c:’ and ‘del /F /S /Q’. He wanted to see what protections were available and what would be left working. Linux ended up completely broken while Windows, thanks to file locking, actually shutdown cleanly… and never came back. Some OSes, like Solaris, refuse to run the command ‘rm -rf /’ to prevent accidents.

Battle Of The Thumb Drive Linux Distros

We were expecting eye gouging and body slams, but this review of several thumb drive Linux distributions will do. They compared Damn Small Linux, Puppy Linux, Xubuntu, and Fedora. They don’t mention why they chose these four specifically, as UNetbootin has many many distributions available. They put each through its paces, listing common issues and boot up speed.

Their conclusion was that puppy Linux was preferable as it has a graphically nice interface and the ability to have persistent data storage on the disk. They have a poll going though, so head over and voice your opinion.

Another IKEA Linux Cluster

In a bit of serendipity, reader [Tim Molter] had decided on the IKEA Helmer cabinet for his new cluster right before seeing the previous IKEA cluster we covered. He and his coding partner recently completed building their own version of the IKEA Linux cluster. The cabinet was $30 and holds six headless boxes. Each board has a quad-core AMD processor for a total of 24 cores. They also feature 1GB of RAM and an 80GB laptop SATA drive. The latter was chosen because of space limitations in the case. [Tim] describes the Helmer cabinet as being almost perfect. The power supply lines up with the top edge of the drawer and the motherboard fits with a millimeter to spare. Power buttons were added to the front plus slots for airflow. It looks like a really clean installation and at $2550, incredibly cheap for the processing power.

XBMC Cross Platform Beta Released

It’s been a big week for the XBMC team. They announced the release of their first cross platform beta in preparation for a full release in October. XBMC started as a media center project for the original Xbox, but has expanded a lot since then. The new beta works on Linux, OSX (Leopard and Tiger), Windows, and Xbox. They’ve created XBMC Live, so you can get XBMC up and running quickly either by booting from the CD, from a flash drive, or using it to install to a disk. People have been writing add on apps too, like the XBMC Remote for iPhones.

This summer we covered both Boxee, a social version of XBMC, and Plex, the original XBMC OSX fork.

Cheap USB LCD

Part of the pre-Vista hype was the idea of auxiliary displays. Laptop and desktop displays would provide additional information from your computer. The Vista SideShow feature hasn’t really caught on and the surplus hardware has started to drop in price. Take this PicoLCD for example: It’s a 4×20 character LCD with an IR receiver, multiple buttons, and a USB connection. The best part is: it has Linux drivers and an open source SDK. We know  a lot of you like wiring up HD44780 based screens, but it’s hard to pass up a $50 prepackaged solution with such nice extras.

[via Engadget]

Tiny Cubic PC


We’ve been watching the progress of the Space Cube since 2004, but PC Pro managed to get their hands on it first. Developed by the Shimafuji Corporation, it comes with 16 megabytes of flash memory and a version of Red Hat is run off a 1 gigabyte CompactFlash card. The design of the Space Cube is pretty minimal, but it’s got the basics down, from a USB port to a VGA output and a D-SUB RS232 input, and even an Ethernet port. The most interesting thing about it is the Space Wire port, which is a proprietary interface use by NASA, the ESA, and JAXA for outer space. Unfortunately for working hackers, this ingenious micro-computer will set you back about £1,500.

[via NOTCOT]