Originally Posted by enatefox
Yeah, you told me that before but I've not only never had but the occasional issue with a "permission denied" loop at bootup (maybe 1/15 images I edit) but it saves downloading the whole source. Easiest thing for me to post. I would've posted what you did but it's just easy and works to do it the way I posted. Not that I'm not open to any other reason for doing it your way, I'm just uneducated and prefer easy, 2-4gb saving methods. I noted that the copy function takes "-paRf" where "a" seems to do what the "a" flag in your way does and "p" is redundant but seems to work better.
No, -a for genext2fs is not the same as -a for cp, it has a list of all the system directories and the correct permissions and ownership for them. If you don't do this then you will have problems with your system image.
I've attached a copy of it so you don't have to compile it from source.