Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pierrickmolera opened this issue Oct 9, 2024 · 3 comments
Open

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

pierrickmolera opened this issue Oct 9, 2024 · 3 comments

Comments

@pierrickmolera
Copy link

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
Copy link
Member

insatomcat commented Oct 9, 2024

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

@pierrickmolera
Copy link
Author

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
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants