Jump to content

Configuring eisy to boot from an NVMe SSD - Partition 2 label name


Recommended Posts

What is the partition label name for the main partition (nvd0p2)?

I had a few issues doing the NVMe upgrade. The original script did not want to run with the two functions in it:  "setup_nvme_boot()" & "remove_emmc_mirror". So I broke the original script it into two separate scripts. That worked.

However these seems to be a missing third function: "update_efi_boot_loader_label". I would assume it relabels paration 2.

If someone could run "gpart list" on a factory system and provide the label name that would be great.

My current partition labels:

nvd0p1: efi

nvd0p2: (null)

nvd0p3: swap0

nvd0p4: HAIO

-----------------------------------------------

Also I made minor changes to the script.

added the alignment option and change the reserved size to 96 gb.

 MAIN_SIZE=`gpart show nvd0 | grep GPT | awk '{printf ("%.0f\n", ($3-42)/(2*1024*1024)-96)}'`
 gpart add -s ${MAIN_SIZE}G -t freebsd-zfs -a 512 nvd0

Added a 4th partition, by hand for home assistant.

 --> The eisy is a much more versatile box than i thought. Nice job team UD.

Link to comment
Guest
This topic is now closed to further replies.

×
×
  • Create New...