[Bug 830455] Re: dpkg can't configure generic kernel if /dev/sdb2 is mounted

Launchpad Bug Tracker 830455 at bugs.launchpad.net
Tue May 5 06:09:39 UTC 2020


[Expired for grub2 (Ubuntu) because there has been no activity for 60
days.]

** Changed in: grub2 (Ubuntu)
       Status: Incomplete => Expired

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

Title:
  dpkg can't configure generic kernel if /dev/sdb2 is mounted

Status in grub2 package in Ubuntu:
  Expired

Bug description:
  Ubuntu 11.04
  dpkg:  Installed: 1.16.0~ubuntu7
  grub-pc:  Installed: 1.99~rc1-13ubuntu3

  Update-manager couldn't configure the kernel update, so I tried with
  dpkg and this was the output:

  me at pc:~$ sudo dpkg --configure linux-image-2.6.38-11-generic
  Configuring: linux-image-2.6.38-11-generic (2.6.38-11.48) ...
  Running depmod.
  update-initramfs: Generating /boot/initrd.img-2.6.38-11-generic
  Examining /etc/kernel/postinst.d.
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.38-11-generic /boot/vmlinuz-2.6.38-11-generic
  run-parts: executing /etc/kernel/postinst.d/nvidia-common 2.6.38-11-generic /boot/vmlinuz-2.6.38-11-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 2.6.38-11-generic /boot/vmlinuz-2.6.38-11-generic
  run-parts: executing /etc/kernel/postinst.d/update-notifier 2.6.38-11-generic /boot/vmlinuz-2.6.38-11-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.38-11-generic /boot/vmlinuz-2.6.38-11-generic
  Generating grub.cfg ...
  Found linux image: /boot/vmlinuz-2.6.38-11-generic
  Found initrd image: /boot/initrd.img-2.6.38-11-generic
  Found linux image: /boot/vmlinuz-2.6.38-10-generic
  Found initrd image: /boot/initrd.img-2.6.38-10-generic
  Found linux image: /boot/vmlinuz-2.6.38-8-generic
  Found initrd image: /boot/initrd.img-2.6.38-8-generic
  Found Microsoft Windows XP Professional - Hungarian on /dev/sda1
  done
  mount: a(z) /dev/sdb2 is already mounted or /media/sdb2 is busy
  mount: according to mtab /dev/sdb2 is already mounted at: /media/sdb2
  run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 32
  Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.38-11-generic.postinst line 1010.
  dpkg: processing fault: linux-image-2.6.38-11-generic (--configure):
   installed post-installation script subbrocess exited with error code 2
  There were errors during processing:
   linux-image-2.6.38-11-generic
  me at pc:~$

  After unmounting /dev/sdb2 (on an external USB connected HDD, which
  starts with the system and mounted automatically by fstab, it is not
  bootable, only used for backups) it managed to configure the generic
  kernel.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: apt 0.8.13.2ubuntu4.1
  ProcVersionSignature: Ubuntu 2.6.38-10.46-generic 2.6.38.7
  Uname: Linux 2.6.38-10-generic i686
  Architecture: i386
  Date: Sun Aug 21 10:45:25 2011
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
  ProcEnviron:
   LANGUAGE=hu_HU:en
   LANG=hu_HU.UTF-8
   SHELL=/bin/bash
  SourcePackage: grub-pc
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list