Guest User

Grub build failure

a guest
Feb 5th, 2021
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. snapcraft --debug
  2. Launching a VM.
  3. 2021-02-05T16:33:44+01:00 INFO Waiting for automatic snapd restart...
  4. snapd 2.48.2 from Canonical✓ refreshed
  5. snap "core20" has no updates available
  6. 2021-02-05T16:34:04+01:00 INFO Waiting for automatic snapd restart...
  7. snapd (edge) 2.49~rc1+git1126.gb1999b1 from Canonical✓ refreshed
  8. Skipping pull grub-prepare (already ran)
  9. Skipping pull grub (already ran)
  10. Skipping build grub-prepare (already ran)
  11. Building grub
  12. + make -j2
  13. dd if=/root/stage/usr/lib/grub/i386-pc/boot.img of=pc-boot.img bs=440 count=1
  14. 1+0 records in
  15. 1+0 records out
  16. 440 bytes copied, 0.000170791 s, 2.6 MB/s
  17. /bin/echo -n -e '\x90\x90' | dd of=pc-boot.img seek=102 bs=1 conv=notrunc
  18. 2+0 records in
  19. 2+0 records out
  20. 2 bytes copied, 6.8585e-05 s, 29.2 kB/s
  21. grub-mkimage -d /root/stage/usr/lib/grub/i386-pc/ -O i386-pc -o pc-core.img -p '(,gpt2)/EFI/ubuntu' all_video biosdisk boot cat chain configfile echo ext2 fat font gettext gfxmenu gfxterm gfxterm_background gzio halt jpeg keystatus loadenv loopback linux memdisk minicmd normal part_gpt png reboot regexp search search_fs_uuid search_fs_file search_label sleep squash4 test true video
  22. # The first sector of the core image requires an absolute pointer to the
  23. # second sector of the image. Since this is always hard-coded, it means our
  24. # BIOS boot partition must be defined with an absolute offset. The
  25. # particular value here is 2049, or 0x01 0x08 0x00 0x00 in little-endian.
  26. /bin/echo -n -e '\x01\x08\x00\x00' | dd of=pc-core.img seek=500 bs=1 conv=notrunc
  27. 4+0 records in
  28. 4+0 records out
  29. 4 bytes copied, 0.000180276 s, 22.2 kB/s
  30. cp /root/stage/usr/lib/shim/shimx64.efi.dualsigned shim.efi.signed
  31. cp: cannot stat '/root/stage/usr/lib/shim/shimx64.efi.dualsigned': No such file or directory
  32. make: *** [Makefile:67: all] Error 1
  33. Failed to build 'grub'.
  35. Recommended resolution:
  36. Check the build logs and ensure the part's configuration and sources are correct.
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add to your ad blocker whitelist or disable your adblocking software.