Just to get things right and understand a little bit more this thread is all about...
I have a new Dreamplug and want Debian Sqeeze on there...
This is a Sheevaplug board. Therefore some of the details will differ, but the principle of using debootstrap should work for both.
debootstrap is a command used to build a rootfs. The script that was pasted into the comment earlier in this thread has comments. Those comments explain many things, but not necessarily everything that you might need to know.
You use the script to build a roots; at least the second part of the script must be run on a device that uses the same processor as your target device. The rootfs that you build may occupy a Gigabyte or more of disk space (if you install a desktop environment, which is not a part of this example script), so you must ensure that you will have enough free disk space for the rootfs and probably the compressed version that you create at the end.chmod a+x scriptname
to make the script runnable.
When you have created the rootfs, you transfer it to a device (ie (micro)SD card, hard drive) that must
be partitioned correctly for the hardware that you are using.
For instance, the standard way of booting a Sheevaplug from SD card involves putting 2 partitions on the SD card; a small ext2
partition for the kernel and a larger ext3
partition for the rootfs. There may also be requirements for the environment variables.
The Dreamplug partitioning requires a FAT
partition for the kernel and ext3
for the rootfs