lubuntu calamares - replace partition (sda2) failed

Bug #1989165 reported by Chris Guiver
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calamares (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

** I encountered another older bug with the `ubuntu-bug calamares` so I've forgotten the issue & thus cannot select any existing bug report... I'll amend this when I've refreshed memory by looking at calamares session.log

hp8200 install using 'replace partition' - sda2 was selected; EFI was detected & it reported it would re-use SDA1 as ESP (if I recall correctly)

ProblemType: Bug
DistroRelease: Ubuntu 22.10
Package: calamares 3.3.0-alpha2-0ubuntu2
ProcVersionSignature: Ubuntu 5.19.0-15.15-generic 5.19.0
Uname: Linux 5.19.0-15-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.23.0-0ubuntu1
Architecture: amd64
CasperMD5CheckResult: pass
CasperVersion: 1.474
CurrentDesktop: LXQt
Date: Fri Sep 9 15:34:51 2022
LiveMediaBuild: Lubuntu 22.10 "Kinetic Kudu" - Alpha amd64 (20220908)
RelatedPackageVersions:
 calamares-settings-ubuntu-common 1:22.10.11
 calamares-settings-lubuntu 1:22.10.11
 xfsprogs 5.16.0-1ubuntu1
 btrfs-progs 5.19-1
SourcePackage: calamares
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Chris Guiver (guiverc) wrote :
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:
https://iso.qa.ubuntu.com/qatracker/reports/bugs/1989165

tags: added: iso-testing
Revision history for this message
Chris Guiver (guiverc) wrote :

Next day & re-try using same box
- hp 8200 elite sff (i5-2400, 8gb, nvidia quadro 600)

Today I used manual partitioning;
sda1/ESP - re-used sda1 (keep or no-format)
sda2 for / - format ext4

process ended with this on screen (likely identical to yesterday)

---
Installation Failed
The installer failed to create partition on disk 'WDC WD2500AAJS-75M0A0'
Details:

Create a new partition (51.27 GiB, ext4) on ‘/dev/sda’

Job: Create new partition on device ‘/dev/sda’

Command: sfdisk --force --append /dev/sda

Failed to add partition ‘New Partition’ to device ‘/dev/sda’.

Failed to add partition ‘New Partition’ to device ‘/dev/sda’.
---

No calamares directory in ~/.cache (ie. looking for session.log I didn't find yesterday)
---
lubuntu@lubuntu:~/.cache$ ls -la
total 10304
drwx------ 9 lubuntu lubuntu 200 Sep 10 11:25 .
drwxr-x--- 13 lubuntu lubuntu 360 Sep 10 11:25 ..
drwx------ 2 lubuntu lubuntu 60 Sep 10 11:24 gstreamer-1.0
drwx------ 2 lubuntu lubuntu 40 Sep 10 11:23 gvfs
drwx------ 2 lubuntu lubuntu 40 Sep 10 11:23 gvfsd
-rw-rw-r-- 1 lubuntu lubuntu 10547304 Sep 10 11:25 icon-cache.kcache
drwxrwxr-x 2 lubuntu lubuntu 60 Sep 10 11:25 lxqt-notificationd
drwxr-xr-x 2 lubuntu lubuntu 60 Sep 10 11:25 mesa_shader_cache
drwxrwxr-x 3 lubuntu lubuntu 80 Sep 10 11:25 openbox
drwxrwxr-x 3 lubuntu lubuntu 60 Sep 10 11:25 pcmanfm-qt
---

Revision history for this message
Chris Guiver (guiverc) wrote :

I wrote the jammy.1 ISO to thumb-drive and attempted install using that...

same error

---
Create a new partition (51.27 GiB, ext4) on ‘/dev/sda’

Job: Create new partition on device ‘/dev/sda’

Command: sfdisk --force --append /dev/sda

Failed to add partition ‘New Partition’ to device ‘/dev/sda’.
Failed to add partition ‘New Partition’ to device ‘/dev/sda’.
---

I can find session.log in jammy

tags: added: jammy
Revision history for this message
Chris Guiver (guiverc) wrote :

Same hp2800 box... i tried an install using debian-live-11.5.0-amd64-lxqt+nonfree.iso and result was identical to lubuntu.

debian calamares is 3.2.36 (bullseye)

issue is not lubuntu specific; nor newer calamares -- though where session.log is (newer lubuntu/calamares) I'd like to know !!

Revision history for this message
Chris Guiver (guiverc) wrote :

I rebooted my Lubuntu/2 thumb-drive, it didn't occur to me to check what [release] was on it, but by comment #4 on this thread it's most likely 22.04.1 (focal.5 is on Lubuntu/1)

I tried using KDE Partition Manager to create a ~51GB partition using the free space in the live session... error just like calamares got.

A quick `sudo apt install gparted` & attempted the same there was successful... so whatever issue is creating partition, it's common with calamares & KDE Partition Manager, but doesn't impact `gparted`.

Revision history for this message
Simon Quigley (tsimonq2) wrote :

I see no session log, therefore I cannot diagnose this

Changed in calamares (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for calamares (Ubuntu) because there has been no activity for 60 days.]

Changed in calamares (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.