[Bug 1719271] [NEW] grub package in xenial-proposed will change boot order for a MaaS deployed system
Po-Hsu Lin
po-hsu.lin at canonical.com
Mon Sep 25 09:02:51 UTC 2017
Public bug reported:
This issue was spotted on our Cavium ThunderX ARM64 nodes, with MAAS
version: 2.2.2 (6099-g8751f91-0ubuntu1~16.04.1)
Steps:
1. Deploy Xenial on this ARM64 node with MaaS web UI
2. Check the BIOS setting to make sure it's booting with PXE
3. When it's been deployed, check the efibootmgr output:
$ sudo efibootmgr
BootCurrent: 0002
Timeout: 10 seconds
BootOrder: 0004,0002,0003,0000,0001
Boot0000* ubuntu
Boot0001 UEFI: Built-in EFI Shell
Boot0002* UEFI: IP4 Ethernet vNIC Controller 62:54:CA
Boot0003* UEFI: IP4 Ethernet vNIC Controller 62:54:CB
Boot0004* UEFI: IP4 Ethernet vNIC Controller 62:54:CC
4. Enable -proposed pocket and upgrade grub2-common and related packages
5. Check efibootmgr again:
$ sudo efibootmgr
BootCurrent: 0002
Timeout: 10 seconds
BootOrder: 0000,0004,0002,0003,0001
Boot0000* ubuntu
Boot0001 UEFI: Built-in EFI Shell
Boot0002* UEFI: IP4 Ethernet vNIC Controller 62:54:CA
Boot0003* UEFI: IP4 Ethernet vNIC Controller 62:54:CB
Boot0004* UEFI: IP4 Ethernet vNIC Controller 62:54:CC
You can see that the BootOrder has changed here.
There is an old bug here: bug 1642298
The upgraded grub package version (was 2.02~beta2-36ubuntu3.12 before the upgrade):
$ dpkg -l | grep grub
ii grub-common 2.02~beta2-36ubuntu3.13 arm64 GRand Unified Bootloader (common files)
ii grub-efi-arm64 2.02~beta2-36ubuntu3.13 arm64 GRand Unified Bootloader, version 2 (ARM64 UEFI version)
ii grub-efi-arm64-bin 2.02~beta2-36ubuntu3.13 arm64 GRand Unified Bootloader, version 2 (ARM64 UEFI binaries)
ii grub-efi-arm64-signed 1.66.13+2.02~beta2-36ubuntu3.13 arm64 GRand Unified Bootloader, version 2 (EFI-ARM64 version, signed)
ii grub2-common 2.02~beta2-36ubuntu3.13 arm64 GRand Unified Bootloader (common files for version 2)
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: grub2-common 2.02~beta2-36ubuntu3.13
ProcVersionSignature: User Name 4.4.0-96.119-generic 4.4.83
Uname: Linux 4.4.0-96-generic aarch64
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: arm64
Date: Mon Sep 25 08:45:14 2017
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: grub2
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: grub2 (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug arm64 package-from-proposed uec-images xenial
--
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/1719271
Title:
grub package in xenial-proposed will change boot order for a MaaS
deployed system
Status in grub2 package in Ubuntu:
New
Bug description:
This issue was spotted on our Cavium ThunderX ARM64 nodes, with MAAS
version: 2.2.2 (6099-g8751f91-0ubuntu1~16.04.1)
Steps:
1. Deploy Xenial on this ARM64 node with MaaS web UI
2. Check the BIOS setting to make sure it's booting with PXE
3. When it's been deployed, check the efibootmgr output:
$ sudo efibootmgr
BootCurrent: 0002
Timeout: 10 seconds
BootOrder: 0004,0002,0003,0000,0001
Boot0000* ubuntu
Boot0001 UEFI: Built-in EFI Shell
Boot0002* UEFI: IP4 Ethernet vNIC Controller 62:54:CA
Boot0003* UEFI: IP4 Ethernet vNIC Controller 62:54:CB
Boot0004* UEFI: IP4 Ethernet vNIC Controller 62:54:CC
4. Enable -proposed pocket and upgrade grub2-common and related packages
5. Check efibootmgr again:
$ sudo efibootmgr
BootCurrent: 0002
Timeout: 10 seconds
BootOrder: 0000,0004,0002,0003,0001
Boot0000* ubuntu
Boot0001 UEFI: Built-in EFI Shell
Boot0002* UEFI: IP4 Ethernet vNIC Controller 62:54:CA
Boot0003* UEFI: IP4 Ethernet vNIC Controller 62:54:CB
Boot0004* UEFI: IP4 Ethernet vNIC Controller 62:54:CC
You can see that the BootOrder has changed here.
There is an old bug here: bug 1642298
The upgraded grub package version (was 2.02~beta2-36ubuntu3.12 before the upgrade):
$ dpkg -l | grep grub
ii grub-common 2.02~beta2-36ubuntu3.13 arm64 GRand Unified Bootloader (common files)
ii grub-efi-arm64 2.02~beta2-36ubuntu3.13 arm64 GRand Unified Bootloader, version 2 (ARM64 UEFI version)
ii grub-efi-arm64-bin 2.02~beta2-36ubuntu3.13 arm64 GRand Unified Bootloader, version 2 (ARM64 UEFI binaries)
ii grub-efi-arm64-signed 1.66.13+2.02~beta2-36ubuntu3.13 arm64 GRand Unified Bootloader, version 2 (EFI-ARM64 version, signed)
ii grub2-common 2.02~beta2-36ubuntu3.13 arm64 GRand Unified Bootloader (common files for version 2)
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: grub2-common 2.02~beta2-36ubuntu3.13
ProcVersionSignature: User Name 4.4.0-96.119-generic 4.4.83
Uname: Linux 4.4.0-96-generic aarch64
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: arm64
Date: Mon Sep 25 08:45:14 2017
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: grub2
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1719271/+subscriptions
More information about the foundations-bugs
mailing list