(L)Ubuntu 24.04 Daily install fails when XFS is selected

Bug #2044623 reported by Dan Simmons
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
calamares (Ubuntu)
Invalid
High
Unassigned
grub2 (Ubuntu)
Fix Released
High
Mate Kukri
xfsprogs (Ubuntu)
Fix Released
High
Julian Andres Klode

Bug Description

Lubuntu Noble install on Proxmox VM with EFI
4G RAM 32G disk 2CPU cores
XFS Erase disk automatic partitioning selected.

** expected result
Install proceeds using the XFS filesystem and completes without error; reboot into the new system

** actual result
Install fails with error -
2023-11-25 - 16:08:25 [1]: ERROR: Installation failed: "Bootloader installation error"
2023-11-25 - 16:08:25 [6]: .. - message: "Bootloader installation error"
2023-11-25 - 16:08:25 [6]: .. - details: The bootloader could not be installed. The installation command <pre>grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=ubuntu --force</pre> returned error code 1.

Booting into the new system fails.

An installation with EXT4 proceeds and works as expected on the same VM configuration.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: calamares 3.3.0-alpha6-0ubuntu1
ProcVersionSignature: Ubuntu 6.5.0-9.9-generic 6.5.3
Uname: Linux 6.5.0-9-generic x86_64
.etc.calamares.modules.after_bootloader_context.conf:
 ---
 dontChroot: false
 timeout: 120
 firmwareType:
     "*": "-rm ${ROOT}/home/${USER}/Desktop/lubuntu-calamares.desktop"
.etc.calamares.modules.finished.conf:
 ---
 restartNowMode: user-checked
 restartNowCommand: "systemctl -i reboot"
.etc.calamares.modules.fstab.conf:
 crypttabOptions: luks,keyscript=/bin/cat
 efiMountOptions: umask=0077
.etc.calamares.modules.shellprocess_logs.conf:
 ---
 dontChroot: true
 timeout: 30
 script:
     - calamares-logs-helper ${ROOT}
.etc.calamares.modules.unpackfs.conf:
 ---
 unpack:
     - source: "/cdrom/casper/filesystem.squashfs"
         sourcefs: "squashfs"
         destination: ""
ApportVersion: 2.27.0-0ubuntu6
Architecture: amd64
CasperMD5CheckResult: pass
CasperVersion: 1.487
CurrentDesktop: LXQt
Date: Sat Nov 25 16:40:22 2023
LiveMediaBuild: Lubuntu 24.04 "Noble Numbat" - Daily amd64 (20231124)
RelatedPackageVersions:
 calamares-settings-ubuntu-common 1:24.04.8
 calamares-settings-lubuntu 1:24.04.8
 xfsprogs 6.5.0-1
 btrfs-progs 6.3.2-1
SourcePackage: calamares
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Dan Simmons (kc2bez) wrote :
Revision history for this message
Dan Simmons (kc2bez) wrote :

Attaching the Calamares session.log

description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in calamares (Ubuntu):
status: New → Confirmed
Revision history for this message
Leó Kolbeinsson (leok) wrote :

Confirmed - tested daily ISO 25-11-2023 barebone machine - AWOW NY41 – Int.Cel. J4125, 8GB, 128GB SSD,Intel UHD Graphics 600Dual Band WiFi,Ethernet,BT5.1

Running in UEFI+secure boot mode xfs selected with swap file

Revision history for this message
Leó Kolbeinsson (leok) wrote :

performed second test same machine as in comment # 4 with EXT4 selected and no error.

Revision history for this message
Mate Kukri (mkukri) wrote :

The same has been reported on a BIOS system too (arraybolt3 #lubuntu-devel):

> grub-install --target=i386-pc --recheck --force /dev/sda
> Installing for i386-pc platform.
> grub-install: error: unknown filesystem.

Changed in grub2 (Ubuntu):
assignee: nobody → Mate Kukri (mkukri)
Mate Kukri (mkukri)
summary: - Lubuntu 24.04 Daily install fails when XFS is selected
+ (L)Ubuntu 24.04 Daily install fails when XFS is selected
Simon Quigley (tsimonq2)
tags: added: rls-nn-incoming
Mate Kukri (mkukri)
tags: added: foundations-todo
Simon Quigley (tsimonq2)
Changed in grub2 (Ubuntu):
importance: Undecided → High
Changed in calamares (Ubuntu):
importance: Undecided → High
Changed in grub2 (Ubuntu):
status: New → Confirmed
Revision history for this message
Aaron Rainbolt (arraybolt3) wrote :

This appears to be a GRUB issue - trying to install Lubuntu *or* Ubuntu Desktop gives me an "unknown filesystem" error when GRUB attempts to install. Attached is the screenshot from a failed Ubuntu Desktop installation.

Revision history for this message
Julian Andres Klode (juliank) wrote :

xfsprogs 6.5 enables new feature flags which we do not yet support in grub. We'll be enabling them in grub once the patches have been merged but in either case the new features should be reverted in 24.04 such that 22.04 grub can still read it.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xfsprogs (Ubuntu):
status: New → Confirmed
Mate Kukri (mkukri)
Changed in calamares (Ubuntu):
status: Confirmed → Invalid
Changed in xfsprogs (Ubuntu):
assignee: nobody → Mate Kukri (mkukri)
Simon Quigley (tsimonq2)
Changed in xfsprogs (Ubuntu):
importance: Undecided → High
Revision history for this message
Julian Andres Klode (juliank) wrote :
Changed in xfsprogs (Ubuntu):
assignee: Mate Kukri (mkukri) → Julian Andres Klode (juliank)
status: Confirmed → Fix Committed
Revision history for this message
Simon Quigley (tsimonq2) wrote :

The xfsprogs fix works with the latest Lubuntu daily. Next step is checking the main Ubuntu Desktop ISO.

tags: removed: rls-nn-incoming
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xfsprogs - 6.5.0-1ubuntu1

---------------
xfsprogs (6.5.0-1ubuntu1) noble; urgency=medium

  * debian/patches/revert-mkfs-enable-large-extent-counts-by-default.patch:
    Revert large extent counts feature for noble (LP: #2044623)

 -- Julian Andres Klode <email address hidden> Tue, 28 Nov 2023 18:27:22 +0100

Changed in xfsprogs (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Leó Kolbeinsson (leok) wrote :

Confirm bug fixed after testing Lubuntu Noble daily ISO dated 05-12-2023

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/2044623

tags: added: iso-testing
Revision history for this message
Mate Kukri (mkukri) wrote :

I believe grub2 2.12-1ubuntu1 added the necessary XFS feature support, so I am closing this as "Fix Released" in grub2 too.

Changed in grub2 (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.