On Fri, May 12, 2017 at 5:33 AM, Christopher Burian <[email protected]>
wrote:

> William, I didn't get very far with apt-get remove before I was still left
> with lots of cruft and not knowing what I can get rid of without breaking
> things.
>
> Best regards,
> Chris
>

So, you need to be more specific as to what you need then. See, myself, I
do not start with an image that has everything under the sun built into it.
I start with a minimal image, and manually install what I need. So this:
https://wiki.ubuntu.com/ReducingDiskFootprint is a pretty good guide as to
what to do. Then yes, it is Ubuntu, but at least 80% of the stuff talked
about can be done verbatim for Debian. Especially considering Ubuntu is
based on Debian.Then when and if you run into trouble with a command,
because of Debian <-> Ubuntu differences, a good google session should
clear that up easily.

Something to be aware of. Some kernel modules may seem unnecessary for your
purposes, but may be needed by something you're unaware of. So, before
completely removing(deleting) kernel modules, at least move them some place
safe, so you could easily put them back if you run into trouble. Also think
hard about removing some of the other files they talk about. Again, google
will work wonders in "telling you" if you need those files or not.

Not to mention there is a post by me on these forums many months ago asking
Robert how he creates his Ultra bare minimal images. Search the groups here
for keywords "William Robert Reduce rootfs", and it'll probably come up.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CALHSORo6MgMPYOjNVXcfyHPFFJMDM058Ng8c_e4S5FzVo%2BCJxw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to