[Bug 1872077] Re: package grub-efi-amd64-signed 1.140+2.04-1ubuntu24 failed to install/upgrade with mount: /var/lib/grub/esp: special device /, does not exist
Derk Willem te Bokkel
1872077 at bugs.launchpad.net
Sat Apr 11 10:55:31 UTC 2020
When I pass the device it shuts up..
OKAY .. my initial report was bug 1872097 my original and still existing
install partition (sda5) for focal ( dec 2019) I used dpkg-reconfigure
there and of course then debconf-get-selections did not give the correct
info ..
So I created a new partition (sda6) on the drive using existing free
space and manually installed focal there as a second instance using a
recent (03/28) iso (xubuntu). This was a not connected to network
install as my wireless net work driver is not on the install disk
(rtl8821ce-dkms) (installed via a brief chroot prior to first boot)
also on the drive are windows 10 partitions at sda1,sda3,sda4 plus sda2
which is the /boot/efi (EFI) partition. (always mounted to /boot/efi so
far as I know by default)
SDA6-order of events:
I booted into the fresh install (after network driver was installed). I
did the first upgrade on sda6 using the software updater after running
the language updater which appeared first.
During this install the grub-efi-amd64-signed setup threw up a window
complaining the partition sda2 had changed or did not exist.. It had one
check box for proceeding .. and a continue button .. then a second
message appeared with some thing that looked like this:
grub-efi /dev/sda2 device ?? parition ?? changed or does not exist
hovering over this gave a message about systems without a bios or in a
vm being etc. grub not being needed also that I might not be able to
boot if I did install
There were two buttons to continue or not-install(?).. I chose to not
install .. so the /boot/efi entries remained the same as first
installed.
Then I installed debconf-utils and then ran debconf-get-selections as directed in comment #2
output as in comment #5
Then I rebooted to partition sda5 and tried to reinstall it as the primary start-up Comments 6,7,8) trying to overwrite the /boot/efi (/dev/sda2 [EFI]) partition so my normal boot would be directly into the main xubuntu install on sda5.
output in comments #6 most of output) and #7 (with the omitted last
line)
I then ran the commands in comment #8 .. checked the time stamps on the
/boot/efi partition and they had changed ..
I hope this clarifies things.
so it is easy to reproduce this bug .. with and older fresh install of ubuntu (xubuntu) focal
just do it networkless on a computer with a windows 10 install
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2-signed in Ubuntu.
https://bugs.launchpad.net/bugs/1872077
Title:
package grub-efi-amd64-signed 1.140+2.04-1ubuntu24 failed to
install/upgrade with mount: /var/lib/grub/esp: special device /, does
not exist
Status in grub2-signed package in Ubuntu:
Incomplete
Bug description:
Booting up. Got failure message. That is all I know.
Error from dpkg.log
update-initramfs: deferring update (trigger activated)
Setting up grub-efi-amd64-signed (1.140+2.04-1ubuntu24) ...
Unknown device "/dev/": Inappropriate ioctl for device
Unknown device "/dev/": Inappropriate ioctl for device
Unknown device "/dev/": Inappropriate ioctl for device
Unknown device "/dev/": Inappropriate ioctl for device
Unknown device "/dev/": Inappropriate ioctl for device
Unknown device "/dev/": Inappropriate ioctl for device
Unknown device "/dev/": Inappropriate ioctl for device
Unknown device "/dev/": Inappropriate ioctl for device
mount: /var/lib/grub/esp: special device /, does not exist.
dpkg: error processing package grub-efi-amd64-signed (--configure):
installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 32
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: grub-efi-amd64-signed 1.140+2.04-1ubuntu24
ProcVersionSignature: Ubuntu 5.4.0-21.25-generic 5.4.27
Uname: Linux 5.4.0-21-generic x86_64
ApportVersion: 2.20.11-0ubuntu26
Architecture: amd64
CasperMD5CheckResult: skip
Date: Fri Apr 10 08:10:38 2020
ErrorMessage: installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 32
InstallationDate: Installed on 2020-03-21 (19 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20200321)
Python3Details: /usr/bin/python3.8, Python 3.8.2, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
dpkg 1.19.7ubuntu3
apt 2.0.1ubuntu1
SourcePackage: grub2-signed
Title: package grub-efi-amd64-signed 1.140+2.04-1ubuntu24 failed to install/upgrade: installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 32
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2-signed/+bug/1872077/+subscriptions
More information about the foundations-bugs
mailing list