Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does piclone (SD Card Copier) work with GPT-partitioned "Hybrid MBR" RPi SSD's? (As is necessary above 2TB!) #44

Open
holta opened this issue Dec 6, 2023 · 5 comments

Comments

@holta
Copy link

holta commented Dec 6, 2023

Many thanks to RonR who's helped so many people get modern/large SSD drives (larger than 2TB!) working with Raspberry Pi! Thanks to his lifesaver mbr2gpt (interactive bash script) that he's posted as part of usb-boot.zip here: (as he very actively supports the entire RPi community, amazingly!)

https://forums.raspberrypi.com/viewtopic.php?t=196778

KEY QUESTION: Does anyone know if such GPT-partitioned "Hybrid MBR" Raspberry Pi OS SSD drives can successfully be copied using Raspberry Pi OS's Raspberry start menu (top-left of screen) > Accessories > SD Card Copier ?

@spl237
Copy link
Contributor

spl237 commented Dec 7, 2023

To be honest, I don't know! SD Card Copier simply duplicates the partition structure (up to a limit of 10 partitions, IIRC) and then does a standard file copy to duplicate everything in each partition. I can't immediately see any reason why it wouldn't work unless there is something peculiar about the gpt partition structure. Have you tried it?

@holta
Copy link
Author

holta commented Dec 7, 2023

Have you tried it?

I will ask educators in "wartorn" Cameroon to try it as soon as they can in coming weeks, and report back results.

@spl237 huge thanks for your work & for explaining!

@holta
Copy link
Author

holta commented Dec 8, 2023

No dice!

Just FYI they (in Cameroon) tried SD Card Copier using the very latest 64-bit Raspberry Pi OS with desktop (from December 5th 2023) and the immediate result is "Non MS-DOS partition table on source." — as seen in this screenshot:

image

@spl237
Copy link
Contributor

spl237 commented Dec 8, 2023

OK, thank you for testing.

Without looking into it, I'm not sure if that will be a trivial or a complicated thing to fix. I will put it on the to-do list and have a look at it in the new year.

@holta
Copy link
Author

holta commented Aug 21, 2024

With 4TB SSD drives becoming extremely common in 2024, just FYI here is a related discussion thinking over how Raspberry Pi Imager might support such drives:

(larger than 2TB requires GPT instead of MBR, and likely firmware adjustments as 512-byte sectors to become 4KB !)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants