seapath / build_debian_iso

Code to build a debian seapath ISO file using FAI Project
https://lfenergy.org/projects/seapath/
Apache License 2.0
5 stars 7 forks source link

installation when hard disk is not the first on the list #118

Open pierrickmolera opened 1 month ago

pierrickmolera commented 1 month ago

In my case when I have only one hard disk and its path is /dev/nvme0n1 it's considered as the second disk on the list because my USB is the first one instead.

At Seapath installation startup I got firmware issue loading because files was not copied.

Is there a solution without to change the configuration each time to detect it by putting USB key as second device on the list and /dev/nvme0n1 on the top ?

insatomcat commented 1 month ago

Can you try with disklist="nvme0n1 " in the usercustomization/class/USERCUSTOMIZATION.var file?

pierrickmolera commented 4 weeks ago

thanks Florent in my case, I've added second disk "sda" and that resolved the issue, and yes by giving exactly the name of the disk that would work Just wondering if in the case there is only one disk, nvme0n1 that could be detected as the default disk where we can have an automatic Seapath installation

insatomcat commented 4 weeks ago

FAI reads the disks in the order they appear in /proc/partitions, and is supposed to ignore the flashdisk used to boot (https://github.com/faiproject/fai/blob/213e56e7bea7fadbfcfecf4feb7ce1d505b1dc28/lib/fai-disk-info#L14)

I've never had FAI trying to install the system on the usb disk used to boot.