After installing Ubuntu live server 20.04.2, for my autoinstall config, if I specify the fstype as ext3, the Ubuntu server crashes. We were using the old debian installer and d-i used to enable us format a partition to ext3, but with the new version of preseeding, autoinstall is crashing if I specify the fstype:ext3.
Here is my autoinstall config.
#cloud-config
autoinstall:
version: 1
locale: en_US
# reporting:
# mylistener:
# type: webhook
# endpoint: http://192.168.1.19:8081
keyboard:
layout: us
network:
version: 2
ethernets:
eth0: {}
apt:
preserve_sources_list: false
primary:
- arches: [default]
uri: "http://archive.ubuntu.com/ubuntu"
storage:
config:
- {ptable: gpt, match: {}, wipe: superblock-recursive,
preserve: false, name: '', grub_device: true, type: disk, id: disk0}
- {device: disk0, size: 1MB, flag: bios_grub, number: 1, preserve: false,
grub_device: false, type: partition, id: partition-0}
- {device: disk0, size: 300MB, wipe: superblock, flag: '', number: 2, preserve: false,
grub_device: false, type: partition, id: partition-1}
- {fstype: ext3, volume: partition-1, preserve: false, type: format, id: format-0}
- {device: disk0, size: 4GB, wipe: superblock, flag: '', number: 3,
preserve: false, grub_device: false, type: partition, id: partition-2}
- {fstype: ext3, volume: partition-2, preserve: false, type: format, id: format-1}
- {device: format-1, path: /, type: mount, id: mount-1}
- {device: disk0, size: 1GB, wipe: superblock, flag: '', number: 4,
preserve: false, grub_device: false, type: partition, id: partition-3}
- {fstype: ext3, volume: partition-3, preserve: false, type: format, id: format-2}
- {device: format-2, path: /unused, type: mount, id: mount-2}
- {device: disk0, size: 1GB, wipe: superblock, flag: swap, number: 5,
preserve: false, grub_device: false, type: partition, id: partition-4}
- {fstype: swap, volume: partition-4, preserve: false, type: format, id: format-3}
- {device: format-3, path: '', type: mount, id: mount-3}
- {device: disk0, size: -1, wipe: superblock, flag: '', number: 6,
preserve: false, grub_device: false, type: partition, id: partition-5}
- {fstype: ext3, volume: partition-5, preserve: false, type: format, id: format-4}
- {device: format-4, path: /logs, type: mount, id: mount-4}
- {device: format-0, path: /boot, type: mount, id: mount-0}
version: 1
user-data:
timezone: US/Pacific
# disable-root: true
password: "$6$exDY1mhS4KUYCE/2$zmn9ToZwTKLhCw.b4/b.ZRTIZM30JZ4QrOQ2aOXJ8yk96xpcCof0kxKwuX1kqLG/ygbJ1f8wxED22bTL4F46P0"
username: ubuntu
In my above config, autoinstall works properly if I set the fstype as ext4.