[Bug 1582899] Re: in-target: mkinitramfs: failed to determine device for /
ubuntu at iam.tj
Wed May 18 03:21:56 UTC 2016
After noticing /var/lib/dpkg/info/live-installer.postinst and seeing it
has the crucial step commented out I think the source of the issue is
waypoint 1 check_target
waypoint 1 get_mirror_info
waypoint 100 install_live_system
waypoint 1 pre_install_hooks
#waypoint 1 setup_dev
waypoint 1 configure_apt_preferences
waypoint 1 configure_apt
waypoint 3 apt_update
waypoint 5 post_install_hooks
waypoint 1 pick_kernel_if_missing
waypoint 20 install_kernel
The question is, is live-installer in control here, or base-installer?
The syslog messages indicate base-installer but there's no sign of its
postinst script in the running installer.
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to base-installer in Ubuntu.
in-target: mkinitramfs: failed to determine device for /
Status in base-installer package in Ubuntu:
Status in initramfs-tools package in Ubuntu:
Status in live-installer package in Ubuntu:
Sysadmin reported in #ubuntu (later #ubuntu-kernel) the 16.04 ubuntu-
server failed due to being unable to configure linux-
Lots of diagnostics and one SSH remote session later we seem to have
narrowed it down to the installer.
The cause of the error message appears to be that the symlink names in
/dev/disk/by-uuid/ haven't been updated after the partitioning stage
if there were pre-existing partitions and file-systems on the install
device, *and* the sysadmin chose to format the existing partitions
when selecting mountpoints.
In this case a hardware RAID device presents:
From the shell I noticed:
root at tmpstorage:/# ll /dev/disk/by-uuid/
lrwxrwxrwx 1 root root 10 May 17 19:39 130e4419-4bfd-46d2-87f9-62e5379bf591 -> ../../sda1
lrwxrwxrwx 1 root root 10 May 17 19:39 127d3fa1-c07c-48e4-9e26-1b926d37625c -> ../../sda3
lrwxrwxrwx 1 root root 10 May 17 19:39 78b88456-2b0b-4265-9ed2-5db61522d887 -> ../../sda2
lrwxrwxrwx 1 root root 9 May 17 19:39 2016-04-20-22-45-29-00 -> ../../sr1
drwxr-xr-x 6 root root 120 May 17 19:39 ..
drwxr-xr-x 2 root root 120 May 17 19:39 .
root at tmpstorage:/# blkid /dev/sda*
/dev/sda: PTUUID="a84e60fd" PTTYPE="dos"
/dev/sda1: UUID="61365714-8ff7-47a2-8035-8aed9e3191a6" TYPE="ext4" PARTUUID="a84e60fd-01"
/dev/sda2: UUID="78b88456-2b0b-4265-9ed2-5db61522d887" TYPE="swap" PARTUUID="a84e60fd-02"
/dev/sda3: UUID="75f68451-9472-47c7-9efc-ed032bfa9987" TYPE="ext4" PARTUUID="a84e60fd-03"
More details to follow.
To manage notifications about this bug go to:
More information about the foundations-bugs