Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×

Comment teh lolz (Score 5, Informative) 160

Here is the actual code from the bootdeb script.

I particularly like how init is "started" before the kernel is "booted". The "automounter" is also a nice touch. It's also impressive how the kernel boots in exactly 1 second every time.

echo "Custom Linux Pseudo Bootstrapper V1.0 - by Mark Walker"
echo "WEB: http://www.androidfanatic.com/"
echo "EML: admin@androidfanatic.com"
echo " "
sleep 1
echo "Starting init process"
sleep 1
echo "INIT: Debian booting....."
sleep 1
echo "Running Linux Kernel"
sysctl -w net.ipv4.ip_forward=1
sleep 1
echo "AutoMounter started"
sleep 1
echo "Type EXIT to end session"
echo "Make sure you do a proper EXIT for a clean kill of Debian!"
echo " "

chroot $mnt /bin/bash

On the other hand, my prediction re debootstrap was wrong. Rather than just use the shell script as designed, the creator of this thing ships an entire pre-built debian system that's chrooted into. Amusingly, this includes a root/.bash_history showing every command he ran while setting it up. (It also includes 104 mb of cached debs in /var, etc.)

Anyway, very amusing.

Comment this is just debootstrap (Score 3, Insightful) 160

All the video shows is debootstrap being run in a terminal on, presumably, a G1 phone.

Since debootstrap is a shell script that builds a debian chroot and is designed to be run on any linux system, that is not a significant accomplishment, is it?

That's the "installer" portion. The "bootloader" portion would appear to consist of something like:

#!/bin/sh
chroot /debian

Anyway, it's nice to see interest in running Debian on these devices, I guess..

Comment Re:Kind of Ironic... (Score 1) 246

FWIW, the win32-loader is interesting in that it gets compiled using entirely free software that's all available in Debian. Getting this to be true of every bit of it was one of the trickier things in developing it. http://packages.debian.org/win32-loader

It's also possible to run it in wine, it won't do anything,
but you can see the dialogs --good enough for the (very little bit of) testing/development that I've done on it.

The win32-loader is mostly the work of Robert Millan, who I'm sure like most of us has several licensed copies of Windows, even if he doesn't want them.

Slashdot Top Deals

A morsel of genuine history is a thing so rare as to be always valuable. -- Thomas Jefferson

Working...