partition Reply-To: http://man.openbsd.org/OpenBSD-7.2/disklabel.8#AUTOMATIC_DISK_ALLOCATION documents them.
'RAID 1M-* 100%' does exactly what the transcript of default answers in 'disklabel -E' do, but the template reads much clearer. In -current they're made even more obvious, so starting with 7.3 it'd be echo 'RAID *' | disklabel -wAT- sd0 Later 'disklabel -E' lines that come with a comment explaining what to do are left as-is. Also sync the EFI partition size the installer uses as of november 2022. Technically not in 7.2 but it would be wise to recommend the bigger size now, so users going through the FAQ installing 7.2 won't have a hard time on newer machines later on. Feedback? OK? Index: faq14.html =================================================================== RCS file: /cvs/www/faq/faq14.html,v retrieving revision 1.397 diff -u -p -r1.397 faq14.html --- faq14.html 20 Dec 2022 02:14:24 -0000 1.397 +++ faq14.html 7 Feb 2023 15:54:15 -0000 @@ -594,22 +594,14 @@ If you're booting from MBR, do: If you use GPT for UEFI booting, do: <pre class="cmdbox"> -# <b>fdisk -gy -b 960 sd0</b> -# <b>fdisk -gy -b 960 sd1</b> +# <b>fdisk -gy -b 532480 sd0</b> +# <b>fdisk -gy -b 532480 sd1</b> </pre> Create the partition layout on the first device: <pre class="cmdbox"> -# <b>disklabel -E sd0</b> -Label editor (enter '?' for help at any prompt) -sd0> <b>a a</b> -offset: [64] -size: [39825135] <b>*</b> -FS type: [4.2BSD] <b>RAID</b> -sd0*> <b>w</b> -sd0> <b>q</b> -No label changes. +# <b>echo 'RAID 1M-* 100%' | disklabel -w -A -T /dev/stdin sd0</b> </pre> Copy the partition layout to the second device: @@ -737,21 +729,13 @@ If you're booting from MBR, do: If you use GPT for UEFI booting, do: <pre class="cmdbox"> -# <b>fdisk -gy -b 960 sd0</b> +# <b>fdisk -gy -b 532480 sd0</b> </pre> Next, create the partition layout: <pre class="cmdbox"> -# <b>disklabel -E sd0</b> -Label editor (enter '?' for help at any prompt) -sd0> <b>a a</b> <!-- sparc64 users MUST use 'a a' here --> -offset: [64] -size: [39825135] <b>*</b> -FS type: [4.2BSD] <b>RAID</b> -sd0*> <b>w</b> -sd0> <b>q</b> -No label changes. +# <b>echo 'RAID 1M-* 100%' | disklabel -w -A -T /dev/stdin sd0</b> </pre> We'll use the entire disk, but note that the encrypted device can be