Looking forward to this it would be a good addition to the wiki.SirLagz wrote:I'm actually in the process of creating just this
Did you strip stuff before you installed the LAMP packages ?fos wrote:I have a LAMP development system running on my RPi. It was easy to set up. When I get home from work this evening, I'll list the packages you need to apt-get. Everything is available.
In Your image there are modules for cutdown kernel version and full kernel. You can leave just for full kernell if using it. When preparing images for downloading, it is good practice to zerofill freespace for better compression. More details in post from a highly respected mpthompson.SirLagz wrote:IIRC I did remove a few services that were related to X so memory usage should go down by a bit.
Also, download size has stayed a similar size for now. I kept the image at 2 gigs, however i will hopefully be cutting it down more tonight and resizing the image itself.
If anyone has installed it and notice any other packages that could be stripped, feel free to shoot me a pm or comment on my blog and i can strip it down further
Sorry, I missed a step. After the "dd" line there should be a command creating a file system for the new image. Something likethenewguy wrote:Just want to chime in here with the "zero fill" suggestion. I've found an easy way to make sure an image file is filled with zeros (and therefor compresses better) is to create a new, empty image and copy your data into it. For example
dd if=/dev/zero of=new_image.img bs=1000000 count=2000
mount original_image.img Old_Image
mount new_image New_Image
cp -R Old_Image/* New_Image
I've found the copy command makes efficient use of the available space, making the new image compress better.
Users browsing this forum: No registered users and 24 guests