[Bug 1821972] Re: Installation error with Ununty Server 18.04 LTS - curthooks

Ryan Harper 1821972 at bugs.launchpad.net
Fri Mar 29 14:07:01 UTC 2019


Thanks for reporting the error.


Curtin is attempting to extract BootOrder and BootCurrent.  A non-zero return code from running efibootmgr -v is unexpected.

It's not clear to me if this is a fatal error; it doesn't appear that
way to me.    If it isn't then ideally we'll need to determine the set
of error codes that efibootmgr returns that aren't fatal to obtaining
BootOrder and BootCurrent.

It may be the case that accepting non-zero exits from the --verbose command could hint that
attempting to change BootOrder may fail.



** Changed in: curtin (Ubuntu)
       Status: New => Incomplete

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

Title:
  Installation error with Ununty Server 18.04 LTS - curthooks

Status in curtin package in Ubuntu:
  Incomplete
Status in efibootmgr package in Ubuntu:
  New

Bug description:
  I get the following error when I try to install Ubuntu Server 18.04
  LTS:

  Running command ['unmount', '/target/dev'] with allowed return codes [0] (capture=False)
  finish: cmd-install/stage-curthooks/builtin/cmd-curthooks: FAIL: curtin command curthooks
  Traceback (most recent call last):
    File "/snap/subiquity/664/lib/python3.6/site-packages/curtin/commands/main.py", line 201, in main ret = args.func(args)
    File "/snap/subiquity/664/lib/python3.6/site-packages/curtin/commands/curthooks.py", line 1290, in curthooks builtin_curthooks(cfg, target, state)
    File "/snap/subiquity/664/lib/python3.6/site-packages/curtin/commands/curthooks.py", line 1256, in builtin_curthooks setup_grub(cfg, target, osfamily=osfamily)
    File "/snap/subiquity/664/lib/python3.6/site-packages/curtin/commands/curthooks.py", line 376, in setup_grub uefi_remove_old_loaders(grubcfg, target)
    File "/snap/subiquity/664/lib/python3.6/site-packages/curtin/commands/curthooks.py", line 227, in uefi_remove_old_loaders efi_output = uti.get_efibootmgr(target)
    File "/snap/subiquity/664/lib/python3.6/site-packages/curtin/util.py", line 862, in get_efibootmgr stdout, _ = in_chroot.subp(['efibootmgr', '-v'], capture=True)
    File "/snap/subiquity/664/lib/python3.6/site-packages/curtin/util.py", line 676, in subp return subp(*args, **kwargs)
    File "/snap/subiquity/664/lib/python3.6/site-packages/curtin/util.py", line 266, in subp return _subp(*args, **kwargs)
    File "/snap/subiquity/664/lib/python3.6/site-packages/curtin/util.py", line 132, in _subp cmd=args)
  curtin.util.ProcessExecutionError: Unexpected error while running command.
  Command: ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'efibootmgr', '-v']
  Exit code: 18
  Reason: -
  Stdout: ** Warning ** : please recreate these using efibootmgr to remove this warning.
          BootCurrent: 000A
          Timeout: 1 seconds
          BootOrder: 000A,000B,0008
          Boot0008* TOSHIBA MQ01ABD100?BBS(HD,,0x0)AMBO
          Boot0008_BbsIndex
  Stderr: ** Warning ** : Boot000b is not UEFI Spec compliant (lowercase hex in name)
          ** Warning ** : Bootffff is not UEFI Spec compliant (lowercase hex in name)
          Could not parse device path: No such file or directory

  Unexpected error while running commaned.
  Command: ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'efibootmgr', '-v']
  Exit code: 18
  Reason: -
  Stdout: ** Warning ** : please recreate these using efibootmgr to remove this warning.
          BootCurrent: 000A
          Timeout: 1 seconds
          BootOrder: 000A,000B,0008
          Boot0008* TOSHIBA MQ01ABD100?BBS(HD,,0x0)AMBO
          Boot0008_BbsIndex
  Stderr: ** Warning ** : Boot000b is not UEFI Spec compliant (lowercase hex in name)
          ** Warning ** : Bootffff is not UEFI Spec compliant (lowercase hex in name)
          Could not parse device path: No such file or directory

  
  This is a clean installation.

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



More information about the foundations-bugs mailing list