helloSystem / ISO

helloSystem Live and installation ISO
https://github.com/helloSystem/
BSD 3-Clause "New" or "Revised" License
806 stars 58 forks source link

Use more descriptive names for the partitions on the ISO #322

Open probonopd opened 2 years ago

probonopd commented 2 years ago

image

We should use more descriptive names, e.g., "helloSystem 0.7.0" instead of "LIVE".

But:

Currently we are using vfs.root.mountfrom="cd9660:/dev/iso9660/LIVE" to find the disk we want to boot the ISO from. This is not the best way to do it, because if multiple USB sticks are attached to the computer we might well end up booting into the wrong one.

The use of UUIDs which would change for every build would be ideal.

Can one mount disks in FreeBSD based on their UUID?

FreeBSD% ls /dev/gptid/
ls: /dev/gptid/: No such file or directory

How to get it?

Porbably need to remove

kern.geom.label.disk_ident.enable="0"
kern.geom.label.gptid.enable="0"

as I am not sure why it was there to begin with.

Related: UUIDs for ISO9660: https://lists.gnu.org/archive/html/grub-devel/2008-08/msg00667.html