Clone RPIE SD chip to mounted one?
-
Quick search found nothing on this.
Don't want to use Windows to do this, it seems to get real hung up on partitions, etc.
In the old days you would use the dd(2) command on the rdsk raw device to the other raw device. I'm concerned what happens to the swap space (if any) and file system integrity when doing this though.
Thank you
-
dd
pretty much copies every bit on the disk, it doesn't know anything about filesystems or files on it. That's pretty much howWin32DiskImager
- under Windows - works. You can use either commands to backup/restore an image to a new SD - but it will have to be un-mounted. -
@mitu said in Clone RPIE SD chip to mounted one?:
That's pretty much how
Win32DiskImager
- under Windows - works. You can use either commands to backup/restore an image to a new SD - but it will have to be un-mounted.I don't want to burn a new *.IMG file, but rather backup what I've spent a lot of time fixing up in my RPIE. I tried WIN32DiskImager without luck. If that is the best way I'll attack it again
-
@mitu The problem I was having with Win32DiskImager was getting an error dialog box when trying to open the SD card device. It was a "cannot lock volume" error.
Turns out this is a big problem with Windows (10 in my case). Some applications (typically music players or photo catalogers) traverse the file system looking for things and can have things open on your "boot" drive letter so you can't use it.
I was finally able to get it to work using a fresh laptop machine. So if you have this problem you might be able to find out who has files open on your SD card using Microsoft's "process explorer" program and close that program or be forced to another Windows instance.
I'm doing testing with my "dd" idea now that I have media I can experiment with.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.