We "solved" it by reinstalling grub.
I.e.
export DEBIAN_FRONTEND=noninteractive
apt-get purge grub\* -y --allow-remove-essential
apt-get install grub-efi -y
apt-get autoremove -y
update-grub
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to
More context:
cat /boot/grub/device.map
cat: /boot/grub/device.map: No such file or directory
sudo debconf-show grub-pc | grep grub-pc/install_devices
grub-pc/install_devices_failed: false
grub-pc/install_devices_failed_upgrade: true
* grub-pc/install_devices_empty: false
No
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1940723
Title:
shim-signed fails to install if grub disk config is incorrect
To manage notifications about this bug go to:
We are using the "rest" api. Storage profiles look something like:
{
"imageReference": {
"publisher": "canonical",
"offer": "0001-com-ubuntu-server-focal",
"sku": "20_04-lts",
"version": "latest"
},
"osDisk": {
"name": "yadayada-os",
"managedDisk": {
Great!
Standard_B1ms
Standard_B1s
Standard_D16as_v4
Standard_D2as_v4
Standard_D8as_v4
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1940723
Title:
shim-signed fails to install if grub disk config
We are only seeing it on Azure, but other cloud providers Ubuntu images
don't come with shim-signed so that's why I though we could remove it.
lsblk
NAMEMAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:00 55.5M 1 loop /snap/core18/2074
loop2 7:20 32.3M 1 loop /snap/snapd/12398
Ok, seemed like some Microsoft thing I don't need. But ok, to bad I have
to do that on ~500 vms.
How come this is only an issue on Azure Ubuntu vms?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Is it safe to remove shim-signed?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1940723
Title:
shim-signed fails to install if grub disk config is incorrect
To manage notifications about this bug
*** This bug is a duplicate of bug 1940723 ***
https://bugs.launchpad.net/bugs/1940723
@parviafore We are using latest ubuntu 20.04 (Ubuntu 20.04.3 LTS
(GNU/Linux 5.8.0-1039-azure x86_64))
URN: "Canonical:0001-com-ubuntu-server-focal:20_04-lts:20.04.202107200"
cat /etc/cloud/build.info
We are seeing this error on unattended-upgrades on all Azure ubuntu
20.04 VMs.
Preconfiguring packages ...
(Reading database ... 58945 files and directories currently installed.)
Preparing to unpack .../shim_15.4-0ubuntu9_amd64.deb ...
Unpacking shim (15.4-0ubuntu9) over
10 matches
Mail list logo