<div dir="ltr"><div>Thank you Sir.</div><div><br></div><div>Yes sorry the remaining installation steps were omitted to keep it concise. We want to use PFSs so we opted for the manual installation.</div><div><br></div><div>A few things on the 'gpt init' method:</div><div><br></div><div>When using the -B flag the machine freezes:</div><div><br></div><div># gpt init -f -B -E da0 // Machine freezes<br></div><div><br></div><div>Also since the 'gpt init' method creates a boot partition on the 's0' partition, do we install the boot code during installation as shown:</div><div><br></div><div># cpdup /boot /dev/da0s0a</div><div><br></div><div>Does this require a separate disklabel for the s0 partition that 'gpt init' creates:</div><div><br></div><div># disklabel -B -r -w da0s0</div><div># disklabel -e da0s0</div><div> a: 0 1g msdos</div><div><br></div><div>Would the 's1' slice only contain partitions 'b' and 'd', requiring another disklabel:</div><div><br></div><div># disklabel64 -B -r -w da0s1<br># disklabel64 -e da0s1<br> b: 32g * swap<br> d: * * HAMMER2</div><div><br></div><div><br></div><div>Entire sequence (assuming machine doesn't freeze):</div><div><br></div><div> # gpt destroy da0<br> # gpt init -f -B -E da0<br> # gpt show da0 <br></div><div><br></div><div>
<div># disklabel -B -r -w da0s0</div><div># disklabel -e da0s0</div><div> a: 0 1g msdos</div><div><br></div>
# disklabel64 -B -r -w da0s1<br># disklabel64 -e da0s1<br> b: 32g * swap<br> d: * * HAMMER2</div><div><br></div><div># newfs_hammer2 /dev/da0s1d</div><div><br></div><div>Proceed with installation.<br>
</div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jan 29, 2023 at 5:12 AM Matthew Dillon <<a href="mailto:dillon@backplane.com" target="_blank">dillon@backplane.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Most modern BIOSes boot EFI by default, so all you should need to do to get past the BIOS (but not actually boot dragonfly yet), is:</div><div><br></div><div>gpt init -f -B da0</div><div><br></div><div>That will create an EFI bootable drive, which is to say it creates the EFI slice table, puts a msdos filesystem in slice 0 along with the appropriate EFI boot file, and puts a DragonFly disklabel on slice 1 which you can then edit. That would get past the BIOS, but not be able to boot DragonFly without a few more steps since no filesystems have been created on da0s1a (/boot) and da0sd (which is typically the root, / ), and no base system has been installed on them, along with the appropriate /boot/loader.conf, /etc/fstab, and so forth on the target drive.</div><div><br></div><div>It is usually easier to boot an install image from usb and have the installer setup the drive for you.</div><div><br></div><div>-Matt</div></div>
</blockquote></div>