Subject: Detecting GPT-capability on SPARC machines in debian-installer
Since GRUB2 is now improving on SPARC support, we should start looking into the
necessary to use GRUB2 instead of SILO for new installations.
Newer SPARC machines starting from the T4 support GPT partition tables. In
partman-partitioning detects the architecture and subarch type to determine
of partition tables are supported .
This script calls archdetect from the src:hw-detect package  which uses
from libdebian-installer to determine the architecture and subarch. On x86, the
of EFI support is used to determine whether GPT is to be used . And the
of EFI itself is detected by checking whether the EFI filesystem (efivarfs) is
For sparc and sparc64, there is currently no subarch detectection at all 
the disk-label.sh script  hard-wires sparc and sparc64 to Sun partition
So, the question now is what the best approach would be to let debian-installer
GPT on sparc64 machines where it's supported. The simplest solution would
be to just run "prtconf -pv | grep -c gpt" from busybox in the disk-label.sh
and then enable GPT conditionally. But this isn't necessarily the cleanest