every iso do with respin crash aall the time during installation

Bug #1582508 reported by elijah
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

impossible instalation iso ubuntu 16.04 create with respin or remastersys

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: ubiquity 2.21.63.1 [modified: usr/lib/ubiquity/user-setup/user-setup-apply usr/share/ubiquity/apt-setup]
ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8
Uname: Linux 4.4.0-22-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CasperVersion: 1.376
Date: Tue May 17 00:20:04 2016
JournalErrors:
 Error: command ['journalctl', '-b', '--priority=warning', '--lines=1000'] failed with exit code 1: Hint: You are currently not seeing messages from other users and the system.
       Users in the 'systemd-journal' group can see all messages. Pass -q to
       turn off this notice.
 No journal files were opened due to insufficient permissions.
LiveMediaBuild: Custom 16.04 - Release amd64
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
elijah (lemur501) wrote :
Revision history for this message
C Michal (michal-physics) wrote :

I doubt this is exactly the right place for this discussion, but I have some information to add.

I've been chasing down some issues with installing from respin iso's.

1) First is a permissions bug I don't understand. When the ubiquity installer runs, it uses pkexec to get root permissions, and then it seems to drop and regain root priviliges as it needs them. When run from a respin iso though, this somehow gets messed up and the install fails. A workaround is to run the live session on the iso, then in a terminal: "sudo ubiquity"

2) From there things nearly go ok, except that you then hit:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/658865
There are a couple of things you could do to workaround this.
a) copy the dists directory from the official ubuntu (mate in my case) install iso into the respin iso. (you break respin process into two separate pieces, eg: "respin backup cdfs" then "respin backup iso", you can fiddle with the filesystem in between, before the iso is generated). So after generating the cdfs, navigate to /home/respin/respin/ISOTMP. and copy the dists directory from an official install iso in here.

Another option to deal with this is, after booting into the live session, but before starting ubiquity, you can: sudo rm /usr/lib/ubiquity/apt-setup/generators/40cdrom

3) A somewhat separate, but related issue. If you want to be able to use unetbootin to convert your respin iso into a usb flash drive that is bootable and installable, there are a couple more things to do:
  A) use the ubuntu startup disk creator to create a usb flash drive. From the flash drive copy the boot and EFI directories from it. You'll want to add these into your ISOTMP as well, but you need to edit boot/grub/grub.cfg. In that grub.cfg change (i) the file=/cdrom/preseed/ubuntuXXX.seed to custom.seed (the ubuntuXXX.seed differs depending on the flavour) (ii) the filename of the initrd to /casper/initrd.gz, and (iii) the kernel name to /casper/vmlinuz

  B) cp /usr/lib/syslinux/modules/bios/menu.c32 /home/respin/respin/ISOTMP/isolinux/

With those last few steps done, you can use unetbootin to convert your iso to a live flash drive that will boot in BIOS or UEFI (secure boot works!), and then as long as you start the installer with "sudo ubiquity" it works.

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

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

Changed in ubiquity (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.