[Bug 1769346] Re: Unable to install 18.04 server AMD64 with targeted kernel: initramfs-tools

Alessandro Tiberti alessandro at tiberti.it
Sat May 5 13:20:21 UTC 2018


If I run the "install the system" process a second time immediately
afterwards, it passes without errors/warnings but after installation
when system restarts:

error: file '/boot/grub/i386-pc/normal.mod' not found.
Entering rescue mode...
grub rescue>

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

Title:
  Unable to install 18.04 server AMD64 with targeted kernel: initramfs-
  tools

Status in initramfs-tools package in Ubuntu:
  New

Bug description:
  Trying to install from: ubuntu-18.04-server-amd64.iso

  at boot: F6->expert mode and F4->minimal VM

  I go through the usual steps but when it comes to the "install the
  system" phase, if I select normal (not live) and then "targeted", the
  installation stops with an error on initramfs.

  The error doesn't occur if I use a generic kernel instead of the
  targeted one.

  at that phase I'm not yet able to install reportbug so below you'll
  find what I found in syslog. VM running under ESXi 6.7.

  Thanks!

  May  5 12:52:58 in-target: (Reading database ... 100%^M(Reading database ... 11077 files and directories currently installed.)^M
  May  5 12:52:58 in-target: Preparing to unpack .../0-linux-headers-4.15.0-20_4.15.0-20.21_all.deb ...^M
  May  5 12:52:58 in-target: Unpacking linux-headers-4.15.0-20 (4.15.0-20.21) ...^M
  May  5 12:53:03 in-target: Selecting previously unselected package linux-headers-4.15.0-20-generic.^M
  May  5 12:53:03 in-target: Preparing to unpack .../1-linux-headers-4.15.0-20-generic_4.15.0-20.21_amd64.deb ...^M
  May  5 12:53:03 in-target: Unpacking linux-headers-4.15.0-20-generic (4.15.0-20.21) ...^M
  May  5 12:53:05 in-target: Selecting previously unselected package linux-headers-generic.^M
  May  5 12:53:05 in-target: Preparing to unpack .../2-linux-headers-generic_4.15.0.20.23_amd64.deb ...^M
  May  5 12:53:05 in-target: Unpacking linux-headers-generic (4.15.0.20.23) ...^M
  May  5 12:53:05 in-target: Selecting previously unselected package linux-headers-virtual.^M
  May  5 12:53:05 in-target: Preparing to unpack .../3-linux-headers-virtual_4.15.0.20.23_amd64.deb ...^M
  May  5 12:53:05 in-target: Unpacking linux-headers-virtual (4.15.0.20.23) ...^M
  May  5 12:53:05 in-target: Selecting previously unselected package linux-modules-4.15.0-20-generic.^M
  May  5 12:53:05 in-target: Preparing to unpack .../4-linux-modules-4.15.0-20-generic_4.15.0-20.21_amd64.deb ...^M
  May  5 12:53:05 in-target: Unpacking linux-modules-4.15.0-20-generic (4.15.0-20.21) ...^M
  May  5 12:53:08 in-target: Selecting previously unselected package linux-image-4.15.0-20-generic.^M
  May  5 12:53:08 in-target: Preparing to unpack .../5-linux-image-4.15.0-20-generic_4.15.0-20.21_amd64.deb ...^M
  May  5 12:53:08 in-target: Unpacking linux-image-4.15.0-20-generic (4.15.0-20.21) ...^M
  May  5 12:53:08 in-target: Selecting previously unselected package linux-image-virtual.^M
  May  5 12:53:08 in-target: Preparing to unpack .../6-linux-image-virtual_4.15.0.20.23_amd64.deb ...^M
  May  5 12:53:08 in-target: Unpacking linux-image-virtual (4.15.0.20.23) ...^M
  May  5 12:53:08 in-target: Selecting previously unselected package linux-virtual.^M
  May  5 12:53:08 in-target: Preparing to unpack .../7-linux-virtual_4.15.0.20.23_amd64.deb ...^M
  May  5 12:53:08 in-target: Unpacking linux-virtual (4.15.0.20.23) ...^M
  May  5 12:53:09 in-target: Setting up linux-modules-4.15.0-20-generic (4.15.0-20.21) ...^M
  May  5 12:53:09 in-target: Setting up linux-image-4.15.0-20-generic (4.15.0-20.21) ...^M
  May  5 12:53:09 in-target: I: /vmlinuz.old is now a symlink to boot/vmlinuz-4.15.0-20-generic^M
  May  5 12:53:09 in-target: I: /initrd.img.old is now a symlink to boot/initrd.img-4.15.0-20-generic^M
  May  5 12:53:09 in-target: I: /vmlinuz is now a symlink to boot/vmlinuz-4.15.0-20-generic^M
  May  5 12:53:09 in-target: I: /initrd.img is now a symlink to boot/initrd.img-4.15.0-20-generic^M
  May  5 12:53:09 in-target: Setting up linux-image-virtual (4.15.0.20.23) ...^M
  May  5 12:53:10 in-target: Setting up linux-headers-4.15.0-20 (4.15.0-20.21) ...^M
  May  5 12:53:10 in-target: Setting up linux-headers-4.15.0-20-generic (4.15.0-20.21) ...^M
  May  5 12:53:10 in-target: Setting up linux-headers-generic (4.15.0.20.23) ...^M
  May  5 12:53:10 in-target: Setting up linux-headers-virtual (4.15.0.20.23) ...^M
  May  5 12:53:10 in-target: Setting up linux-virtual (4.15.0.20.23) ...^M
  May  5 12:53:10 in-target: Processing triggers for linux-image-4.15.0-20-generic (4.15.0-20.21) ...^M
  May  5 12:53:10 in-target: /etc/kernel/postinst.d/initramfs-tools:^M
  May  5 12:53:10 in-target: update-initramfs: Generating /boot/initrd.img-4.15.0-20-generic^M
  May  5 12:53:10 in-target: mkinitramfs: failed to determine device for /^M
  May  5 12:53:10 in-target: mkinitramfs: workaround is MODULES=most, check:^M
  May  5 12:53:10 in-target: grep -r MODULES /etc/initramfs-tools/^M
  May  5 12:53:10 in-target: ^M
  May  5 12:53:10 in-target: Error please report bug on initramfs-tools^M
  May  5 12:53:10 in-target: Include the output of 'mount' and 'cat /proc/mounts'^M
  May  5 12:53:10 in-target: update-initramfs: failed for /boot/initrd.img-4.15.0-20-generic with 1.^M
  May  5 12:53:10 in-target: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1^M
  May  5 12:53:10 in-target: dpkg: error processing package linux-image-4.15.0-20-generic (--configure):^M
  May  5 12:53:10 in-target:  installed linux-image-4.15.0-20-generic package post-installation script subprocess returned error exit status 1^M
  May  5 12:53:10 in-target: Errors were encountered while processing:^M
  May  5 12:53:10 in-target:  linux-image-4.15.0-20-generic^M
  May  5 12:53:10 in-target: E
  May  5 12:53:10 in-target: :
  May  5 12:53:10 in-target: Sub-process /usr/bin/dpkg returned an error code (1)
  May  5 12:53:10 in-target:
  May  5 12:53:10 in-target: Reading package lists...
  May  5 12:53:10 in-target:
  May  5 12:53:10 in-target: Building dependency tree...
  May  5 12:53:10 in-target:
  May  5 12:53:10 in-target: Reading state information...
  May  5 12:53:10 in-target:
  May  5 12:53:10 in-target: linux-headers-virtual is already the newest version (4.15.0.20.23).
  May  5 12:53:10 in-target: linux-headers-virtual set to manually installed.
  May  5 12:53:10 in-target: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  May  5 12:53:10 in-target: 1 not fully installed or removed.
  May  5 12:53:10 in-target: After this operation, 0 B of additional disk space will be used.
  May  5 12:53:10 in-target: Setting up linux-image-4.15.0-20-generic (4.15.0-20.21) ...^M
  May  5 12:53:10 in-target: Processing triggers for linux-image-4.15.0-20-generic (4.15.0-20.21) ...^M
  May  5 12:53:10 in-target: /etc/kernel/postinst.d/initramfs-tools:^M
  May  5 12:53:10 in-target: update-initramfs: Generating /boot/initrd.img-4.15.0-20-generic^M
  May  5 12:53:10 in-target: mkinitramfs: failed to determine device for /^M
  May  5 12:53:10 in-target: mkinitramfs: workaround is MODULES=most, check:^M
  May  5 12:53:10 in-target: grep -r MODULES /etc/initramfs-tools/^M
  May  5 12:53:10 in-target: ^M
  May  5 12:53:10 in-target: Error please report bug on initramfs-tools^M
  May  5 12:53:10 in-target: Include the output of 'mount' and 'cat /proc/mounts'^M
  May  5 12:53:10 in-target: update-initramfs: failed for /boot/initrd.img-4.15.0-20-generic with 1.^M
  May  5 12:53:10 in-target: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1^M
  May  5 12:53:10 in-target: dpkg: error processing package linux-image-4.15.0-20-generic (--configure):^M
  May  5 12:53:10 in-target:  installed linux-image-4.15.0-20-generic package post-installation script subprocess returned error exit status 1^M
  May  5 12:53:11 in-target: Errors were encountered while processing:^M
  May  5 12:53:11 in-target:  linux-image-4.15.0-20-generic^M
  May  5 12:53:11 in-target: E
  May  5 12:53:11 in-target: :
  May  5 12:53:11 in-target: Sub-process /usr/bin/dpkg returned an error code (1)
  May  5 12:53:11 in-target:
  May  5 12:53:11 base-installer: error: exiting on error base-installer/kernel/failed-install

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1769346/+subscriptions



More information about the foundations-bugs mailing list