On 16/06/2020 07:27, PeterMerchant wrote:
On 15/06/2020 22:46, Andrew wrote:
I've just remembered, for a Raspberry Pi you don't need to duplicate the entire
contents of the µSD card - you can create a new partition table and filesystems
(FAT32 for boot, EXT4 for root) on the blank µSD card and copy everything using
regular file copy commands.
You might need to edit what will become /etc/fstab to update the UUID of the
new root filesystem. (And any other filesystems it needs to mount.)
It's not quite that simple somehow. To get the two partitions to the right
size, I just installed an image of Raspbian stretch on the SD card, Then
connected the 'master' card to the computer. I used Dolphin in split mode and
(Being extra careful) I was able to copy the contents of the boot partition
across ok, but I was not permitted to write to the rootfs partition except in
the home directory. I tried all sorts of ways of changing the permissions
without success.
By going into terminal mode I was able to edit things like dhcpcd.conf so that
I can fire up the R-Pi and connect to a known IP address. So I am now updating
and going to go through the rebuild process to get to my desired starting point
for playing.
Peter
--
Next meeting: Online, Jitsi, Tuesday, 2020-07-07 20:00
Check to whom you are replying
Meetings, mailing list, IRC, ... http://dorset.lug.org.uk
New thread, don't hijack: mailto:dorset@mailman.lug.org.uk