Re: Making sure to partition the right disk(s)

2024-02-23 Diskussionsfäden Diego Zuccato
Just found another issue: if the MY-DATA partition is on the target disk, reinstall errors out at partitioning because it finds that partition in use. Error happens even if the partition is correctly flagged preserve_lazy :( Enough tampering for today. BYtE, Diego Il 19/01/2024 15:44,

Re: Define sda as the smallest disk

2024-02-23 Diskussionsfäden Diego Zuccato
Just a followup. My script had a serious bug (plus a typo), too: since it gets sourced, $0 is not what I expected :( After many failed atttempts finally I noticed it and patched. What I just tested: -8<-- root@fai:/srv/fai/config/class# cat 99-disklist.sh #! /bin/bash mydisks() { find