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

Advanced users • Re: Image File Utilities

$
0
0

Code:

root@indigo:/# sudo umount /host-root-fssudo: unable to resolve host indigo: Name or service not knownumount: /host-root-fs: not mounted.root@indigo:/# sudo image-backupsudo: unable to resolve host indigo: Name or service not knownsudo: image-backup: command not foundroot@indigo:/# 

I don't know why you're getting "unable to resolve host indigo: Name or service not known". That doesn't occur here.

I tested the following and it works as expected here:

Code:

sudo ./device-chroot /dev/sdb  # The filesystem is now that of '/' on /dev/sdbumount /host-root-fsmount <backup-destination-device> </media or /mnt>/root/image-backupexit
Keep in mind that while device-chroot is running, /dev/sdb is the filesystem in effect. The host filesystem is not in your PATH, so image-backup must be on /dev/sdb and you must access it appropriately (I had a copy of image-backup on /dev/sdb/root).

I wrote the image file created by image-backup to a new device and it booted/ran just fine.

Statistics: Posted by RonR — Tue Nov 04, 2025 2:29 am



Viewing all articles
Browse latest Browse all 8015

Trending Articles