TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ANSSI SAARI
from: THE NATURAL PHILOSOPHER
date: 2019-02-28 15:55:00
subject: Re: Copying a working SD

On 28/02/2019 14:34, Anssi Saari wrote:
> David Taylor  writes:
>
>> I had considered using a Windows disk imager program to copy the 8 GB
>> card to a .IMG file and then writing that image to the 32 GB card, but
>> I don't know whether Linux would even recognise the card...
>
> Seems likely this could work (assuming the Windows thingy doesn't panic
> if it sees a Linux file system) but you'll just have the file systems
> you had on the 8 GB card. Gparted would help with resizing the
> partition(s).
>

Looking at my Pi the card has two partitions. One is ext4 and is mounted
on /

The other is on /boot, type vfat

Now, as I understand it, the PI has no boot sector, so all you need to
do is partition a raw card with anbout 44M as VFAT, and the rest as ext 4.

Then copy your existing files from one to the other.

You will need to patch the /etc/fstab on the new card to reflect the
blockids of the new partitions

Or make the new  partition UUIDS the same as the old SD card

Linux command blkid is your friend here.


--
"And if the blind lead the blind, both shall fall into the ditch".

Gospel of St. Mathew 15:14

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.