One thing left to mention, just for the files:
On Sun, 21 Mar 2021 08:06:13 +0000 Markus Robert Kessler wrote:
snip [...]
To make things easier, some weeks ago I started with setting up one
sample machine very carefully, I installed everything needed, created
the necessary users, made all updates, and then I created two tgz-balls,
one for boot and one for rootfs.
Making a new instance out of it can now be easily done by taking a new
SD card out of the box, overwrite the first hundred MBs with 'cat
/dev/zero
/dev/sdb' (stopping after some seconds) on a linux machine, then create
a Win95 partition with 256MB and the whole remaining space with linux filesystem using fdisk.
Afterwards I only have to format both partitions with the appropriate filesystem type and restore the backups.
Of course, the machine name has to be changed in /etc/hosts and /etc/ hostname, the most recent updates have to be applied and so on.
"And so on": The partition IDs have to be adapted also:
When the SD card is mounted on a Linux workstation, then the two
raspberry partitions will show up as (e.g.) /dev/sdb1 and /dev/sdb2 or
similar -- just verify. Then get their partition names with blkid /dev/ sdb{1,2} and update boot/cmdlist.txt and rootfs/etc/fstab on the SD card.
Otherwise your cigarette box won't boot.
Best regards,
Markus
--
Please reply to group only.
For private email please use
http://www.dipl-ing-kessler.de/email.htm
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)