Score:0

Does Ubuntu autoinstall support ext3 file system format.?

tr flag

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.

Nmath avatar
ng flag
Can you tell us why you think you need to use ext3 instead of ext4?
tr flag
Our preseed config was using debian-installer and we had created partitions with ext3, now if I want to upgrade the software to support ubuntu 20.04, there will be a problem I think.
PonJar avatar
in flag
I’d be inclined to try to solve any problems that may arise with ext4 but probably will not. ext4 is a far better filesystem
Andrew Lowther avatar
jp flag
What gets logged when "autoinstall is crashing"? What step does it crash? I was able to use your storage config block without any problems installing 20.04.2 (subiquity 21.01.2). I ended up with four ext3 file systems.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.