[Bug 1812317] Re: grub is prevented from booting on UEFI Arm64 Laptops - requires 4k aligned headers
Ubuntu 18.10 (Cosmic Cuttlefish) has reached end of life, so this bug will not be fixed for that specific release. ** Changed in: grub2 (Ubuntu Cosmic) Status: Triaged => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1812317 Title: grub is prevented from booting on UEFI Arm64 Laptops - requires 4k aligned headers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1812317/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1812317] Re: grub is prevented from booting on UEFI Arm64 Laptops - requires 4k aligned headers
This bug was fixed in the package grub2 - 2.02+dfsg1-12ubuntu1 --- grub2 (2.02+dfsg1-12ubuntu1) disco; urgency=medium * Merge against Debian unstable; remaining changes (LP: #564853): - debian/control: Update Vcs fields for code location on Ubuntu. - debian/control: Breaks shim (<< 13). - Secure Boot support: use newer patchset from rhboot repo: - many linuxefi_* patches added and modified - dropped debian/patches/linuxefi_require_shim.patch - renamed: debian/patches/no_insmod_on_sb.patch -> debian/patches/linuxefi_no_insmod_on_sb.patch - debian/patches/install_signed.patch, grub-install-extra-removable.patch: - Make sure if we install shim; it should also be exported as the default bootloader to install later to a removable path, if we do. - Rework grub-install-extra-removable.patch to reverse its logic: in the default case, install the bootloader to /EFI/BOOT, unless we're trying to install on a removable device, or explicitly telling grub *not* to do it. - Install a BOOT.CSV for fallback to use. - Make sure postinst and templates know about the replacement of --force-extra-removable with --no-extra-removable. - debian/patches/add-an-auto-nvram-option-to-grub-install.patch: Add the --auto-nvram option to grub-install for auto-detecting NVRAM availability before attempting NVRAM updates. - debian/build-efi-images: provide a new grub EFI image which enforces that loaded kernels are signed for Secure Boot: build gsb$arch.efi; which is the same as grub$arch.efi minus the 'linux' module. Without fallback to 'linux' for unsigned loading, this makes it effectively enforce having a signed kernel. - Verify that the current and newer kernels are signed when grub is updated, to make sure people do not accidentally shutdown without a signed kernel. - debian/default/grub: replace GRUB_HIDDEN_* variables with the less confusing GRUB_TIMEOUT_STYLE=hidden. - debian/patches/support_initrd-less_boot.patch: Added knobs to allow non-initrd boot config. - Disable os-prober for ppc64el on the PowerNV platform, to reduce the number of entries/clutter from other OSes in Petitboot - debian/patches/shorter_version_info.patch: Only show the upstream version in menu and console, and hide the package one in a package_version variable. - debian/patches/skip_text_gfxpayload_where_not_supported.patch: Skip the 'text' payload if it's not supported but present in gfxpayload, such as on EFI systems. - debian/patches/bufio_sensible_block_sizes.patch: Don't use arbitrary file fizes as block sizes in bufio: this avoids potentially seeking back in the files unnecessarily, which may require re-open files that cannot be seeked into, such as via TFTP. - debian/patches/ofnet-init-structs-in-bootpath-parser.patch: initialize structs in bootpath parser. - debian/rules: shuffle files around for now to keep build artefacts for signing at the same location as they were expected by Launchpad. - debian/rules, debian/control: enable dh-systemd. - debian/grub-common.install.in: install the systemd unit that's part of initrd fallback handling, missed when the feature landed. - debian/patches/quick-boot-lvm.patch: If we don't have writable grubenv and we're on EFI, always show the menu. - debian/patches/mkconfig_leave_breadcrumbs.patch: make sure grub-mkconfig leaves a trace of what files were sourced to help generate the config we're building. - debian/patches/linuxefi_truncate_overlong_reloc_section.patch: Windows 7 bootloader has inconsistent headers; truncate to the smaller, correct size to fix chainloading Windows 7. - debian/patches/linuxefi_fix_relocate_coff.patch: fix typo in relocate_coff() causing issues with relocation of code in chainload. - debian/patches/add-initrd-less-boot-fallback.patch: add initrd-less capabilities. If a kernel fails to boot without initrd, we will fallback to trying to boot the kernel with an initrd. Patch by Chris Glass. - debian/patches/grub-reboot-warn.patch: Warn when "for the next boot only" promise cannot be kept. * Refreshed patches and fixed up attribution to the right authors after merge with Debian. * debian/patches/linuxefi_missing_include.patch, debian/patches/linuxefi_fixing_more_errors.patch: Apply some additional small fixes to casts, format strings, includes and Makefile to make sure the newer linuxefi patches apply and build properly. grub2 (2.02+dfsg1-12) unstable; urgency=medium [ Colin Watson ] * Remove code to migrate grub-pc/install_devices to persistent device names under /dev/disk/by-id/. This migration happened in 1.98+20100702-1, which was in squeeze (four stable releases ago), so we no
[Bug 1812317] Re: grub is prevented from booting on UEFI Arm64 Laptops - requires 4k aligned headers
** Changed in: grub2 (Debian) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1812317 Title: grub is prevented from booting on UEFI Arm64 Laptops - requires 4k aligned headers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1812317/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1812317] Re: grub is prevented from booting on UEFI Arm64 Laptops - requires 4k aligned headers
** Tags added: ubuntu-on-arm -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1812317 Title: grub is prevented from booting on UEFI Arm64 Laptops - requires 4k aligned headers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1812317/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1812317] Re: grub is prevented from booting on UEFI Arm64 Laptops - requires 4k aligned headers
** Changed in: grub2 (Debian) Status: Unknown => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1812317 Title: grub is prevented from booting on UEFI Arm64 Laptops - requires 4k aligned headers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1812317/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1812317] Re: grub is prevented from booting on UEFI Arm64 Laptops - requires 4k aligned headers
** Bug watch added: Debian Bug tracker #919012 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919012 ** Also affects: grub2 (Debian) via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919012 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1812317 Title: grub is prevented from booting on UEFI Arm64 Laptops - requires 4k aligned headers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1812317/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1812317] Re: grub is prevented from booting on UEFI Arm64 Laptops - requires 4k aligned headers
** Changed in: grub2 (Ubuntu Disco) Assignee: (unassigned) => dann frazier (dannf) ** Changed in: grub2 (Ubuntu Bionic) Assignee: (unassigned) => dann frazier (dannf) ** Changed in: grub2 (Ubuntu Cosmic) Assignee: (unassigned) => dann frazier (dannf) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1812317 Title: grub is prevented from booting on UEFI Arm64 Laptops - requires 4k aligned headers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1812317/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1812317] Re: grub is prevented from booting on UEFI Arm64 Laptops - requires 4k aligned headers
On Fri, Feb 1, 2019 at 7:40 PM mahmoh <1812...@bugs.launchpad.net> wrote: > > @dannf it appears the patches have may now have been finally approved?: > > https://www.mail-archive.com/grub-devel@gnu.org/msg28322.html Yep! Though, I'm going to wait until they are actually merged. It is too late to make 18.04.2, and we still have a lot of time before 18.04.3 and 19.04. > The tester reports that the stock Debian Buster installer works out of > the box on this device?! If so, it would be nice if Ubuntu could just > pick up the patch set that makes the kernel just work. Kernel support is a different question - if you know what patches are required for that, please open a bug against the kernel w/ that info. -dann -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1812317 Title: grub is prevented from booting on UEFI Arm64 Laptops - requires 4k aligned headers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1812317/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1812317] Re: grub is prevented from booting on UEFI Arm64 Laptops - requires 4k aligned headers
@dannf it appears the patches have may now have been finally approved?: https://www.mail-archive.com/grub-devel@gnu.org/msg28322.html The tester reports that the stock Debian Buster installer works out of the box on this device?! If so, it would be nice if Ubuntu could just pick up the patch set that makes the kernel just work. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1812317 Title: grub is prevented from booting on UEFI Arm64 Laptops - requires 4k aligned headers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1812317/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1812317] Re: grub is prevented from booting on UEFI Arm64 Laptops - requires 4k aligned headers
@dannf it's the first of two I believe. This will allow any kernel to boot but then we hit other problems booting stock kernels. The -snapdrogon kernel is for 410E vs. 835/850. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1812317 Title: grub is prevented from booting on UEFI Arm64 Laptops - requires 4k aligned headers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1812317/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1812317] Re: grub is prevented from booting on UEFI Arm64 Laptops - requires 4k aligned headers
@mahmoh - do you know if GRUB is the only blocker here? That is, does an Ubuntu kernel otherwise support any of these platforms? Ubuntu does provide a -snapdragon kernel but, AFAIK, that is only installable via Ubuntu Core for the DragonBoard 410c. The Ubuntu (Server) installer uses the -generic kernel. Is there enough support in the -generic kernel to make Ubuntu usable on the Envy x2? I'm certainly not opposed to adding this support to GRUB either way - I'm just curious if doing so will unblock you or just get you to the next step. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1812317 Title: grub is prevented from booting on UEFI Arm64 Laptops - requires 4k aligned headers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1812317/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1812317] Re: grub is prevented from booting on UEFI Arm64 Laptops - requires 4k aligned headers
** Description changed: - This will end up as an SRU request to patch grub with 4k aligned headers - to allow amr64 UEFI laptops to boot. + [Impact] + Ubuntu is not bootable on various arm64 laptops (HP Envy x2, Asus NovaGo, Lenovo Miix 630 and maybe the Lenovo Yoga C630) because GRUB fails to boot. - See https://www.mail-archive.com/grub-devel@gnu.org/msg28224.html and - related patch set (hopefully all approved when this bug is reviewed). + [Test Case] + Install and boot Ubuntu on one of the above arm64 laptops. - Without these changes booting grub on the Arm64 Snapdragon 835 laptop - platforms fail. If this can make it into 19.04 and the next 18.04.X that - would be most appreciated. Impacts the HP Envy x2, Asus NovaGo, Lenovo - Miix 630 and maybe the Lenovo Yoga C630 64-bit Armv8-A laptops. + [Fix] + (pending upstream) + + [Regression Risk] ** Description changed: [Impact] - Ubuntu is not bootable on various arm64 laptops (HP Envy x2, Asus NovaGo, Lenovo Miix 630 and maybe the Lenovo Yoga C630) because GRUB fails to boot. + Ubuntu is not bootable on various arm64 laptops (HP Envy x2, Asus NovaGo, Lenovo Miix 630 and maybe the Lenovo Yoga C630) because GRUB fails to boot. The reason is that their firmware tries to ensure NX protection flags which it can only do when the code is 4K aligned. [Test Case] Install and boot Ubuntu on one of the above arm64 laptops. [Fix] (pending upstream) [Regression Risk] -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1812317 Title: grub is prevented from booting on UEFI Arm64 Laptops - requires 4k aligned headers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1812317/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1812317] Re: grub is prevented from booting on UEFI Arm64 Laptops - requires 4k aligned headers
** Also affects: grub2 (Ubuntu Disco) Importance: Undecided Status: Confirmed ** Also affects: grub2 (Ubuntu Cosmic) Importance: Undecided Status: New ** Also affects: grub2 (Ubuntu Bionic) Importance: Undecided Status: New ** Changed in: grub2 (Ubuntu Cosmic) Status: New => Triaged ** Changed in: grub2 (Ubuntu Bionic) Status: New => Triaged ** Changed in: grub2 (Ubuntu Disco) Status: Confirmed => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1812317 Title: grub is prevented from booting on UEFI Arm64 Laptops - requires 4k aligned headers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1812317/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1812317] Re: grub is prevented from booting on UEFI Arm64 Laptops - requires 4k aligned headers
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: grub2 (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1812317 Title: grub is prevented from booting on UEFI Arm64 Laptops - requires 4k aligned headers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1812317/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs