<div dir="ltr">ok - After many tries I finally found the storage section that works when converting an old non-efi to ubuntu 20.04<div><br></div><div>  storage:<br>    config:<br>    - {ptable: msdos, wipe: superblock-recursive, preserve: false, name: '', grub_device: true, type: disk, id: disk-0}<br>    - {device: disk-0, size: -1,   wipe: superblock, flag: '', number: 1, preserve: false, grub_device: false, type: partition, id: partition-1}<br>    - {fstype: ext4, volume: partition-1, preserve: false, type: format, id: format-1}<br>    - {device: format-1, path: /,     type: mount, id: mount-1}<br></div><div><br></div><div><br></div><div>This storage did not work - as after install the system would not boot.</div><div>  storage:<br>    layout:<br>      name: direct<br></div><div><br></div><div>So the question is - how do I have 1 autoinstall file that supports both of these types?</div><div><br></div><div>is there a way to have "conditionals" for the lines in the storage ? Some how in early commands detect which type I have - and then in storage have the conditions ?</div><div><br></div><div>Thanks</div><div><br></div><div>Jerry</div></div>