Initial partitioning

Diego Zuccato diego.zuccato at unibo.it
Thu May 29 09:47:27 CEST 2025


Hi Andrej.

I have many different partition schemes, sometimes per-class, sometimes 
per-host.

The last I used is:
-8<--
disk_config disk1 disklabel:msdos bootable:1 fstabkey:uuid align-at:1M 
preserve_reinstall:6,8

primary /               12G-16G    ext4  rw,noatime,errors=remount-ro
logical swap            2G-4G      swap  sw
logical -               120M-122M:preserve_lazy     ext4  noauto 
createopts="-L PERMDATA"
logical /var            8G-16G     ext4  rw,noatime,nosuid,nodev
logical /home           2G-        ext4  rw,noatime,nosuid,nodev
-8<--

Since the PC was a Windows machine, the disk was already partitioned 
with a completely different scheme and setup_storage errored out.
Might be related to preserve_* options (still couldn't grasp the 
difference between 'reinstall' and 'lazy') but what I need is just that 
those partitions are left untouched unless I tell FAI it's the first 
install.

Diego

Il 29/05/2025 09:26, andrej via linux-fai ha scritto:

 > Buongiorno Diego,
 >
 > How exactly are you using FAI, how have you modified your original
 > config files? I have no problems w/ reinstalls (blasting away/
 > reinstalling machines, whether or not they have pre-existing
 > partitions).
 >
 > Ciao,
 > Andrej

-- 
Diego Zuccato
DIFA - Dip. di Fisica e Astronomia
Servizi Informatici
Alma Mater Studiorum - Università di Bologna
V.le Berti-Pichat 6/2 - 40127 Bologna - Italy
tel.: +39 051 20 95786



More information about the linux-fai mailing list