Other sfdisk

How would I do this on FreeBSD?

Bash:
sfdisk --no-reread /dev/sdc <<EOF
label: gpt
unit: sectors
sector-size: 512
1 : start=2048, size=15699968, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, name="multiboot"
2 : start=15702016, size=65536, type=uefi, name="multiboot_EFI"
3 : start=15767552, size=2015, type=21686148-6449-6E6F-744E-656564454649, name="multiboot_BIOS"
EOF
 
Having just looked at the above code (I hadn't tried to figure it out before), am I correct in thinking three partitions are being created, although the 'type' seems very strange...
 
am I correct in thinking three partitions are being created
That's my understanding too.
although the 'type' seems very strange
The first, EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, appears to be a Microsoft BDP partition. I guess they have to use the GUID because it doesn't know what BDP is. The second, 21686148-6449-6E6F-744E-656564454649, appears to be a BIOS boot partition. Probably similar to freebsd-boot but specifically for Linux/Grub.
 
Back
Top