Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4104

Raspberry Pi OS • Re: Installing new software directly to an image in a chroot (Botspot)

$
0
0
$ loopdev=$(losetup -fP --show foo.img)
$ resize2fs ${loopdev}p2
$ losetup -d $loopdev
These steps need to be done as root (the previous steps are OK as user). Also, it will ask you to run e2fsck first, so it should be:

Code:

# loopdev=$(losetup -fP --show foo.img)# e2fsck -f ${loopdev}p2# resize2fs ${loopdev}p2# losetup -d $loopdev
So, with this change, I've got most of the issues raised in this thread sorted. I still get signature errors on the update (so, I am still hoping for a fix on that), but I was able to get ffmpeg installed in the image.

So, that's progress...

Statistics: Posted by BigRedMailbox — Fri Dec 20, 2024 5:51 pm



Viewing all articles
Browse latest Browse all 4104

Trending Articles