[Bug 932663] Re: kernel upgrade failed on a USB live system created by usb-creator

Roger Hunwicks roger at tonic-solutions.com
Tue Dec 4 06:51:06 UTC 2012


I'm not sure why this says Fix Released - it is still happening for me
on a 12.10 Live USB + persistence set up.

In fact, I got it trying to apt-get install mdadm - so it seems possible
it occurs any time update-initramfs runs rather than just on a kernel
update.

I suppose it is possible that if you can get the first update done using
Colin Watson's workaround that future updates will work, but install
from the 12.10 release Desktop iso doesn't.

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

Title:
  kernel upgrade failed on a USB live system created by usb-creator

Status in “casper” package in Ubuntu:
  Fix Released

Bug description:
  ubuntu at ubuntu:~/Downloads$ ls -l
  total 37512
  -rw-rw-r-- 1 ubuntu ubuntu 38365944 Feb 15 10:46 linux-image-3.2.0-16-generic_3.2.0-16.25_amd64.deb
  ubuntu at ubuntu:~/Downloads$ sudo dpkg --install linux-image-3.2.0-16-generic_3.2.0-16.25_amd64.deb 
  Selecting previously unselected package linux-image-3.2.0-16-generic.
  (Reading database ... 131642 files and directories currently installed.)
  Unpacking linux-image-3.2.0-16-generic (from linux-image-3.2.0-16-generic_3.2.0-16.25_amd64.deb) ...
  Done.
  Setting up linux-image-3.2.0-16-generic (3.2.0-16.25) ...
  Running depmod.
  update-initramfs: deferring update (hook will be called later)
  The link /vmlinuz is a dangling linkto /boot/vmlinuz-3.2.0-12-generic
  Examining /etc/kernel/postinst.d.
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-16-generic /boot/vmlinuz-3.2.0-16-generic
  update-initramfs: Generating /boot/initrd.img-3.2.0-16-generic
  cryptsetup: WARNING: failed to detect canonical device of overlayfs
  cryptsetup: WARNING: could not determine root device from /etc/fstab
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.2.0-16-generic /boot/vmlinuz-3.2.0-16-generic
  run-parts: executing /etc/kernel/postinst.d/update-notifier 3.2.0-16-generic /boot/vmlinuz-3.2.0-16-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.2.0-16-generic /boot/vmlinuz-3.2.0-16-generic
  /usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
  run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1
  Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.2.0-16-generic.postinst line 1010.
  dpkg: error processing linux-image-3.2.0-16-generic (--install):
   subprocess installed post-installation script returned error exit status 2
  Errors were encountered while processing:
   linux-image-3.2.0-16-generic
  ubuntu at ubuntu:~/Downloads$

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: casper 1.303
  ProcVersionSignature: Ubuntu 3.2.0-12.21-generic 3.2.2
  Uname: Linux 3.2.0-12-generic x86_64
  ApportVersion: 1.91-0ubuntu1
  Architecture: amd64
  CasperVersion: 1.303
  Date: Wed Feb 15 11:04:48 2012
  LiveMediaBuild: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120201.1)
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: casper
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/932663/+subscriptions




More information about the foundations-bugs mailing list