Serial console not enabled for passphrase prompt when using LUKS

Bug #848782 reported by Robie Basak
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
flash-kernel (Ubuntu)
Confirmed
Medium
Unassigned
Nominated for Precise by Tobin Davis

Bug Description

I am using http://ports.ubuntu.com/dists/oneiric/main/installer-armel/current/images/omap4/netboot/ to install encrypted guided LVM over the serial port. It installs but the installed bootloader does not have "console=ttyO2,115200", causing the passphrase prompt to not appear on reboot. This means that I cannot enter the passphrase so the system is not bootable.

Workaround: edit the SD card FAT partition as follows:

 1. dd bs=1 skip=72 if=boot.scr of=boot.script
 2. Edit boot.script and add console=ttyO2,115200
 3. Run "mkimage -A arm -O linux -T script -C none -d boot.script boot.scr" (from the u-boot-tools package)

Tags: armel
Tobin Davis (gruemaster)
Changed in debian-installer (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Michael Casadevall (mcasadevall)
tags: added: armel
Revision history for this message
Tobin Davis (gruemaster) wrote :

Changed to flash-kernel-installer as it is currently hardcoded to generate the boot.script during installation regardless of cmdline settings.

affects: debian-installer (Ubuntu) → flash-kernel (Ubuntu)
Tobin Davis (gruemaster)
Changed in flash-kernel (Ubuntu):
assignee: Michael Casadevall (mcasadevall) → Tobin Davis (gruemaster)
status: Confirmed → In Progress
Tobin Davis (gruemaster)
Changed in flash-kernel (Ubuntu):
status: In Progress → Confirmed
assignee: Tobin Davis (gruemaster) → nobody
Revision history for this message
Dave Jones (waveform) wrote :

If this is still relevant, I'm not sure flash-kernel is the right place for it anymore:

The flash-kernel-installer package isn't produced (as we don't produce udebs anymore), and generally speaking, flash-kernel has little to do with whatever appears on the boot partition in images. For instance, in the case of the pi images, that's down to the gadget snap (although ideally, the gadget snap would be calling something in flash-kernel to produce that output, but that's not the case currently).

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.