https://bugs.kde.org/show_bug.cgi?id=377398

            Bug ID: 377398
           Summary: Ubiquity fails to install onto existing encrypted
                    partitions due to missing /etc/crypttab
           Product: neon
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Live/Install images
          Assignee: neon-b...@kde.org
          Reporter: naught...@gmail.com
                CC: j...@jriddell.org, neon-b...@kde.org, sit...@kde.org
  Target Milestone: ---

I had to re-install due to a corrupted root partition. All of my partitions
other than /boot (/, /home/, /data/, swap) are encrypted.

I first unlocked them using `udiskctl unlock -b /dev/sdXY`.
I then ran ubiquity, and used manual partition selection to assign them to the
appropriate luks partitions.
Installation seemed to go fine, but when I entered my user details, I got an
error saying "ubi-usersetup failed with error 1". When I looked in
/var/log/syslog, there were no clear messages related to ubi-usersetup (other
than it crashed), but there was a message `cannot stat '/etc/crypttab': no such
file or directory`.
At this point, pressing 'ignore' caused ubiquity to freeze on the last screen,
with no messages, 'retry' took me back to the user-data entry panel, and
'cancel' aborted and failed the install.

When I looked, there was no /target/etc/crypttab, so I just copied the one from
/etc/crypttab (which only contained a single commented header line, no actual
info). That fixed the problem, and after pressing 'retry' in ubiquity, the
ubi-usersetup did not fail again, and setup continued as normal. 

I will now follow the instructions at
http://askubuntu.com/questions/853078/reinstall-to-existing-encrypted-partitions/868726
to fix crypttab on the new system.

No sure if this is a neon bug, a ubiquity bug, or a feature, but I figured I'd
post it, as I suspect other people will hit this sometimes, and the work-around
is useful.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to