30 April 2016, 04:51:27 pm
Logged

#### stonerockner

• Newbie
• Posts: 2
##### Re: preconfigured Debian SD cards
« Reply #17 on: 08 June 2011, 02:27:26 pm »

Hi!
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...

Several questions:

1) I need a micro sd card, partition it to vfat (i.e. 25MB) and ext3 (i.e. rest of usd)?
2)I then copy the script into a text file? (Minor changes -> i.e. Squeeze for "testing" etc)
3) Make it executable (chmod 777)?
4) Run it with Bash in the ext3 partition (Command)?
4) Put a uImage to vfat partition (which one) ?
5) Take usd out of DreamPlug and put new one we just created in the Plug?
6) Just power on or use jtag to change anything?

Thank you guys so much for making life a little bit more simple! You rock!!

Logged

#### NewIT_Marcus

• Hero Member
• Posts: 960
##### Re: preconfigured Debian SD cards
« Reply #18 on: 08 June 2011, 06:13:14 pm »

Hi!
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
Logged
Pages: 1 [2]