Raspbian includes a "SD Card Copier" on the tools menu. That will copy just the used part of your 16GB SDCard to your 32GB SDCard and give you a bootable clone.
It's been there since 2016 and there's some docs at: https://www.raspberrypi.org/blog/another-update-raspbian/
Well, SD cards DO have a physical switch that can be used to make them immutable. But I'll assume you already tried that ;)
I thought crasic's suggestions were good, and the linked post he shared answers how you would really accomplish this.
To directly answer your question, "No, there is not a device that does this". Something cannot be both immutable and ...
Get a cloning program like Apple-Pi Baker for Mac, Win32 Disk Imager or Windows freebies maybe.
Make an image of your SD card you want to expand. This will make an ISO file that is a clone of that disk.
Insert the blank 32gb SD into a reader, and select in the baker program, and then it will write the image of the 16GB card to the new 32GB card.
You can loop mount the image file on a linux system (including the Pi itself).
This lets you examine and modify the image.
I use the following script (not mine - sourced from https://raspberrypi.org/forums/viewtopic.php?p=1528736).
This works with Raspbian, and should work with any normal image with 2 partitions.
It could be modified for any image by ...
You can mount the partitions -- there are probably two (Raspbian), possibly more but not less -- in a Pi SD card image pretty much the same way you would1 mount the partitions on a card created from such an image.
How can I mount a Raspberry Pi Linux distro image?
Any changes you make while the image partitions are so mounted are real, meaning if you ...
Is there any program I can use to repair this SD card?
Technically the card does not need to be formatted before you burn a Pi OS image to it, since that will overwrite any previous formatting anyway. As I understand it, the reason you need to format it first on MS Windows is because some of the tools used there to burn the image won't do anything with the ...
Download BalenaEtcher from https://www.balena.io/etcher/ Choose Windows and Install into System.
Download Zip from https://www.raspberrypi.org/downloads/raspbian/
Put ur Damaged Sd Card into Card reader and put into System, and Open Balena Etcher, In First step select ur zip, In Second Step do u see ur damaged Card ? If yes than go to Third step which must ...
I have the same issue that @thatoneguy245 and test my 32 GB sd card on windows and Unix with all solutions found on Google.
But, after many many many pull push SD card from different devices.
I found the issue : the strength of the card was broken and micro power cuts broke the links and create circuit breakages. I only saw it after returning the SD card ...
I've been in the same situation, wanting to run Arch on my Pi with only the MacBook without Linux.
Requirements: USB Stick + SD Card + Live Linux
If you haven't got a USB SD card reader, you can write a Debian live image (or any favorite LIVE distro) to the USB stick, on macOS, using, for example, balenaEtcher or the dd utility from Terminal, then you can ...