[Bug 1805359] Re: Autopartitioning using LVM failed during setup of custom 16.04 iso

Simon Quigley 1805359 at bugs.launchpad.net
Sat Feb 22 08:16:22 UTC 2025


** Changed in: ubiquity (Ubuntu)
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1805359

Title:
  Autopartitioning using LVM failed during setup of custom 16.04 iso

Status in ubiquity package in Ubuntu:
  Won't Fix

Bug description:
  I'm using Remastersys package in "backup" mode to build a custom preconfigured Ubuntu 16.04 image.
  Default system language of my reference Ubuntu 16.04 machine is Russian.
  A couple of weeks ago i've installed updates on my reference machine and i noticed that Ubiquity has updated to 2.21.63.9 (previous version was 2.21.63).
  After building of a image for a new machine has failed on the step of autopartitioning using LVM group with the error:
  "Autopartitioning using LVM failed because an error occured while creating the volume group".
  It doesn't matter whether i choose English or Russian as setup language.
  In /var/log/syslog/ of that half-setup machine i noticed (sorry i didn't save any logs):
  - A string like: partman-lvm: "Двоичный-vg" is not valid LVM name.
  - Hostname of a machine is "Двоичный"
  - There is an empty /home/Двоичный folder.
  Note: Двоичный means Binary in Russian.
  After having a look into Ubiquity code i've found a problem code and workaround for this:
  In /lib/partman/lib/auto-lvm.sh:
  Line 287:  defvgname=$(cat /etc/hostname | head -n 1 | tr -d " ")
  Workaround: Comment out above and put defvgname="ubuntu"
  My conclusion: The problem line returns an unexpected value on a system with non-English default language. Another version can be having a user "head" on a preconfigured image with /home/head folder - it's also my case.

  Hope this helps.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1805359/+subscriptions




More information about the foundations-bugs mailing list