Hello Philosopher,
>> 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.
You can use Win32DiskImager.exe for that on Win systems.
>> Gparted would help with resizing the partition(s).
Yes.
> Looking at my Pi the card has two partitions. One is ext4 and is mounted
> on /
> The other is on /boot, type vfat
Correct.
> 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.
That will fail, if you forget to copy the hidden files too !
The image way with the DD command is de most secure one.
And indeed, after that it is adviseable to enlarge the EXT4 partition with
e.g. GPartEd.
The only disadvantage are the same UUIDS ;-(.
> You will need to patch the /etc/fstab on the new card to reflect the
> blockids of the new partitions
I think that is not necessarry when you use GPartEd.
> Or make the new partition UUIDS the same as the old SD card
Not advisable, as you are then not able to mount both cards on the same machine
simulteaniously.
> Linux command blkid is your friend here.
Not necessarry when GPartEd is used.
Greetings from Henri.
---
* Origin: Connectivity is the Future; UniCorn BBS 31 26 4425506 (2:280/1208)
|